joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ffc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45655e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x468004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm1, xmm3
movss dword [ebp - 0x10], xmm1
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
movss xmm0, dword [ebp + 0x10]
lea ecx, [esi + 0x50]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov bl, byte [ebp + 0x18]
movss dword [esi + 0x10], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esi + 0x14], xmm0
movss xmm0, dword [ebp + 0x30]
movss dword [esi + 0x24], xmm0
movss xmm0, dword [ebp + 0x3c]
movss dword [esi + 0x2c], xmm0
movss xmm0, dword [ebp + 0x40]
movss dword [esi + 0x30], xmm0
movss xmm0, dword [ebp + 0x44]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
movss dword [esi + 0x34], xmm0
movss xmm0, dword [ebp + 0x48]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x1c]
mov byte [esi + 0xc], bl
movss dword [esi + 0x18], xmm1
mov byte [esi + 0x20], 0
mov dword [esi + 0x28], 0
movss dword [esi + 0x38], xmm0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
push eax
mov byte [esi + 0x4c], 0
call dword [sym.imp.sfml_graphics_2.dll_public:_void___thiscall_sf::Image::constructor_class_sf::Image_const__]
movss xmm0, dword [ebp + 0x14]
call fcn.0040eb30
mulss xmm0, dword [ebp - 0x10]
movss dword [esi + 0x44], xmm0
movss xmm0, dword [ebp + 0x14]
call fcn.0040eb70
mulss xmm0, dword [ebp - 0x10]
movss dword [esi + 0x48], xmm0
test bl, bl
jne 0x410105
movss xmm0, dword [0x46a7f4]
movss xmm1, dword [0x4680a8]
mulss xmm1, dword [0x45ed98]
movss dword [esi], xmm0
movss xmm0, dword [0x46a7f8]
movss dword [esi + 4], xmm0
movaps xmm0, xmm1
movss xmm2, dword [0x46a7f8]
addss xmm0, dword [esi]
addss xmm1, xmm2
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
jmp 0x410110
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x38]
mov dword [esi], ecx
mov dword [esi + 4], edx
lea ecx, [ebp + 0x1c]
call dword [sym.imp.sfml_graphics_2.dll_public:_void___thiscall_sf::Image::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
Function at 0x44e110
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jb 0x44e130
pop edi
mov dword [ecx], 0x270
mov eax, ecx
pop esi
pop ebp
ret 4

Function at 0x451940
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x45199e
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x451960
mov eax, dword [edi]
jmp 0x451a89
cmp eax, 0x4e0
jb 0x451a89
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x4519c0
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x451a10
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x454f8e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x454fcd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x454fcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x454fcd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x454fcd
cmp dword [ecx + 0x74], 0xe
jbe 0x454fcd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401123
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040117e
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401152
push 4
push dword [esp + 0x18]
call fcn.004021ef
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401107
push ebp
push ebp
call fcn.004073c7
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401174
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00401f1c
int3

Function at 0x40157f
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor ebp, ebp
push esi
mov esi, ebp
cmp dword [esp + 0x10], esi
jbe 0x4016ad
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
push edi
mov edi, dword [esp + 0x14]
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x33
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x51
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x6f
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xc8
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xef
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x69
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x9f
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xa2
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xe7
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x9a
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x86
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xec
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x3d
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xcd
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x63
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xe5
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 2
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xc9
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x1a
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x34
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 3
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xcc
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xa7
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x9b
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xeb
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xa9
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x9c
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x17
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x6e
inc esi
cmp esi, dword [esp + 0x18]
jb 0x40159b
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x4016b5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x41d00c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x40172d
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.0040119d
test esi, esi
je 0x40171a
cmp dword [esp + 0x38], 3
jbe 0x40171a
lea eax, [esp + 0x14]
push 0x14d
push eax
call fcn.004017a2
pop ecx
pop ecx
test eax, eax
je 0x40171a
cmp eax, dword [esp + 0x38]
je 0x401745
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00401535
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x4016e6
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004021fd
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00401535
jmp 0x40172f

Function at 0x4017a2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
lea eax, [esi + 0x10]
mov edi, dword [eax]
mov ebp, edi
xor ebp, dword [esp + 0x24]
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x18], eax
jb 0x4017c8
mov esi, dword [esi]
mov dword [esp + 0x20], esi
shr edi, 2
xor ebx, ebx
mov dword [esp + 0x14], edi
test edi, edi
je 0x401825
mov dword [esp + 0x24], esi
push ebx
call dword [sym.imp.ADVAPI32.dll_IsValidAcl]
push 4
lea eax, [esp + 0x28]
push esi
push eax
call fcn.00402e50
imul ecx, dword [esp + 0x30], 0x5bd1e991
add esp, 0xc
imul ebp, ebp, 0x5bd1e991
add esi, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebp, eax
mov dword [esp + 0x24], eax
sub edi, 1
jne 0x4017d9
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
and eax, 3
sub eax, 1
je 0x40184b
sub eax, 1
je 0x401841
sub eax, 1
jne 0x401859
movsx ebx, byte [esi + edi*4 + 2]
shl ebx, 0x10
movsx eax, byte [esi + edi*4 + 1]
shl eax, 8
xor ebx, eax
movsx eax, byte [esi + edi*4]
xor eax, ebx
imul eax, eax, 0x5bd1e991
xor ebp, eax
mov eax, ebp
shr eax, 0xd
xor eax, ebp
imul ecx, eax, 0x5bd1e991
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add esp, 0xc
ret

