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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4282eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4344c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 4
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0041470d
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x40c0cb
push 1
mov dword [esi], 0
call fcn.0040fe6c
add esp, 4
mov dword [esi], eax
jmp 0x40c0cd
xor esi, esi
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40f670
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4344c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x435514], 8
mov eax, dword [ebp + 0xc]
mov edx, dword [0x435500]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jae 0x40f6a6
mov edx, 0x435500
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov eax, esi
or eax, 0x20006
push eax
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x40f6fa
cmp dword [0x4354fc], 8
mov eax, dword [0x4354e8]
jae 0x40f6dc
mov eax, 0x4354e8
push 4
push dword [ebp - 0xc]
push 4
push 0
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 2
je 0x40f72b
test edi, edi
je 0x40f72b
sub esi, 0x100
lea eax, [ebx + 0xc]
neg esi
push edi
sbb esi, esi
and esi, 0xffffffe0
add esi, 0x40
push esi
push str.PluginManager::WriteOutlookRegKey__:_Setting_state_for_LM_in__d_bit_view._Result_code_is__x.
push 0xc8
push eax
call fcn.00406450
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413990
mov esp, ebp
pop ebp
ret 8
Function at 0x422c50
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4344c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00417645
mov dword [ebp - 0x14], eax
cmp dword [0x436b8c], esi
jne 0x422d43
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x422cd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x422e23
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x422e23
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x422e23
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x436b8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x436b90], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x436b94], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x436b9c], eax
test eax, eax
je 0x422d40
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x436b98], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x422d68
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x422d5b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x422d7d
push 4
pop eax
jmp 0x422e25
cmp dword [ebp - 0x14], esi
je 0x422d7d
push dword [0x436b8c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x422d62
mov eax, dword [0x436b98]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x422ddb
cmp dword [0x436b9c], edi
je 0x422ddb
push eax
call ebx
push dword [0x436b9c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x422ddb
test eax, eax
je 0x422ddb
call ecx
test eax, eax
je 0x422dd0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x422dd0
test byte [ebp - 8], 1
jne 0x422ddb
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x422e0b
mov eax, dword [0x436b90]
cmp eax, edi
je 0x422e08
push eax
call ebx
test eax, eax
je 0x422e08
call eax
mov esi, eax
test esi, esi
je 0x422e08
mov eax, dword [0x436b94]
cmp eax, edi
je 0x422e08
push eax
call ebx
test eax, eax
je 0x422e08
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x436b8c]
call ebx
test eax, eax
je 0x422e23
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x422e25
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413990
mov esp, ebp
pop ebp
ret
Function at 0x401350
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
push esi
push 0x190000
push 3
push esi
push esi
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40138f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 0xd
pop esi
cmove eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x4013c3
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push 4
lea eax, [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4013e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, 0xd
test esi, esi
push ebx
cmove esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], esi
je 0x401473
push edi
mov dword [ebp - 8], esi
xor edi, edi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 4
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40143b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, 0xd
test esi, esi
cmove esi, eax
cmp esi, 0xe8
jne 0x401446
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x4013f3
jmp 0x401446
cmp dword [ebp - 4], 4
je 0x40144a
mov esi, 0xd
test esi, esi
jne 0x401472
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp - 8]
inc ecx
cmp eax, ecx
mov dword [ebp - 4], eax
push edx
lea eax, [ebp - 0xc]
mov esi, 0xd
push eax
push 4
lea eax, [ebp - 4]
cmove esi, edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4027d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4027d9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4027ca
cmp esi, edx
jae 0x4027d9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4027b8
cmp esi, edx
jae 0x4027d9
cmp word [esi], 0
je 0x4027d9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10004770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp eax, 0xe7bdb444
cmp eax, 0x48
nop
mov eax, 0xd327356b
cmp eax, 0x2b
mov eax, 0x25fc706c
nop
mov eax, 0x5dfb6ef1
cmp eax, 0x4e
nop
cmp eax, 0x25
cmp eax, 0x13
inc eax
cmp eax, 0x7b
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp eax, 0x71d622ed
cmp eax, 0xef9318b5
cmp eax, 0x3a
cmp eax, 0xbdfb9d2b
mov eax, ebx
cmp eax, 0x6169bce9
mov eax, ecx
nop
inc eax
cmp eax, 0x8d2c5a88
mov eax, ebx
mov eax, ebx
nop
inc eax
mov eax, ebx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, ebx
mov eax, 0x6f689d30
mov eax, ecx
cmp eax, 0x35
inc eax
mov eax, ecx
nop
mov eax, ecx
mov eax, ecx
mov eax, ecx
mov eax, ebx
mov eax, ebx
inc eax
cmp eax, 5
mov eax, ebx
mov eax, 0x3938256e
nop
mov eax, ebx
nop
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x1002beb4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, ecx
mov eax, 0x407a05bf
mov eax, 0xadf9fdfe
cmp eax, 0xfe48932
cmp eax, 0x93c5065c
inc eax
mov eax, 0xc2e73172
nop
inc eax
cmp eax, 0x5990f623
mov eax, 0x533db3ab
inc eax
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1003e22c], eax
nop
mov eax, 0x32e7a98e
cmp eax, 0x58
cmp eax, 0x43
nop
cmp eax, 0x54
inc eax
inc eax
inc eax
inc eax
mov eax, ebx
cmp eax, 0x61
mov eax, ecx
mov eax, ecx
inc eax
cmp eax, 0xc1da756e
nop
mov eax, ecx
mov eax, ecx
mov eax, ebx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
jne 0x1000491f
push 0x41030
push str.DllWrap
push str.miss
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
inc eax
inc eax
mov eax, ecx
mov eax, 0x89d66183
cmp eax, 0xffffffc3
nop
cmp eax, 0xdd8c542f
mov eax, ebx
cmp eax, 0x686fa8e8
inc eax
mov eax, 0x62c5e478
cmp eax, 0xd3d6f883
mov eax, ecx
mov eax, ebx
mov eax, ebx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
je 0x10004931
mov dword [ebp - 4], 1
jmp 0x10004938
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1001e770
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001e5e6

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x60205b81
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
mov eax, str.EG
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2b055ad1
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40a252
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 8], eax
call fcn.0040a028
push ebx
add eax, 0x8b66335c
inc edi
push es
cmp ax, bx
jbe 0x40a282
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x40a27c
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x40a26d
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0040a028
in al, dx
aas
push esp
push ss
lea eax, [ebp - 0x58]
push eax
call fcn.0040a038
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00409fed
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x40a316
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0040a028
cmpsd dword [esi], dword es:[edi]
and cl, ch
int3

