joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415295
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xac], 0xffffffff
push edi
jne 0x4152ad
push dword [esi + 0xa8]
call fcn.00413ab9
push 0xd
push 0
push 0x801a
push 0xa
lea ecx, [esi + 0x16ec]
call sub.mfc90.dll_Ordinal_6177
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 3
mov ebx, 0x401
push ebx
push dword [esi + 0x170c]
call edi
push 1
push 4
push ebx
push dword [esi + 0x170c]
call edi
push 1
push 5
push ebx
push dword [esi + 0x170c]
call edi
push 1
push 9
push ebx
push dword [esi + 0x170c]
call edi
pop edi
pop esi
pop ebx
ret
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00413a00
or dword [esi + 0xac], 0xffffffff
push 6
xor ebp, ebp
push ebp
push 0x801c
push 0xa
lea ecx, [esi + 0x16ec]
call sub.mfc90.dll_Ordinal_6177
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push 3
mov ebx, 0x401
push ebx
push dword [esi + 0x170c]
call edi
push ebp
push 4
push ebx
push dword [esi + 0x170c]
call edi
push ebp
push 5
push ebx
push dword [esi + 0x170c]
call edi
push ebp
push 9
push ebx
push dword [esi + 0x170c]
call edi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp dword [ecx + 0xac], 0xffffffff
jne 0x41537d
jmp 0x415294
jmp 0x415306

Function at 0x415fb9
Capabilities:
Resume thread

Disassembly:
push 4
mov eax, 0x42099d
call fcn.0041de82
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
push 0
push dword [ebp + 0x1c]
call fcn.00408580
and dword [ebp - 4], 0
lea ecx, [esi + 0x21c]
mov dword [esi], vtable.CMODEthCommsProcessor.0
call fcn.00417eda
lea edi, [esi + 0x260]
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push str.MODBUS_Eth.
mov ecx, edi
mov byte [ebp - 4], 3
call dword [sym.imp.mfc90.dll_Ordinal_820]
lea eax, [esi + 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push str.MODBUS_TCP_IP__host_
lea eax, [ebp + 0x1c]
push str.Starting_comms_emulation_:__s
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0xc
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov ecx, esi
call fcn.00415eca
push dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
and dword [esi + 0x208], 0
push dword [ebp + 0xc]
mov dword [esi + 0x204], eax
mov eax, dword [ebp + 0x18]
mov ecx, esi
mov dword [esi + 0x264], eax
call fcn.00415f98
mov eax, dword [esi + 0x1dc]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
call fcn.0041df5a
ret 0x18
Function at 0x4160af
Capabilities:
Resume thread

Disassembly:
push 4
mov eax, 0x420954
call fcn.0041de82
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
push 0
push 0
call fcn.00408580
and dword [ebp - 4], 0
lea ecx, [esi + 0x21c]
mov dword [esi], vtable.CMODEthCommsProcessor.0
call fcn.00417eda
lea ecx, [esi + 0x260]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea eax, [esi + 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
and dword [esi + 0x208], 0
push dword [ebp + 0xc]
mov dword [esi + 0x204], eax
mov eax, dword [ebp + 0x18]
mov ecx, esi
mov dword [esi + 0x264], eax
call fcn.00415f98
mov eax, dword [esi + 0x1dc]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
call fcn.0041df5a
ret 0x18

Function at 0x4180c5
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, ecx
cmp dword [esi + 0x2c], 0
jne 0x4180da
xor eax, eax
jmp 0x41812e
cmp dword [esi + 0x20], 0xffffffff
jne 0x4180ed
push str.Error:_Cannot_send._Port_closed__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4180d6
mov eax, dword [esi]
push edi
push 2
call dword [eax + 0x1c]
lea edi, [esi + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
push 1
push dword [ebp - 4]
mov ecx, esi
push dword [ebp + 0xc]
call dword [eax + 0x20]
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 0xc
Function at 0x418133
Capabilities:
Print debug messages

Disassembly:
push 8
mov eax, 0x41f9fd
call fcn.0041de82
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x2c], edi
je 0x4181ff
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
jne 0x41816b
push str.Error:_Cannot_get_modem._Port_closed__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4181ff
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov eax, dword [esi + 0x6c]
cmp eax, dword [ebp - 0x10]
je 0x4181ff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov eax, dword [ebp - 0x10]
and al, 0x40
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xfffffff9
add eax, 0x5f
push eax
mov eax, dword [ebp - 0x10]
and al, 0x20
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xfffffff9
add eax, 0x5f
push eax
mov eax, dword [ebp - 0x10]
and al, 0x10
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xfffffff9
add eax, 0x5f
push eax
lea eax, [ebp - 0x14]
push str.Modem_status_:__CTS__c___DSR__c___RING__c_
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.mfc90.dll_Ordinal_2539]
mov edi, dword [esi]
add esp, 0x14
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov ecx, esi
call dword [edi + 0x24]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
mov dword [esi + 0x6c], eax
call dword [sym.imp.mfc90.dll_Ordinal_601]
call fcn.0041df5a
ret
Function at 0x418205
Capabilities:
Check for time delay via gettickcount
Print debug messages
Read file on windows

Disassembly:
push 0x14
mov eax, 0x420bcf
call fcn.0041de82
mov esi, ecx
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov eax, dword [esi]
xor ebx, ebx
push 1
mov ecx, esi
mov dword [ebp - 4], ebx
call dword [eax + 0x1c]
cmp dword [esi + 0x2c], ebx
jne 0x418242
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
call fcn.0041df5a
ret 0xc
cmp dword [esi + 0x20], 0xffffffff
jne 0x418267
push str.Error:_Cannot_RX._Port_closed__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, ebx
jmp 0x41823a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [esi + 0x30]
cmp ecx, 0x2710
jle 0x4182f2
add eax, 0xc350
mov dword [esi + 0x30], eax
cmp dword [esi + 0x470], ebx
je 0x4182d2
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push str.Port_idle__buffer_cleared__n
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc90.dll_Ordinal_820]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [esi]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov ecx, esi
call dword [edi + 0x24]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x400
lea eax, [esi + 0x70]
push ebx
push eax
mov dword [esi + 0x470], ebx
call sub.MSVCR90.dll_memset
mov eax, dword [esi]
add esp, 0xc
push ebx
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [esi + 0x470]
lea eax, [eax + esi + 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
push dword [esi + 0x470]
lea eax, [esi + 0x70]
push eax
call fcn.00419ccc
pop ecx
pop ecx
lea edi, [esi + 0x34]
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
mov edx, dword [esi]
add dword [esi + 0x470], eax
push ebx
push eax
push dword [ebp - 0x14]
mov ecx, esi
call dword [edx + 0x20]
cmp dword [ebp - 0x10], ebx
je 0x418366
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x30], eax
cmp dword [ebp - 0x1c], ebx
jne 0x41838c
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_ClearCommError]
push dword [ebp - 0x20]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x470], ebx
mov dword [ebp - 0x10], ebx
call dword [eax + 0x14]
mov eax, dword [esi]
push 5
mov ecx, esi
call dword [eax + 0x1c]
cmp dword [esi + 0x470], ebx
je 0x41825a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
push eax
push dword [ebp - 0x14]
mov dword [ecx], eax
push dword [ebp + 0xc]
call sub.MSVCR90.dll_memcpy
xor ebx, ebx
add esp, 0xc
inc ebx
jmp 0x41825a
Function at 0x4186b7
Capabilities:
Print debug messages
Terminate thread