Function at 0x40188b
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [section..bSc], eax
push 0xda4c2ca8
push dword [section..bSc]
call fcn.004016b5
pop ecx
pop ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
call edx
pop edi
pop esi
leave
ret
Function at 0x402b15
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402b54
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402b54
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402b54
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402b54
cmp dword [ecx + 0x74], 0xe
jbe 0x402b54
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x409394
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417924
push 0x41791c
push str.FlsAlloc
push 0x1e
call fcn.00409215
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4093c8
push dword [ebp + 8]
mov ecx, esi
call dword [0x415148]
call esi
jmp 0x4093ce
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x409412
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417934
push 0x41792c
push str.FlsGetValue
push 0x20
call fcn.00409215
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409449
push dword [ebp + 8]
mov ecx, esi
call dword [0x415148]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x409c01
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
call dword [sym.imp.USER32.DLL_GetFocus]
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
mov edi, eax
mov bl, pe_nt_image_headers32
test edi, edi
je 0x409c7d
push 9
call esi
test bl, al
je 0x409c7d
push 0x11
call esi
test bl, al
jne 0x409c7d
push 0x10
call esi
test bl, al
jne 0x409c7d
push 0x12
call esi
test bl, al
jne 0x409c7d
push 5
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.DLL_GetClassNameA]
push 4
lea eax, [esp + 0x14]
push 0x40f424
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x409c7d
push eax
push eax
push 0x44e
push edi
call dword [sym.imp.USER32.DLL_SendMessageA]
test eax, 0x800
jne 0x409c7d
xor eax, eax
jmp 0x409cff
push ebp
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x409ca6
push 0x11
call esi
test bl, al
jne 0x409c9e
push 0x10
call esi
test bl, al
jne 0x409c9e
push 0x12
call esi
test bl, al
je 0x409ca6
push 1
push ebp
call fcn.00409bba
mov esi, dword [sym.imp.USER32.DLL_GetPropA]
test edi, edi
je 0x409cbc
push 0x40f418
push edi
call esi
test eax, eax
jne 0x409cfc
push 0x40f3b0
push ebp
call esi
mov esi, eax
test esi, esi
je 0x409cfc
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x409cfc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x10], eax
jne 0x409cfc
dec esi
push esi
push dword [0x4118e4]
call fcn.0040ca7a
test eax, eax
je 0x409cfc
mov eax, dword [eax + 8]
jmp 0x409cfe
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x409dc1
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push edi
push 0x40f470
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edi, edi
mov dword [0x4117f4], eax
cmp eax, edi
je 0x409df4
push 0x40f464
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4117f8], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [0x4117f0], 1
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x409e32
cmp dword [ebp - 0xc], 1
je 0x409e43
cmp dword [ebp - 0xc], 2
jne 0x409e32
cmp dword [ebp - 0x18], 5
jb 0x409e43
jne 0x409e32
cmp dword [ebp - 0x14], edi
jne 0x409e32
mov dword [0x4117f0], edi
cmp dword [0x4117f0], edi
je 0x409e49
call fcn.00409d08
test eax, eax
jne 0x409e49
mov dword [0x4117f0], edi
pop edi
add ebp, 0x78
leave
ret

