joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x508428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push 0x55cdf0
lea ecx, [esp + 0xc]
call fcn.004dd1c2
mov eax, dword [0x55cde8]
mov ecx, dword [0x55cdf4]
push eax
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.004d3a94
add esi, 0x24
mov ecx, esi
call fcn.004dd3d8
lea ecx, [esp + 0x10]
call fcn.004de4bb
mov edx, dword [esp + 8]
push 0
push 0
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.004de66d
test eax, eax
jne 0x4049a3
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], al
call fcn.004de5b0
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004dd44d
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
push ebp
push 0x12d
call fcn.004dda96
add esp, 4
mov ebp, eax
lea ecx, [esp + 0x14]
push 0x12c
push ebp
call fcn.004de78a
test eax, eax
jle 0x404acd
push edi
push ebp
lea ecx, [esp + 0x10]
mov byte [eax + ebp], 0
call fcn.004dd4bb
mov eax, dword [0x55cdec]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x34], 2
call fcn.004d3e42
mov edi, eax
test edi, edi
jl 0x404abe
push edi
push 0x55266c
lea ecx, [esp + 0x14]
call fcn.004d3e50
cmp eax, edi
jle 0x404a41
mov ecx, dword [0x55cdec]
lea edx, [esp + 0x14]
mov ecx, dword [ecx - 8]
sub eax, ecx
add ecx, edi
sub eax, edi
push eax
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.004d3c6b
push eax
mov ecx, esi
mov byte [esp + 0x34], 3
call fcn.004dd586
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x14]
jmp 0x404a70
mov eax, dword [0x55cdec]
lea ecx, [esp + 0x14]
mov eax, dword [eax - 8]
add eax, edi
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.004d3c48
push eax
mov ecx, esi
mov byte [esp + 0x34], 4
call fcn.004dd586
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x14]
call fcn.004dd44d
push str.__r_n_t_
mov ecx, esi
call fcn.004d4224
push str.__r_n_t_
mov ecx, esi
call fcn.004d4305
mov ecx, esi
call fcn.004dd993
push 0x2c
push 0x2b
mov ecx, esi
call fcn.004d3a57
push 0x2c
push 0x3b
mov ecx, esi
call fcn.004d3a57
push 0x2c
push 0x2d
mov ecx, esi
call fcn.004d3a57
push 0x20
mov ecx, esi
call fcn.004d3bf7
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.004dd44d
pop edi
push ebp
call fcn.004ddabf
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.004de5b0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004dd44d
mov ecx, dword [esp + 0x24]
pop ebp
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x405000
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5084c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
add ecx, 0x10
push str.Register
lea eax, [esp + 0xc]
xor esi, esi
push ecx
push eax
mov dword [esp + 0x10], esi
call fcn.004dd6e2
mov edx, dword [esp + 8]
lea ecx, [esp + 4]
push ecx
push 0x20019
push esi
push edx
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x405078
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004dd44d
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push edi
push 0x400
call fcn.004dda96
mov edx, dword [esp + 0xc]
add esp, 4
mov edi, eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push edi
push ecx
push esi
push str.REGISTERED
push edx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4050cb
push 0x552708
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.004ddabf
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004dd44d
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x405200
Capabilities:
Create thread
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 4
mov ecx, dword [ebp + 8]
push ecx
push 0x405110
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40523a
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0xfffffffffffffffe
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 8], eax
mov esp, ebp
pop ebp
ret 4