Disassembly:
push 4
mov eax, 0x420c5a
call fcn.0041de82
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CRS232Port.0
mov dword [ebp - 4], 3
call fcn.00418082
push str.Port_object_deleted_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [esi + 0x4c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call sub.mfc90.dll_Ordinal_662
lea ecx, [esi + 8]
mov byte [ebp - 4], 0
call sub.mfc90.dll_Ordinal_662
lea ecx, [esi + 4]
call dword [sym.imp.mfc90.dll_Ordinal_601]
call fcn.0041df5a
ret

Function at 0x418b81
Capabilities:
Print debug messages

Disassembly:
push 0xc
mov eax, 0x420ce3
call fcn.0041de82
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [edi], vtable.CServerRS232Array.0
mov ebx, dword [edi + 8]
and dword [ebp - 4], 0
dec ebx
mov dword [ebp - 0x10], 0
js 0x418c0e
push dword [ebp - 0x10]
mov ecx, edi
call fcn.00406fac
push 0
push dword [ebp - 0x10]
mov ecx, edi
mov esi, eax
call fcn.00418b61
test esi, esi
je 0x418c06
and dword [esi + 0x2c], 0
push str.Stop_comms_Processor__n
mov dword [ebp - 0x14], 0x64
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [0x434138]
push 0x14
call fcn.0040fbdf
mov eax, dword [esi + 0x14]
push 0x32
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x418bfd
dec dword [ebp - 0x14]
jne 0x418bdb
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jle 0x418ba9
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call sub.mfc90.dll_Ordinal_711
call fcn.0041df5a
ret

Function at 0x41b511
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
call sub.mfc90.dll_Ordinal_1137
mov esi, dword [eax + 0xc]
movzx eax, word [esp + 0x10]
push str.HELPFILES
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x41b587
lea eax, [esi + 1]
push eax
call sub.mfc90.dll_Ordinal_265
mov edi, dword [esp + 0x18]
pop ecx
mov dword [edi], eax
test eax, eax
je 0x41b575
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [edi]
call sub.MSVCR90.dll_memcpy
mov eax, dword [edi]
add esp, 0xc
mov byte [esi + eax], 0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x18]
mov dword [eax], esi
xor eax, eax
inc eax
jmp 0x41b589
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x41b61a
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2c8]
sub esp, 0x348
mov eax, dword [0x434018]
xor eax, ebp
mov dword [ebp + 0x2c4], eax
mov eax, dword [ebp + 0x2d0]
push ebx
push esi
push edi
push 7
pop ecx
mov esi, str.HARDWAREDEVICEMAPSERIALCOMM
lea edi, [ebp + 0xbc]
rep movsd dword es:[edi], dword [esi]
push 0xe6
mov dword [ebp - 0x50], eax
xor ebx, ebx
lea eax, [ebp + 0xda]
push ebx
push eax
movsw word es:[edi], word [esi]
call sub.MSVCR90.dll_memset
push 0x103
lea eax, [ebp + 0x1c1]
push ebx
push eax
mov byte [ebp + 0x1c0], bl
call sub.MSVCR90.dll_memset
add esp, 0x18
lea eax, [ebp - 0x48]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0xbc]
push eax
mov esi, 0x100
push reloc.WSOCK32.dll_bind
mov dword [ebp - 0x54], 0x104
mov dword [ebp - 0x4c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41b735
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 0x1c0]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp + 0x2d4]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x50]
lea eax, [ebp - 0x5c]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x2d8]
mov dword [ebp - 0x4c], esi
push dword [ebp - 0x48]
mov byte [ebp - 0x44], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push dword [ebp - 0x48]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x5c], 1
jne 0x41b735
cmp esi, ebx
jne 0x41b735
xor eax, eax
jmp 0x41b738
or eax, 0xffffffff
mov ecx, dword [ebp + 0x2c4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041de66
add ebp, 0x2c8
leave
ret

Function at 0x41c9d2
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, ecx
cmp eax, 0xffffffff
jne 0x41c9ee
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c9e5
sub eax, edx
inc eax
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esi + 8], eax
pop esi
ret 0xc