Function at 0x40a3a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0040a038
push eax
push esi
push dword [ebp + 8]
call fcn.00409fed
mov dword [ebp - 8], eax
clc
Function at 0x40a42d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmpsb byte [esi], byte es:[edi]
inc ecx
call fcn.0040a038
push eax
push esi
push dword [ebp + 8]
call fcn.00409fed
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040a038
push eax
push esi
push dword [ebp + 8]
call fcn.00409fed
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040a028
dec esi
dec edx
pushal
cmp eax, 0xff7c9d88
invalid
Function at 0x40a69d
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40a6dc
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40a6d7
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
or dword [ebx + 0xe281d1], ecx
lock add byte [eax], al
or dword [ebx + 0xe281d1], ecx
lock add byte [eax], al
cmp edx, 0x3000
jne 0x40a6c1
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40a6c9
cmp edx, ebx
jne 0x40a817
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40a698
add eax, dword [eax + 4]
jmp 0x40a685
mov dword [ebp + 0xc], ebx
jmp 0x40a6e7
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40a6ff
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40a71d
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40a77b
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40a762
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40a76b
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40a775
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40a757
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40a6e1
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40a7c8
dec eax
je 0x40a7bf
sub eax, 3
je 0x40a7b6
mov dword [ebp - 4], 0x40
jmp 0x40a7e5
mov dword [ebp - 4], 4
jmp 0x40a7cb
mov dword [ebp - 4], 0x20
jmp 0x40a7cb
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40a817
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40a797
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040a028
mov edx, eax
mov eax, dword [0x1475ff5a]
push 1
push esi
call edi
mov eax, esi
jmp 0x40a823
push 0x8000
push ebx
push esi
call dword [ebp - 8]
push ebp
clc