Function at 0x407790
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4083d0
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
test ecx, 0x20000
je 0x4083e3
mov eax, 1
test ch, 4
je 0x4083ea
or al, 2
test ecx, 0x200000
je 0x4083f4
or al, 4
test cl, 8
je 0x4083fb
or al, 8
test ecx, 0x80000000
je 0x408405
or al, 0x10
test ch, 0x80
je 0x40840c
or al, 0x20
test ecx, 0x800000
je 0x408416
or al, 0x40
test cl, 2
je 0x40841d
or al, 0x80
test ecx, 0x8000000
je 0x408428
or ah, 1
test ch, 0x40
je 0x408430
or ah, 2
test ecx, 0x2000000
je 0x40843b
or ah, 4
test ecx, 0x40000000
je 0x408446
or ah, 8
test cl, 0x80
je 0x40844e
or ah, 0x10
test ch, 2
je 0x408456
or ah, 0x20
test ch, 0x10
je 0x40845e
or ah, 0x40
test ecx, 0x80000
je 0x408469
or ah, 0x80
test ch, 1
je 0x408473
or eax, 0x10000
test cl, 0x10
je 0x40847d
or eax, 0x20000
test ecx, 0x400000
je 0x40848a
or eax, 0x40000
test ecx, 0x10000
je 0x408497
or eax, 0x80000
test ecx, 0x10000000
je 0x4084a4
or eax, 0x100000
test cl, 0x20
je 0x4084ae
or eax, 0x200000
test ecx, 0x4000000
je 0x4084bb
or eax, 0x400000
test ch, 8
je 0x4084c5
or eax, 0x800000
test cl, 1
je 0x4084cf
or eax, 0x1000000
test ecx, 0x1000000
je 0x4084dc
or eax, 0x2000000
test ecx, 0x100000
je 0x4084e9
or eax, 0x4000000
test ecx, 0x40000
je 0x4084f6
or eax, 0x8000000
test ecx, 0x20000000
je 0x408503
or eax, 0x10000000
test cl, 4
je 0x40850d
or eax, 0x20000000
test cl, 0x40
je 0x408517
or eax, 0x40000000
test ch, 0x20
je 0x408521
or eax, 0x80000000
ret

Function at 0x408530
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
test cl, 1
je 0x408540
mov eax, 0x20000
test cl, 2
je 0x408548
or ah, 4
test cl, 4
je 0x408552
or eax, 0x200000
test cl, 8
je 0x408559
or al, 8
test cl, 0x10
je 0x408563
or eax, 0x80000000
test cl, 0x20
je 0x40856b
or ah, 0x80
test cl, 0x40
je 0x408575
or eax, 0x800000
test cl, 0x80
je 0x40857c
or al, 2
test ch, 1
je 0x408586
or eax, 0x8000000
test ch, 2
je 0x40858e
or ah, 0x40
test ch, 4
je 0x408598
or eax, 0x2000000
test ch, 8
je 0x4085a2
or eax, 0x40000000
test ch, 0x10
je 0x4085a9
or al, 0x80
test ch, 0x20
je 0x4085b1
or ah, 2
test ch, 0x40
je 0x4085b9
or ah, 0x10
test ch, 0x80
je 0x4085c3
or eax, 0x80000
test ecx, 0x10000
je 0x4085ce
or ah, 1
test ecx, 0x20000
je 0x4085d8
or al, 0x10
test ecx, 0x40000
je 0x4085e5
or eax, 0x400000
test ecx, 0x80000
je 0x4085f2
or eax, 0x10000
test ecx, 0x100000
je 0x4085ff
or eax, 0x10000000
test ecx, 0x200000
je 0x408609
or al, 0x20
test ecx, 0x400000
je 0x408616
or eax, 0x4000000
test ecx, 0x800000
je 0x408621
or ah, 8
test ecx, 0x1000000
je 0x40862b
or al, 1
test ecx, 0x2000000
je 0x408638
or eax, 0x1000000
test ecx, 0x4000000
je 0x408645
or eax, 0x100000
test ecx, 0x8000000
je 0x408652
or eax, 0x40000
test ecx, 0x10000000
je 0x40865f
or eax, 0x20000000
test ecx, 0x20000000
je 0x408669
or al, 4
test ecx, 0x40000000
je 0x408673
or al, 0x40
test ecx, 0x80000000
je 0x40867e
or ah, 0x20
ret
Function at 0x408da0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5088e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x14], eax
call fcn.004f80f4
mov ebx, dword [eax + 0xc]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x408dfd
call fcn.004f80f4
mov ecx, dword [esi + 0x40]
mov ebx, dword [eax + 0xc]
push 5
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x408e0b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x408e26
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.004d949c
mov edi, eax
mov dword [ebp - 0x20], edi
call fcn.004da332
test edi, edi
mov dword [ebp - 0x1c], 0
je 0x408e5d
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x408e5d
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x2c]
call fcn.004ddb47
mov dword [ebp - 4], 0
push esi
mov byte [ebp - 4], 1
call fcn.004da2e6
push edi
call fcn.004d9e34
mov edx, dword [ebp - 0x14]
push ebx
push eax
push edx
mov ecx, esi
call fcn.004d9234
test eax, eax
je 0x408eee
test byte [esi + 0x24], 0x10
je 0x408eae
mov ecx, esi
xor ebx, ebx
call fcn.004dcea5
test ah, 1
je 0x408ea6
mov ebx, 1
push ebx
mov ecx, esi
call fcn.004dc778
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x408eee
push 0x97
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.004dd016
jmp 0x408eee
mov dword [ebp - 4], 0xffffffff
call fcn.004ddb85
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408f0a
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
test edi, edi
je 0x408f20
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x408f20
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x58]
mov ecx, esi
call fcn.004d94d6
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x508d37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.0040ad70
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call fcn.0040aa10
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x34]
push eax
mov edx, dword [ecx]
lea ecx, [esp + 0x14]
mov eax, dword [esi]
push edx
push eax
mov byte [esp + 0x34], 2
call fcn.0040aa70
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x30]
lea edx, [esp + 8]
mov dword [esp + 0xc], ecx
push edx
mov ecx, esi
call fcn.0040adb0
mov dword [esp + 4], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0040a420
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0040ae20
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x40b520
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x508e47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
mov dword [esp + 0x14], esi
call fcn.0040ad70
lea ebp, [esi + 8]
push 0
mov ecx, ebp
mov dword [esp + 0x30], 0
call fcn.0040ad70
lea edi, [esi + 0x10]
push 0
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.0040ad70
lea ebx, [esi + 0x18]
push 0
mov ecx, ebx
mov byte [esp + 0x30], 2
call fcn.0040ad70
push 0
lea ecx, [esi + 0x20]
mov byte [esp + 0x30], 3
call fcn.0040ad70
push 0
lea ecx, [esi + 0x28]
mov byte [esp + 0x30], 4
call fcn.0040ad70
mov eax, dword [esp + 0x34]
mov ecx, edi
push eax
mov byte [esp + 0x30], 5
call fcn.0040add0
push 1
lea ecx, [esp + 0x18]
mov dword [esi + 0x30], 0
call fcn.0040ad70
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 6
push ecx
mov ecx, esi
call fcn.0040add0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 5
call fcn.0040ae20
mov edx, dword [esp + 0x34]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0040adb0
mov ecx, esi
call fcn.0040ac90
test eax, eax
jge 0x40b60a
push esi
mov ecx, esi
call fcn.0040ae50
inc dword [esi + 0x30]
jmp 0x40b5df
push edi
lea eax, [esp + 0x20]
push esi
push eax
call fcn.0040afc0
push edi
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x44], 7
call fcn.0040b250
add esp, 0x18
push eax
mov ecx, ebp
mov byte [esp + 0x30], 8
call fcn.0040add0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 7
call fcn.0040ae20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 5
call fcn.0040ae20
push esi
lea edx, [esp + 0x18]
push edi
push edx
call fcn.0040b250
push eax
lea eax, [esp + 0x2c]
push esi
push eax
mov byte [esp + 0x44], 9
call fcn.0040afc0
add esp, 0x18
push eax
mov ecx, ebx
mov byte [esp + 0x30], 0xa
call fcn.0040add0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 9
call fcn.0040ae20
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 5
call fcn.0040ae20
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4

Function at 0x40b8a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x508ef7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [esp + 0x54]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.0040b520
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
push ecx
push edx
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 1
call fcn.0040b770
mov dword [esp + 4], 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 6
call fcn.0040ae20
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 5
call fcn.0040ae20
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 4
call fcn.0040ae20
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 3
call fcn.0040ae20
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 2
call fcn.0040ae20
lea ecx, [esp + 8]
mov byte [esp + 0x44], 0
call fcn.0040ae20
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret
Function at 0x40f2c0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5093d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ebx, eax
push 0xff
and eax, 0xff
push 0
push eax
call fcn.0040f100
xor ecx, ecx
push 0xff
mov cl, bh
push 0
and ecx, 0xff
mov byte [esp + 0x26], al
push ecx
call fcn.0040f100
mov edx, ebx
push 0xff
shr edx, 0x10
and edx, 0xff
push 0
push edx
mov byte [esp + 0x35], al
call fcn.0040f100
add esp, 0x24
mov byte [esp + 0x10], al
mov eax, dword [edi + 0x1c]
mov byte [esp + 0x13], 0
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004e0814
push ebx
push 1
mov esi, eax
push 1
push 0
push 0
mov ecx, esi
call fcn.004efa20
lea ecx, [esp + 0x18]
call fcn.004e0772
test esi, esi
mov dword [esp + 0x30], 0
jne 0x40f378
xor eax, eax
jmp 0x40f37b
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x1c]
call fcn.004e0829
lea eax, [edi + 0x94]
test eax, eax
mov dword [esp + 0x14], eax
je 0x40f39d
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.004e096a
test esi, esi
mov ebp, eax
jne 0x40f3b2
xor eax, eax
jmp 0x40f3b5
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push 0
push 0
push eax
push 1
push 1
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
test ebp, ebp
mov ebx, eax
jne 0x40f3dc
xor eax, eax
jmp 0x40f3df
mov eax, dword [ebp + 4]
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.004e096a
mov ecx, dword [esi + 4]
mov edx, dword [edi + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
test ebx, ebx
je 0x40f425
mov eax, dword [esi + 4]
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, 0xffffffff
je 0x40f425
mov esi, dword [esp + 0x14]
push 0
push 0
mov ecx, esi
call fcn.0048d740
mov ecx, dword [eax]
push ecx
mov ecx, esi
jmp 0x40f42e
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
call fcn.0048da20
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.004e08a7
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x40f4a0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x40f4ea
mov esi, dword [esp + 0xc]
push 8
push esi
call fcn.0040f570
add esp, 8
cmp edi, 8
jle 0x40f4ea
add esi, 8
dec edi
shr edi, 3
xor eax, eax
mov cl, byte [esi + eax - 8]
mov dl, byte [esi + eax]
xor dl, cl
mov byte [esi + eax], dl
inc eax
cmp eax, 8
jl 0x40f4c7
push 8
push esi
call fcn.0040f570
add esp, 8
add esi, 8
dec edi
jne 0x40f4c5
pop edi
pop esi
ret
Function at 0x40f4f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 4], bl
mov byte [esp + 5], bl
mov byte [esp + 6], bl
mov byte [esp + 7], bl
mov byte [esp + 8], bl
mov byte [esp + 9], bl
mov byte [esp + 0xa], bl
mov byte [esp + 0xb], bl
je 0x40f56a
jle 0x40f56a
push esi
mov esi, dword [esp + 0x1c]
push edi
lea edi, [eax + 7]
shr edi, 3
mov eax, esi
push 8
push esi
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
call fcn.0040f5a0
add esp, 8
xor eax, eax
mov cl, byte [esp + eax + 0xc]
mov dl, byte [esi + eax]
xor dl, cl
mov byte [esi + eax], dl
mov dl, byte [esp + eax + 0x14]
mov byte [esp + eax + 0xc], dl
inc eax
cmp eax, 8
jl 0x40f548
add esi, 8
dec edi
jne 0x40f52c
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x40ff30
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push ebx
push ebp
push esi
push edi
mov ecx, 0x12
mov esi, 0x552bdc
mov edi, 0x55de6c
mov ebp, dword [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x400
mov esi, 0x552c24
mov edi, 0x55ce6c
xor edx, edx
rep movsd dword es:[edi], dword [esi]
movsx edi, word [esp + 0x18]
mov ecx, 0x55de6c
mov dword [esp + 0x18], 0x12
movsx esi, dx
xor ebx, ebx
add ecx, 4
lea eax, [esi + 1]
cdq
idiv edi
lea eax, [esi + 2]
mov bl, byte [edx + ebp]
cdq
idiv edi
mov bh, byte [esi + ebp]
xor eax, eax
shl ebx, 8
mov al, byte [edx + ebp]
or ebx, eax
lea eax, [esi + 3]
cdq
idiv edi
xor eax, eax
shl ebx, 8
mov al, byte [edx + ebp]
or ebx, eax
mov eax, dword [ecx - 4]
xor eax, ebx
mov dword [ecx - 4], eax
lea eax, [esi + 4]
cdq
idiv edi
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x40ff6e
xor eax, eax
mov esi, 0x55de70
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov edi, 9
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.0040f5d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esi - 4], eax
mov dword [esi], ecx
add esp, 8
add esi, 8
dec edi
jne 0x40ffcf
mov esi, 0x55ce70
mov ebx, 4
mov edi, 0x80
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0040f5d0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esi - 4], ecx
mov dword [esi], edx
add esp, 8
add esi, 8
dec edi
jne 0x410003
dec ebx
jne 0x40fffe
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
Function at 0x411fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x509783
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CMenu.0
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.004d7275
mov dword [ebx], method.CPtrArray.virtual_0
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.004d7275
or eax, 0xffffffff
mov dword [ebx], method.CPtrArray.virtual_0
push 4
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 0x40], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x44], 0x10
mov dword [esi + 0x48], 0xf
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x55dee0
push edi
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4232f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50b948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x3c]
push ebx
push esi
push edi
mov edi, ecx
push 0x1001
push eax
lea ecx, [esp + 0x30]
call fcn.004de510
mov ecx, dword [edi + 0xfc]
xor esi, esi
push esi
push esi
push 0x1004
push ecx
mov dword [esp + 0x50], esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x5580c0]
mov ebx, eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x14]
push 0xe8ef
push eax
mov byte [esp + 0x48], 1
call fcn.0042e2e0
add esp, 8
push eax
lea ecx, [esp + 0x14]
push str._html__body__r_n_title_
push ecx
mov byte [esp + 0x4c], 2
call fcn.004dd756
push str.___title__r_n
lea edx, [esp + 0x10]
push eax
push edx
mov byte [esp + 0x4c], 3
call fcn.004dd6e2
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 4
call fcn.004dd586
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 3
call fcn.004dd44d
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.004dd44d
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 1
call fcn.004dd44d
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de7c4
cmp ebx, esi
jle 0x4234df
add edi, 0xe0
push ebp
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x18]
push esi
call fcn.004d5d12
mov edi, eax
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.00423540
mov ebp, eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 5
push ecx
mov ecx, edi
call fcn.00423540
push eax
lea edx, [esp + 0x24]
push str._a_href_
push edx
mov byte [esp + 0x50], 6
call fcn.004dd756
push 0x5540bc
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x4c], 7
push eax
call fcn.004dd6e2
push ebp
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x50], 8
call fcn.004dd67c
push str.___a__br__r_n
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x50], 9
call fcn.004dd6e2
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 0xa
call fcn.004dd586
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 9
call fcn.004dd44d
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 8
call fcn.004dd44d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 7
call fcn.004dd44d
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 6
call fcn.004dd44d
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 5
call fcn.004dd44d
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 1
call fcn.004dd44d
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.004de7c4
inc esi
cmp esi, ebx
jl 0x4233e5
pop ebp
push str.__body___html_
lea ecx, [esp + 0x4c]
call fcn.004dd5d6
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de7c4
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 0
call fcn.004dd44d
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
call fcn.004de5b0
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4