Function at 0x41de66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x434018]
jne 0x41de70
repz ret
jmp fcn.0041e6b2

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x101d115
Capabilities:
Encode data using xor

Disassembly:
adc byte [edi + 0x32], ch
stc
scasd eax, dword es:[edi]
dec edi
ficom word [ecx + 0x7e]
jne 0x101d158
imul eax, dword [eax - 0x153caccf], 0xffffffae
dec ecx
cmpsd dword [esi], dword es:[edi]
pop ebx
enter 0x11ed, 0x37
inc edx
mov dword [eax + 0x70], ebx
aas
xchg ebp, eax
dec ebx
lcall 0x7b4c, 0x615f6b3f
cwde
clc
xor eax, 0xa9704542
lea esi, [0xe3adf1bc]
jnp 0x101d129
push ss
pushfd
or cl, byte [eax - 0x13bf07e3]
mov al, byte [0xe2f65833]
pop eax
mul dl
inc esp
cmp bh, byte [ebx - 0x57]
and ebx, edx
sbb byte [eax + 0x14], ah
add eax, edx
fstp st(0)
leave
or dword [edx + 0x47d49846], edx
Function at 0x42be06
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x42c053
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x42bf50
cmp byte [edx + edi], 0xd
jne 0x42bf50
cmp byte [edx + edi + 1], 0xa
je 0x42bf89
mov al, byte [edx + edi]
cmp al, 0xa
je 0x42bf89
cmp al, 0x3d
jne 0x42bf65
inc ecx
cmp ecx, 2
ja 0x42c061
cmp al, 0x7f
ja 0x42c061
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x42c061
cmp al, 0x40
jae 0x42bf88
test ecx, ecx
jne 0x42c061
inc esi
inc edx
cmp edx, ebx
jb 0x42bf3a
test esi, esi
je 0x42c053
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x42c072
cmp dword [ecx], eax
jb 0x42c072
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x42c042
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x42c03e
cmp al, 0xa
je 0x42c03e
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x42c03e
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x42c029
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x42c036
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x42c03e
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x42bfda
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10
Function at 0x42db6a
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x80000005
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x42db88
mov eax, 0x49
push eax
push 1
mov ebx, 0x194
call fcn.00458630
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42dbb2
mov eax, 0
jmp 0x42dc26
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x42dc13
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x42dbfc
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x42dbeb
xor ecx, eax
xor edx, ebx
dec edi
jne 0x42dbdc
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4
Function at 0x448c61
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00448e11
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 0x448d5f
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 0x448d02
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x448d45
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x448d19
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x448d34
test al, 0x40
je 0x448d2b
mov ecx, dword [edi + 0x20]
jmp 0x448d32
test al, 0x80
je 0x448d45
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x448d45
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 0x448cd1
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x44baa9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x44bacc
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x44bacc
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x44bad6
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x44bb18
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x44bb7a
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x44bb75
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x44bb60
test dl, dl
je 0x44bb5c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x44bb60
add ecx, 2
add eax, 2
test dl, dl
jne 0x44bb40
xor eax, eax
jmp 0x44bb65
sbb eax, eax
or eax, 1
test eax, eax
je 0x44bb86
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x44bb2d
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8