Function at 0x40a8c9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
idiv edi
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00409fed
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
dec dword [ecx - 0x6737b]
inc edi
test dword [esp + edi*8 - 1], edi
inc dword [eax + eax]
add byte [eax], al
Function at 0x40b49c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
test edx, ebx
clc
invalid
dec dword [edi - 0x3a]
test ebx, ebx
clc
invalid
dec dword [ecx - 0x3a]
test esp, ebx
clc
invalid
dec dword [eax - 0x3a]
test ebp, ebx
clc
invalid
call [esi + eax*8 - 0x7b]
fdivp st(0)
invalid
call dword [ecx - 0x3a]
test edi, ebx
clc
invalid
jmp [ebp - 0x3a]
test eax, esp
clc
invalid
dec dword [edi - 0x3a]
test ecx, esp
clc
invalid
call dword [edx - 0x3a]
test edx, esp
clc
invalid
dec dword [ecx - 0x3a]
test ebx, esp
clc
invalid
call [eax - 0x3a]
test esp, esp
clc
invalid
call [esi - 0x3a]
test ebp, esp
clc
invalid
dec dword [ecx - 0x3a]
test esi, esp
clc
invalid
invalid
cmp eax, 0xffeb17e8
dec esi
inc ebx
inc ecx
or byte [ebp - 0x72b7b], 0xff
push eax
call fcn.0040a038
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00409fed
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.0040a028
outsd dx, dword [esi]
xor esp, eax
jae 0x40b4ce
test esi, ebx
clc
invalid
test eax, ebp
clc
invalid

Function at 0x40bbd1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [ebx]
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.0040a038
in al, 0xff
call [ecx + 0x50]

Function at 0x40c020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx + 2], ch
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x40c072
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x40c077
jmp 0x40b9ca
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x40c0be
lea eax, [ebp - 0x714]
push eax
call fcn.0040a038
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00409fed
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0

Function at 0x418680
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4186ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4186ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5329a1
Capabilities:
Connect socket

Disassembly:
jmp 0x79b856
jmp dword [sym.imp.WSOCK32.dll_connect]

Function at 0x535561
Capabilities:
Terminate process

Disassembly:
jmp fcn.00742880
jmp 0x72dd30
cmp ecx, dword [0x818f7c]
jne 0x72dd3a
repz ret
jmp 0x53354a
Function at 0x541740
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1108
call fcn.00534819
push ebx
push esi
push edi
lea edi, [ebp - 0x1108]
mov ecx, 0x442
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x818f7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1020], 0
push 0xffc
push 0
lea eax, [ebp - 0x101c]
push eax
call fcn.00533469
add esp, 0xc
mov dword [ebp - 0x102c], 0
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1044], 0
cmp dword [ebp + 8], 0
jne 0x5417c5
xor eax, eax
jmp 0x541968
mov eax, dword [ebp + 0xc]
shr eax, 2
mov dword [ebp - 0x1038], eax
cmp dword [ebp - 0x1038], 0x40000
jbe 0x5417e7
mov dword [ebp - 0x1038], 0x40000
mov eax, dword [ebp - 0x1038]
shr eax, 2
mov dword [ebp - 0x1038], eax
cmp dword [ebp - 0x1038], 0x400
ja 0x54181a
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x102c], eax
mov dword [ebp - 0x1038], 0x400
jmp 0x541850
push 4
mov eax, dword [ebp - 0x1038]
push eax
call fcn.0053360d
add esp, 8
mov dword [ebp - 0x102c], eax
cmp dword [ebp - 0x102c], 0
jne 0x541850
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x102c], eax
mov dword [ebp - 0x1038], 0x400
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
cmp dword [0x7e62e0], 0
je 0x54191e
cmp dword [ebp + 0x10], 0
je 0x5418af
mov esi, esp
push 0
lea eax, [ebp - 0x1044]
push eax
mov ecx, dword [ebp - 0x1038]
shl ecx, 2
push ecx
mov edx, dword [ebp - 0x102c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.00535fca
mov eax, dword [ebp - 0x1044]
shr eax, 2
mov dword [ebp - 0x1044], eax
jmp 0x5418d1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1038]
push ecx
push 4
mov edx, dword [ebp - 0x102c]
push edx
call fcn.005320cd
add esp, 0x10
mov dword [ebp - 0x1044], eax
cmp dword [ebp - 0x1044], 0
ja 0x5418dc
jmp 0x54191e
mov dword [ebp - 0x18], 0
jmp 0x5418ee
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1044]
jae 0x54190d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x102c]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0xc], edx
jmp 0x5418e5
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x1044]
mov dword [ebp - 0xc], eax
jmp 0x54185e
cmp dword [ebp - 0xc], 0
jne 0x541933
cmp dword [ebp - 0x18], 0
je 0x541933
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x102c], 0
je 0x541965
mov eax, dword [ebp - 0x102c]
lea ecx, [ebp - 0x1020]
cmp eax, ecx
je 0x541965
mov eax, dword [ebp - 0x102c]
push eax
call fcn.005341bb
add esp, 4
mov dword [ebp - 0x102c], 0
mov eax, dword [ebp - 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x541998]
call fcn.0053491d
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00535561
add esp, 0x1108
cmp ebp, esp
call fcn.00535fca
mov esp, ebp
pop ebp
ret