Function at 0x40aa2e
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x40aa57
test byte [esp + 8], 2
je 0x40aa4b
push pe_nt_image_headers32
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40aa59
xor eax, eax
ret 8
Function at 0x412528
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff38
mov eax, dword [ebp + 0x10]
shl eax, 3
mov dword [ebp - 4], eax
mov dword [0x1fbe68], 0x67452301
mov dword [0x1fbe6c], 0xefcdab89
mov dword [0x1fbe70], 0x98badcfe
mov dword [0x1fbe74], 0x10325476
cmp dword [ebp + 0x10], 0x40
jle 0x412595
push dword [ebp + 0xc]
lea edx, [ebp - 0xc8]
push edx
call fcn.00412735
add esp, 8
lea ecx, [ebp - 0xc8]
push ecx
call fcn.0041278e
pop ecx
add dword [ebp + 0xc], 0x40
sub dword [ebp + 0x10], 0x40
cmp dword [ebp + 0x10], 0x40
jg 0x412568
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov byte [edx + ebp - 0x88], 0
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x80
jl 0x41259a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x88]
push eax
call fcn.0040e8ff
mov eax, dword [ebp + 0x10]
mov byte [eax + ebp - 0x88], 0x80
cmp dword [ebp + 0x10], 0x37
jg 0x412608
push dword [ebp - 4]
lea edx, [ebp - 0x50]
push edx
call fcn.004126fa
add esp, 8
lea ecx, [ebp - 0x88]
push ecx
lea eax, [ebp - 0xc8]
push eax
call fcn.00412735
add esp, 8
lea edx, [ebp - 0xc8]
push edx
call fcn.0041278e
pop ecx
jmp 0x41265a
push dword [ebp - 4]
lea ecx, [ebp - 0x10]
push ecx
call fcn.004126fa
add esp, 8
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0xc8]
push edx
call fcn.00412735
add esp, 8
lea ecx, [ebp - 0xc8]
push ecx
call fcn.0041278e
pop ecx
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0xc8]
push edx
call fcn.00412735
add esp, 8
lea ecx, [ebp - 0xc8]
push ecx
call fcn.0041278e
pop ecx
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov byte [edx + ebp - 0x88], 0
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x80
jl 0x41265f
lea ecx, [ebp - 0x88]
push ecx
lea eax, [ebp - 0xc8]
push eax
call fcn.00412735
add esp, 8
push dword [0x1fbe68]
push dword [ebp + 8]
call fcn.004126fa
add esp, 8
push dword [0x1fbe6c]
mov edx, dword [ebp + 8]
add edx, 4
push edx
call fcn.004126fa
add esp, 8
push dword [0x1fbe70]
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
call fcn.004126fa
add esp, 8
push dword [0x1fbe74]
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
call fcn.004126fa
add esp, 8
xor edx, edx
mov dword [0x1fbe74], edx
mov dword [0x1fbe70], edx
mov dword [0x1fbe6c], edx
mov dword [0x1fbe68], edx
mov esp, ebp
pop ebp
ret

Function at 0x8c211a
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x8c1ea3
inc ecx
sub ecx, 1
and ecx, ecx
call fcn.008c2176
push 0x5e390282
mov eax, dword [esp]
add esp, 4
sub ecx, eax
sub eax, 0x261783b9
xor dword [edx], edi
sub eax, 0xad2b589c
add eax, eax
mov ecx, 0x7c29df52
inc edx
mov eax, 0x5cd0fae4
or eax, ecx
cmp edx, esi
jne fcn.008c211a
mov ecx, 0x13142087
add ecx, 0x822f729c
inc ecx
ret
Function at 0x467750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
jmp 0x46776a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x467771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467760
mov eax, 1
add ebx, ebx
jne 0x467783
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x467794
jne 0x4677b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4677b3
dec eax
add ebx, ebx
jne 0x4677a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x467778
add ebx, ebx
jne 0x4677af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x467805
xor ecx, ecx
sub eax, 3
jb 0x4677cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46783a
sar eax, 1
mov ebp, eax
jmp 0x4677d6
add ebx, ebx
jne 0x4677d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4677a4
inc ecx
add ebx, ebx
jne 0x4677e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4677a4
add ebx, ebx
jne 0x4677f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4677e6
jne 0x467802
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4677e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x467824
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x467816
jmp 0x467766
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x467824
add edi, ecx
jmp 0x467766
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x467842
cmp byte [edi], 1
jne 0x467842
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x467847
mov ebp, dword [esi + 0x676d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4678a2
sub esp, 0xffffff80
jmp 0x407c28
Function at 0x40ec23
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x40ec68
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x40ec6e
add eax, 4
pop esi
dec esi
push esi
jne 0x40ec50
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8
Function at 0x40f9e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040fb90
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40fade
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40fa81
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x40fac4
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40fa98
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40fab3
test al, 0x40
je 0x40faaa
mov ecx, dword [edi + 0x20]
jmp 0x40fab1
test al, 0x80
je 0x40fac4
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40fac4
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40fa50
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret