joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403900
Capabilities:
Get session user name

Disassembly:
sub esp, 0x404
push esi
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x10], 0x100
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x40396b
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0x414]
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x410]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x403992
mov ecx, dword [esp + 8]
pop edi
mov dword [eax], ecx
mov eax, 1
pop esi
add esp, 0x404
ret 8
mov edi, str.Unknown_User
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x410]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, 1
pop esi
add esp, 0x404
ret 8

Function at 0x4039b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push edi
push eax
push 0x20019
push 0
push str..DEFAULTSoftwareGlobalSCAPE_Inc.CuteFTP_5.0Gl
push reloc.WSOCK32.dll_closesocket
mov dword [esp + 0x20], 0x12c
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4039e7
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push eax
push 0
push 0x552588
push ecx
call edi
mov esi, eax
test esi, esi
je 0x403a25
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret 0xc
cmp dword [esp + 0xc], 0x14
jbe 0x403a36
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x403a44
mov dword [eax], 0x12c
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jmp 0x403a63
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
test esi, esi
sete al
pop esi
add esp, 0xc
ret 0xc

Function at 0x4040e0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0xc
call fcn.004dd79a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
push 0
push 0x403d70
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
call fcn.004c2655
add esp, 0x10
pop esi
ret 8
Function at 0x404900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x508128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push 0x55ced0
lea ecx, [esp + 0xc]
call fcn.004dcec6
mov eax, dword [0x55cec8]
mov ecx, dword [0x55ced4]
push eax
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.004d3798
add esi, 0x24
mov ecx, esi
call fcn.004dd0dc
lea ecx, [esp + 0x10]
call fcn.004de1bf
mov edx, dword [esp + 8]
push 0
push 0
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.004de371
test eax, eax
jne 0x4049a3
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], al
call fcn.004de2b4
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004dd151
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
push ebp
push 0x12d
call fcn.004dd79a
add esp, 4
mov ebp, eax
lea ecx, [esp + 0x14]
push 0x12c
push ebp
call fcn.004de48e
test eax, eax
jle 0x404acd
push edi
push ebp
lea ecx, [esp + 0x10]
mov byte [eax + ebp], 0
call fcn.004dd1bf
mov eax, dword [0x55cecc]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x34], 2
call fcn.004d3b46
mov edi, eax
test edi, edi
jl 0x404abe
push edi
push 0x55266c
lea ecx, [esp + 0x14]
call fcn.004d3b54
cmp eax, edi
jle 0x404a41
mov ecx, dword [0x55cecc]
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.004d396f
push eax
mov ecx, esi
mov byte [esp + 0x34], 3
call fcn.004dd28a
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x14]
jmp 0x404a70
mov eax, dword [0x55cecc]
lea ecx, [esp + 0x14]
mov eax, dword [eax - 8]
add eax, edi
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.004d394c
push eax
mov ecx, esi
mov byte [esp + 0x34], 4
call fcn.004dd28a
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x14]
call fcn.004dd151
push str.__r_n_t_
mov ecx, esi
call fcn.004d3f28
push str.__r_n_t_
mov ecx, esi
call fcn.004d4009
mov ecx, esi
call fcn.004dd697
push 0x2c
push 0x2b
mov ecx, esi
call fcn.004d375b
push 0x2c
push 0x3b
mov ecx, esi
call fcn.004d375b
push 0x2c
push 0x2d
mov ecx, esi
call fcn.004d375b
push 0x20
mov ecx, esi
call fcn.004d38fb
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.004dd151
pop edi
push ebp
call fcn.004dd7c3
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.004de2b4
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004dd151
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 0x5081c8
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.004dd3e6
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.004dd151
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.004dd79a
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.004dd7c3
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004dd151
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 0x407780
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 0x408db0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5085e8
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.004f7df8
mov ebx, dword [eax + 0xc]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x408e0d
call fcn.004f7df8
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 0x408e1b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x408e36
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.004d91a0
mov edi, eax
mov dword [ebp - 0x20], edi
call fcn.004da036
test edi, edi
mov dword [ebp - 0x1c], 0
je 0x408e6d
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x408e6d
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x2c]
call fcn.004dd84b
mov dword [ebp - 4], 0
push esi
mov byte [ebp - 4], 1
call fcn.004d9fea
push edi
call fcn.004d9b38
mov edx, dword [ebp - 0x14]
push ebx
push eax
push edx
mov ecx, esi
call fcn.004d8f38
test eax, eax
je 0x408efe
test byte [esi + 0x24], 0x10
je 0x408ebe
mov ecx, esi
xor ebx, ebx
call fcn.004dcba9
test ah, 1
je 0x408eb6
mov ebx, 1
push ebx
mov ecx, esi
call fcn.004dc47c
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x408efe
push 0x97
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.004dcd1a
jmp 0x408efe
mov dword [ebp - 4], 0xffffffff
call fcn.004dd889
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408f1a
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
test edi, edi
je 0x408f30
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x408f30
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.004d91da
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 0x40b1b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x508a37
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.0040ad80
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call fcn.0040aa20
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.0040aa80
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.0040adc0
mov dword [esp + 4], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0040a430
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0040ae30
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x40b530
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x508b47
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.0040ad80
lea ebp, [esi + 8]
push 0
mov ecx, ebp
mov dword [esp + 0x30], 0
call fcn.0040ad80
lea edi, [esi + 0x10]
push 0
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.0040ad80
lea ebx, [esi + 0x18]
push 0
mov ecx, ebx
mov byte [esp + 0x30], 2
call fcn.0040ad80
push 0
lea ecx, [esi + 0x20]
mov byte [esp + 0x30], 3
call fcn.0040ad80
push 0
lea ecx, [esi + 0x28]
mov byte [esp + 0x30], 4
call fcn.0040ad80
mov eax, dword [esp + 0x34]
mov ecx, edi
push eax
mov byte [esp + 0x30], 5
call fcn.0040ade0
push 1
lea ecx, [esp + 0x18]
mov dword [esi + 0x30], 0
call fcn.0040ad80
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 6
push ecx
mov ecx, esi
call fcn.0040ade0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 5
call fcn.0040ae30
mov edx, dword [esp + 0x34]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0040adc0
mov ecx, esi
call fcn.0040aca0
test eax, eax
jge 0x40b61a
push esi
mov ecx, esi
call fcn.0040ae60
inc dword [esi + 0x30]
jmp 0x40b5ef
push edi
lea eax, [esp + 0x20]
push esi
push eax
call fcn.0040afd0
push edi
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x44], 7
call fcn.0040b260
add esp, 0x18
push eax
mov ecx, ebp
mov byte [esp + 0x30], 8
call fcn.0040ade0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 7
call fcn.0040ae30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 5
call fcn.0040ae30
push esi
lea edx, [esp + 0x18]
push edi
push edx
call fcn.0040b260
push eax
lea eax, [esp + 0x2c]
push esi
push eax
mov byte [esp + 0x44], 9
call fcn.0040afd0
add esp, 0x18
push eax
mov ecx, ebx
mov byte [esp + 0x30], 0xa
call fcn.0040ade0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 9
call fcn.0040ae30
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 5
call fcn.0040ae30
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 0x40b8b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x508bf7
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.0040b530
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.0040b780
mov dword [esp + 4], 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 6
call fcn.0040ae30
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 5
call fcn.0040ae30
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 4
call fcn.0040ae30
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 3
call fcn.0040ae30
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 2
call fcn.0040ae30
lea ecx, [esp + 8]
mov byte [esp + 0x44], 0
call fcn.0040ae30
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret
Function at 0x40f300
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5090d8
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.0040f140
xor ecx, ecx
push 0xff
mov cl, bh
push 0
and ecx, 0xff
mov byte [esp + 0x26], al
push ecx
call fcn.0040f140
mov edx, ebx
push 0xff
shr edx, 0x10
and edx, 0xff
push 0
push edx
mov byte [esp + 0x35], al
call fcn.0040f140
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.004e0518
push ebx
push 1
mov esi, eax
push 1
push 0
push 0
mov ecx, esi
call fcn.004ef729
lea ecx, [esp + 0x18]
call fcn.004e0476
test esi, esi
mov dword [esp + 0x30], 0
jne 0x40f3b8
xor eax, eax
jmp 0x40f3bb
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x1c]
call fcn.004e052d
lea eax, [edi + 0x94]
test eax, eax
mov dword [esp + 0x14], eax
je 0x40f3dd
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.004e066e
test esi, esi
mov ebp, eax
jne 0x40f3f2
xor eax, eax
jmp 0x40f3f5
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 0x40f41c
xor eax, eax
jmp 0x40f41f
mov eax, dword [ebp + 4]
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.004e066e
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 0x40f465
mov eax, dword [esi + 4]
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, 0xffffffff
je 0x40f465
mov esi, dword [esp + 0x14]
push 0
push 0
mov ecx, esi
call fcn.0048d410
mov ecx, dword [eax]
push ecx
mov ecx, esi
jmp 0x40f46e
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
call fcn.0048d6f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.004e05ab
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x40f4e0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x40f52a
mov esi, dword [esp + 0xc]
push 8
push esi
call fcn.0040f5b0
add esp, 8
cmp edi, 8
jle 0x40f52a
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 0x40f507
push 8
push esi
call fcn.0040f5b0
add esp, 8
add esi, 8
dec edi
jne 0x40f505
pop edi
pop esi
ret
Function at 0x40f530
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 0x40f5aa
jle 0x40f5aa
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.0040f5e0
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 0x40f588
add esi, 8
dec edi
jne 0x40f56c
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x40ff70
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, 0x55df4c
mov ebp, dword [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x400
mov esi, 0x552c24
mov edi, 0x55cf4c
xor edx, edx
rep movsd dword es:[edi], dword [esi]
movsx edi, word [esp + 0x18]
mov ecx, 0x55df4c
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 0x40ffae
xor eax, eax
mov esi, 0x55df50
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.0040f610
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 0x41000f
mov esi, 0x55cf50
mov ebx, 4
mov edi, 0x80
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0040f610
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 0x410043
dec ebx
jne 0x41003e
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
Function at 0x412080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x509483
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.004d6f8f
mov dword [ebx], method.CPtrArray.virtual_0
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.004d6f8f
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 0x55dfc0
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 0x423070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50b608
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.004de214
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 [0x5581a0]
mov ebx, eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x14]
push 0xe8ef
push eax
mov byte [esp + 0x48], 1
call fcn.0042e0a0
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.004dd45a
push str.___title__r_n
lea edx, [esp + 0x10]
push eax
push edx
mov byte [esp + 0x4c], 3
call fcn.004dd3e6
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 4
call fcn.004dd28a
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 3
call fcn.004dd151
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.004dd151
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 1
call fcn.004dd151
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de4c8
cmp ebx, esi
jle 0x42325f
add edi, 0xe0
push ebp
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x18]
push esi
call fcn.004d5a19
mov edi, eax
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.004232c0
mov ebp, eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 5
push ecx
mov ecx, edi
call fcn.004232c0
push eax
lea edx, [esp + 0x24]
push str._a_href_
push edx
mov byte [esp + 0x50], 6
call fcn.004dd45a
push 0x5540bc
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x4c], 7
push eax
call fcn.004dd3e6
push ebp
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x50], 8
call fcn.004dd380
push str.___a__br__r_n
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x50], 9
call fcn.004dd3e6
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 0xa
call fcn.004dd28a
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 9
call fcn.004dd151
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 8
call fcn.004dd151
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 7
call fcn.004dd151
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 6
call fcn.004dd151
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 5
call fcn.004dd151
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 1
call fcn.004dd151
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.004de4c8
inc esi
cmp esi, ebx
jl 0x423165
pop ebp
push str.__body___html_
lea ecx, [esp + 0x4c]
call fcn.004dd2da
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de4c8
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 0
call fcn.004dd151
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
call fcn.004de2b4
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x425e70
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x50bb68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
push 0
lea eax, [edi + 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea esi, [edi + 0x208]
mov dword [esp + 0x10], esi
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.00425dc0
test eax, eax
je 0x425ecd
mov dword [esp + 0x1c], 0xffffffff
jmp 0x425f3a
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 4
push edi
push 0x426120
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x425efc
mov dword [esp + 0x1c], 0xffffffff
jmp 0x425f3a
push 0xfffffffffffffffe
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
or ecx, 0xffffffff
cmp eax, ecx
jne 0x425f30
mov eax, dword [esi]
mov dword [esp + 0x1c], ecx
mov ecx, esi
call dword [eax + 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov dword [edi + 0x284], ebx
mov dword [esp + 0x1c], ecx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret