joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417d78
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
test byte [eax + 4], 1
jne 0x417d98
xor eax, eax
jmp 0x417f1f
lea eax, [ebp - 0x354]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x21c]
call fcn.0040b3af
push 1
lea eax, [ebp - 0x354]
push eax
call fcn.0040b491
push 0x422184
lea eax, [ebp - 0x354]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x354]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0xffffffff
jne 0x417dfb
xor eax, eax
jmp 0x417f1f
mov eax, dword [ebp + 8]
test byte [eax + 4], 2
je 0x417e15
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
cmp dword [ebp - 0x10c], 0
je 0x417f15
test byte [ebp - 0x24c], 0x10
je 0x417ec5
movsx eax, byte [ebp - 0x220]
cmp eax, 0x2e
je 0x417ec5
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x354]
push eax
call fcn.0040b3af
push 1
lea eax, [ebp - 0x108]
push eax
call fcn.0040b491
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
lea eax, [ebp - 0x108]
push eax
call fcn.0040b491
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x21c]
push dword [eax + 0x114]
call fcn.004198e0
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x21c]
push dword [eax + 0x114]
call fcn.00419990
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x417ef6
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x417f1f
mov eax, dword [ebp + 8]
test byte [eax + 4], 2
je 0x417f10
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
jmp 0x417e15
mov eax, 1
jmp 0x417f1f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a110
Capabilities:
Get file size

Disassembly:
sub esp, 0x8c
push ebx
push esi
mov esi, dword [esp + 0x98]
push edi
push ebp
test esi, esi
jne 0x41a12c
xor eax, eax
jmp 0x41a1d8
cmp dword [esi + 4], 0
je 0x41a139
xor eax, eax
jmp 0x41a1d8
push 0x2000
mov eax, dword [0x422190]
push eax
call fcn.004193c0
mov edi, eax
test edi, edi
jne 0x41a156
xor eax, eax
jmp 0x41a1d8
lea eax, [esp + 0x14]
push 0
mov ecx, dword [esp + 0xa8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
mov ebx, eax
jne 0x41a176
xor eax, eax
jmp 0x41a1d8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x2000
mov ebp, dword [sym.imp.KERNEL32.dll__lread]
mov dword [esp + 0x14], eax
push edi
push ebx
call ebp
sub dword [esp + 0x10], eax
test eax, eax
je 0x41a1c0
lea ecx, [esp + 0x10]
push ecx
push eax
push edi
push ebx
push esi
call fcn.0041a440
add esp, 0x14
test eax, eax
je 0x41a1e5
push 0x2000
push edi
push ebx
call ebp
sub dword [esp + 0x10], eax
test eax, eax
jne 0x41a19a
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
push edi
mov eax, dword [0x422190]
push eax
call fcn.00418f80
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x8c
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
push edi
mov eax, dword [0x422190]
push eax
call fcn.00418f80
xor eax, eax
jmp 0x41a1d8

Function at 0x41a990
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
lea eax, [esp]
push ebx
push esi
push edi
mov esi, dword [esp + 0x118]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push eax
call edi
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x11c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push esi
call edi
pop edi
cmp ebx, 1
sbb eax, eax
pop esi
inc eax
pop ebx
add esp, 0x108
ret 8

Function at 0x41ba70
Capabilities:
Encode data using xor

Disassembly:
mov dl, 1
mov al, byte [esp + 4]
test al, al
je 0x41ba88
mov cl, al
shr al, 1
and cl, 1
xor dl, cl
test al, al
jne 0x41ba7a
xor eax, eax
mov al, dl
ret 4
Function at 0x41c560
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push section..rdata
push 0x41d5e0
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x4223e4], eax
xor eax, eax
mov al, byte [0x4223e5]
mov dword [0x4223f0], eax
mov eax, dword [0x4223e4]
shr dword [0x4223e4], 0x10
and eax, 0xff
mov dword [0x4223ec], eax
shl eax, 8
add eax, dword [0x4223f0]
mov dword [0x4223e8], eax
call fcn.0041d5c0
mov dword [ebp - 4], 0
call fcn.0041d3e0
call fcn.0041d3d0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x424b4c], eax
call fcn.0041cf70
mov dword [0x4221ac], eax
test eax, eax
je 0x41c5f9
cmp dword [0x424b4c], 0
jne 0x41c603
push 0xffffffffffffffff
call fcn.0041c850
add esp, 4
call fcn.0041ccf0
call fcn.0041cc10
call fcn.0041c820
mov esi, dword [0x424b4c]
mov al, byte [esi]
cmp al, 0x22
je 0x41c62a
cmp al, 0x20
jbe 0x41c657
inc esi
cmp byte [esi], 0x20
ja 0x41c622
jmp 0x41c657
inc esi
cmp byte [esi], 0x22
je 0x41c656
mov bl, byte [ebp - 0x28]
mov bl, byte [esi]
test bl, bl
je 0x41c651
xor eax, eax
mov al, bl
push eax
call fcn.0041cbb0
add esp, 4
test eax, eax
je 0x41c64b
inc esi
inc esi
cmp byte [esi], 0x22
jne 0x41c633
cmp byte [esi], 0x22
jne 0x41c657
inc esi
cmp byte [esi], 0
je 0x41c667
cmp byte [esi], 0x20
ja 0x41c667
inc esi
cmp byte [esi], 0
jne 0x41c65c
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x44], 1
mov eax, 0xa
je 0x41c68b
mov eax, dword [ebp - 0x40]
and eax, 0xffff
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.0041c850
jmp 0x41c6cc
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c890
Capabilities:
Terminate process

Disassembly:
mov dword [0x42241c], 1
cmp dword [esp + 8], 0
push ebx
push esi
mov ebx, dword [esp + 0x14]
mov byte [0x422418], bl
jne 0x41c8ec
cmp dword [0x424b48], 0
je 0x41c8da
mov esi, dword [0x424b40]
sub esi, 4
cmp esi, dword [0x424b48]
jb 0x41c8da
mov eax, dword [esi]
test eax, eax
je 0x41c8cf
call eax
sub esi, 4
cmp esi, dword [0x424b48]
jae 0x41c8c7
push 0x42101c
push 0x421014
call fcn.0041c910
add esp, 8
push 0x421024
push 0x421020
call fcn.0041c910
add esp, 8
test ebx, ebx
jne 0x41c90d
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebx
ret
Function at 0x41cf70
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
cmp dword [0x4224c0], 0
push ebx
push esi
push edi
push ebp
jne 0x41cfc0
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call esi
mov edi, eax
test edi, edi
je 0x41cf9e
mov dword [0x4224c0], 1
mov ebx, dword [esp + 0x10]
jmp 0x41cfce
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
je 0x41cfb6
mov dword [0x4224c0], 2
jmp 0x41cfce
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp dword [0x4224c0], 1
jne 0x41d07d
test edi, edi
jne 0x41cff1
call esi
mov edi, eax
test edi, edi
jne 0x41cff1
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp word [edi], 0
mov esi, edi
je 0x41d00b
add esi, 2
cmp word [esi], 0
jne 0x41cff9
add esi, 2
cmp word [esi], 0
jne 0x41cff9
sub esi, edi
push 0
sar esi, 1
push 0
inc esi
push 0
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x41d06c
push ebp
call fcn.0041db20
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x41d06c
push 0
push 0
push ebp
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x41d05b
push ebx
call fcn.0041db00
add esp, 4
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x4224c0], 2
jne 0x41d101
test ebx, ebx
jne 0x41d0a0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
jne 0x41d0a0
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov ebp, ebx
cmp byte [ebx], 0
je 0x41d0b5
inc ebp
cmp byte [ebp], 0
jne 0x41d0a7
inc ebp
cmp byte [ebp], 0
jne 0x41d0a7
sub ebp, ebx
inc ebp
push ebp
call fcn.0041db20
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jne 0x41d0da
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov esi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x41d700
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1a8
xor eax, eax
mov ecx, 0x422950
push ebx
mov edx, dword [esp + 0x1b0]
push esi
push edi
push ebp
cmp dword [ecx], edx
je 0x41d728
add ecx, 8
inc eax
cmp ecx, 0x4229d8
jb 0x41d718
cmp dword [eax*8 + 0x422950], edx
lea ebx, [eax*8]
jne 0x41d8e3
cmp dword [0x4221b8], 1
je 0x41d8a8
cmp dword [0x4221b8], 0
jne 0x41d75f
cmp dword [0x4221bc], 1
je 0x41d8a8
cmp edx, 0xfc
je 0x41d8e3
lea eax, [esp + 0xb4]
push 0x104
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call ebp
test eax, eax
jne 0x41d79c
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ebp, [esp + 0xb4]
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x41d7e0
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
push 3
repne scasb al, byte es:[edi]
not ecx
lea ebp, [esp + ecx + 0x7c]
push 0x422a24
push ebp
call fcn.0041dc40
add esp, 0xc
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, ebp
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x422a04
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x422954]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x12010
and ecx, 3
push str.Microsoft_Visual_C_Runtime_Library
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.0041dba0
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x424a40]
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x41d8bf
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebx + 0x422954]
push 0
lea eax, [esp + 0x14]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
Function at 0x41ec20
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x418
cmp dword [0x424a34], edx
push ebx
push esi
push edi
push ebp
jbe 0x41ee27
mov eax, edx
and eax, 0xffffffe7
sar eax, 3
add eax, 0x424a40
mov dword [esp + 0x18], eax
mov eax, edx
and eax, 0x1f
mov ecx, dword [esp + 0x18]
shl eax, 3
mov ebx, dword [ecx]
mov ebp, eax
mov dword [esp + 0x1c], eax
mov al, byte [ebx + ebp + 4]
test al, 1
je 0x41ee27
xor esi, esi
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x20], esi
cmp ebp, esi
jne 0x41ec89
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
test al, 0x20
je 0x41ec9a
push 2
push 0
push edx
call fcn.0041f190
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add ecx, dword [eax]
test byte [ecx + 4], 0x80
je 0x41ed36
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0x430]
mov eax, edi
sub eax, dword [esp + 0x430]
cmp eax, ebp
jae 0x41ed6f
lea ebx, [esp + 0x24]
mov eax, edi
sub eax, dword [esp + 0x430]
cmp eax, ebp
jae 0x41ecfd
mov al, byte [edi]
inc edi
cmp al, 0xa
jne 0x41eceb
mov byte [ebx], 0xd
inc esi
inc ebx
mov byte [ebx], al
inc ebx
mov eax, ebx
lea ecx, [esp + 0x24]
sub eax, ecx
cmp eax, 0x400
jl 0x41ecd2
lea eax, [esp + 0x24]
push 0
sub ebx, eax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
push ebx
push ecx
mov eax, dword [edx]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41ed65
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], eax
cmp eax, ebx
jge 0x41ecbd
jmp 0x41ed6f
lea eax, [esp + 0x14]
push 0
mov edx, dword [esp + 0x434]
push eax
push ebp
mov ecx, dword [ecx]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41ed65
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jmp 0x41ed6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x20], 0
jne 0x41ee16
cmp dword [esp + 0x10], 0
je 0x41edc8
cmp dword [esp + 0x10], 5
jne 0x41edab
mov dword [0x4223d8], 9
mov eax, dword [esp + 0x10]
pop ebp
pop edi
mov dword [0x4223dc], eax
mov eax, 0xffffffff
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x10]
push eax
call fcn.0041f120
add esp, 4
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
test byte [edx + ecx + 4], 0x40
je 0x41edf2
mov eax, dword [esp + 0x430]
cmp byte [eax], 0x1a
jne 0x41edf2
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, 0xffffffff
pop ebp
mov dword [0x4223d8], 0x1c
mov dword [0x4223dc], 0
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x20]
pop ebp
sub eax, esi
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, 0xffffffff
pop ebp
mov dword [0x4223d8], 9
mov dword [0x4223dc], 0
pop edi
pop esi
pop ebx
add esp, 0x418
ret
Function at 0x52e060
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd9000]
push edi
jmp 0x52e07a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52e081
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e070
mov eax, 1
add ebx, ebx
jne 0x52e093
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52e0a4
jne 0x52e0c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e0c3
dec eax
add ebx, ebx
jne 0x52e0b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52e088
add ebx, ebx
jne 0x52e0bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52e115
xor ecx, ecx
sub eax, 3
jb 0x52e0db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52e14a
sar eax, 1
mov ebp, eax
jmp 0x52e0e6
add ebx, ebx
jne 0x52e0e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e0b4
inc ecx
add ebx, ebx
jne 0x52e0f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e0b4
add ebx, ebx
jne 0x52e101
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52e0f6
jne 0x52e112
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52e0f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52e134
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52e126
jmp 0x52e076
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52e134
add edi, ecx
jmp 0x52e076
pop esi
mov edi, esi
mov ecx, 0x3eef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52e152
cmp byte [edi], 0x11
jne 0x52e152
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 0x52e157
lea edi, [esi + 0x127000]
mov eax, dword [edi]
or eax, eax
je 0x52e1cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1849cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x184b48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52e184
mov ecx, edi
jns 0x52e1b3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x184b4c]
or eax, eax
je 0x52e1c9
mov dword [ebx], eax
add ebx, 4
jmp 0x52e1a1
call dword [esi + 0x184b5c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52e200
cmp al, 0xef
ja 0x52e1f3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52e1d5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52e1e2
mov ebp, dword [esi + 0x184b50]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x52e234
sub esp, 0xffffff80
jmp 0x426bf7
Function at 0x4269b9
Capabilities:
Parse pe header

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

Function at 0x438da0
Capabilities:
Parse pe header

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

Function at 0xc0c0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00c0c200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc0c0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc0c0c2
add dl, dl
jne 0xc0c0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc0c134
xor eax, eax
add dl, dl
jne 0xc0c0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc0c1d5
add dl, dl
jne 0xc0c0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc0c108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc0c113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc0c11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc0c12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc0c0cd
mov eax, 1
add dl, dl
jne 0xc0c142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc0c14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc0c139
sub eax, ebx
mov ebx, 1
jne 0xc0c180
mov ecx, 1
add dl, dl
jne 0xc0c166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc0c171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc0c15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc0c0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc0c197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc0c1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc0c18e
cmp eax, 0x7d00
jae 0xc0c1c5
cmp eax, 0x500
jb 0xc0c1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc0c0cd
cmp eax, 0x7f
ja 0xc0c1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc0c0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc0c1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc0c0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402530
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a2c5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x40e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor ecx, eax
movzx eax, byte [ebx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.004024c0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4025b3
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x402717
cmp dword [0x476ed8], 0xfffffff
jne 0x4025ca
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x28], 0x476ed4
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.00409384
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 1
mov ecx, dword [ebx]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov ecx, dword [0x476ed8]
mov ebx, dword [0x476eec]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x40b780]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x40b780]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x476ed0]
comiss xmm1, xmm0
jbe 0x4026c4
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0040a1c0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x4026a3
cmp ebx, 0x200
jae 0x4026a1
shl ebx, 3
cmp ebx, ecx
jae 0x4026a3
mov ebx, ecx
push ebx
call fcn.004029c0
mov edi, dword [ebp - 0x1c]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004024c0
mov ecx, dword [0x476ed8]
mov edx, dword [eax]
jmp 0x4026ca
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x476ed8], ecx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [0x476ee8]
mov ecx, dword [0x476edc]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x476ed4]
jne 0x4026fb
mov dword [ecx + eax*8], esi
jmp 0x40270a
cmp edi, edx
jne 0x402704
mov dword [ecx + eax*8], esi
jmp 0x40270e
cmp dword [ecx + eax*8 + 4], ebx
jne 0x40270e
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8