joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x44804c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x405ced
cmp byte [ebx + 0x3d], 0
je 0x405ced
mov eax, dword [ebx]
push esi
push edi
mov esi, dword [eax + 0xc]
call fcn.00401cd0
mov edi, eax
mov ecx, ebx
push edi
call esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], edi
push eax
call fcn.00406490
add esp, 8
test al, al
jne 0x405cda
mov ecx, dword [ebx + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.004065d0
sub eax, 0
je 0x405ca1
sub eax, 1
je 0x405ca5
sub eax, 2
jne 0x405cda
pop edi
mov byte [ebx + 0x3d], al
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004154ca
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x405cc2
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.004210a5
add esp, 0x10
cmp esi, eax
jne 0x405cda
cmp byte [ebx + 0x3d], 0
pop edi
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004154ca
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004154ca
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.004154ca
mov esp, ebp
pop ebp
ret

Function at 0x412e90
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x60
mov eax, dword [0x44804c]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
mov ebx, dword [esp + 0x70]
push esi
mov esi, dword [esp + 0x70]
push edi
mov edi, dword [esp + 0x70]
test esi, esi
jne 0x412eb8
push 0x57
jmp 0x412f4d
push 0x1c
lea eax, [esp + 0x10]
mov dword [esp + 0x28], 0
push eax
xorps xmm0, xmm0
push esi
push edi
movups xmmword [esp + 0x1c], xmm0
movq qword [esp + 0x2c], xmm0
call dword [0x43706c]
test eax, eax
je 0x412f53
push 0
push 0x40
lea eax, [esp + 0x30]
push eax
push esi
push edi
call dword [0x437070]
test eax, eax
je 0x412f53
mov eax, 0x5a4d
cmp word [esp + 0x28], ax
jne 0x412f48
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x18]
ja 0x412f48
cmp eax, 0x40
jb 0x412f48
push 0
push 0xf8
push ebx
add eax, esi
push eax
push edi
call dword [0x437070]
test eax, eax
je 0x412f53
cmp dword [ebx], 0x4550
jne 0x412f48
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004154ca
add esp, 0x60
ret 0xc
push 0xc1
call dword [0x43704c]
mov ecx, dword [esp + 0x68]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004154ca
add esp, 0x60
ret 0xc
Function at 0x4136a0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c8
mov eax, dword [0x44804c]
xor eax, esp
mov dword [esp + 0x1c4], eax
mov eax, dword [esp + 0x1d0]
push ebx
mov ebx, dword [esp + 0x1dc]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1dc]
push 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1e8]
push 0x1000
mov dword [esp + 0x20], eax
lea eax, [ebx + 0x1b8]
push eax
push 0
push edi
call dword [0x437064]
mov esi, eax
test esi, esi
je 0x413914
push 0x40
lea eax, [esp + 0xa0]
mov dword [esp + 0x14], 0
push 0
push eax
call fcn.00416900
mov ebp, dword [0x437074]
add esp, 0xc
mov eax, 0x5a4d
mov dword [esp + 0xd8], 0x40
mov word [esp + 0x9c], ax
lea eax, [esp + 0x10]
push eax
push 0x40
lea eax, [esp + 0xa4]
push eax
push esi
push edi
call ebp
test eax, eax
je 0x413914
cmp dword [esp + 0x10], 0x40
jne 0x413914
push 0xf8
lea eax, [esp + 0xe0]
add esi, 0x40
push 0
push eax
call fcn.00416900
add esp, 0xc
mov dword [esp + 0xdc], 0x4550
mov eax, 1
mov dword [esp + 0xf0], 0x200000e0
mov word [esp + 0xe2], ax
mov eax, 0x10b
mov word [esp + 0xf4], ax
lea eax, [esp + 0x10]
push eax
push 0xf8
lea eax, [esp + 0xe4]
push eax
push esi
push edi
call ebp
test eax, eax
je 0x413914
cmp dword [esp + 0x10], 0xf8
jne 0x413914
lea eax, [ebx + 0x58]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], eax
add esi, 0xf8
lea eax, [esp + 0x10]
mov dword [esp + 0x58], 0
push eax
push 0x28
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x7465642e
push eax
xorps xmm0, xmm0
mov dword [esp + 0x44], 0x72756f
push esi
push edi
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
mov dword [esp + 0x54], 0x160
call ebp
test eax, eax
je 0x413914
cmp dword [esp + 0x10], 0x28
jne 0x413914
lea eax, [ebx + 0x58]
mov dword [esp + 0x5c], 0x40
mov dword [esp + 0x68], eax
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movlpd qword [esp + 0x6c], xmm0
push eax
push 0x40
lea eax, [esp + 0x64]
movlpd qword [esp + 0x7c], xmm0
push eax
add esi, 0x28
movlpd qword [esp + 0x88], xmm0
push esi
push edi
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
mov dword [esp + 0x74], 0x727444
mov dword [esp + 0x78], 0x40
call ebp
test eax, eax
je 0x413914
cmp dword [esp + 0x10], 0x40
jne 0x413914
lea eax, [ebx + 0x18]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
add esi, 0x40
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
movups xmm0, xmmword [eax]
lea eax, [esp + 0x10]
push eax
push 0x18
lea eax, [esp + 0x24]
push eax
push esi
push edi
movups xmmword [esp + 0x38], xmm0
call ebp
test eax, eax
je 0x413914
cmp dword [esp + 0x10], 0x18
jne 0x413914
lea eax, [esp + 0x10]
push eax
push ebx
push dword [esp + 0x20]
lea ecx, [esi + 0x18]
push ecx
push edi
call ebp
test eax, eax
je 0x413914
cmp dword [esp + 0x10], ebx
jne 0x413914
mov eax, 1
jmp 0x413916
xor eax, eax
mov ecx, dword [esp + 0x1d4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004154ca
add esp, 0x1c8
ret 0x10
Function at 0x41615c
Capabilities:
Parse pe header

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

Function at 0x428e0a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00428c80

Function at 0x435320
Capabilities:
Parse pe header

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x40380b
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x403834
cmp al, 0x22
je 0x40382c
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x403820
cmp byte [esi], 0x22
jne 0x40383e
inc esi
jmp 0x40383e
cmp al, 0x20
jle 0x40383e
inc esi
cmp byte [esi], 0x20
jg 0x403838
mov al, byte [esi]
test al, al
je 0x403848
cmp al, 0x20
jle 0x403831
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004038b6
push 0x405004
push section..data
call fcn.0040389c
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x403878
movzx eax, word [ebp - 0x14]
jmp 0x40387b
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
jmp 0x41bc4c

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x1036526c
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x75b94f47
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4013dc
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
or eax, 0xffffffff
test esi, esi
je 0x40146e
mov cl, byte [esi]
test cl, cl
je 0x40146e
push edi
push ebx
xor ebx, ebx
cmp cl, 0x22
mov edi, dword [sym.imp.USER32.dll_CharNextA]
setne bl
dec ebx
and ebx, 2
add ebx, 0x20
push esi
call edi
mov esi, eax
mov al, byte [esi]
cmp al, bl
je 0x401429
test al, al
jne 0x40141a
cmp byte [esi], bl
jne 0x401432
push esi
call edi
mov esi, eax
mov al, byte [esi]
test al, al
je 0x40143c
cmp al, 0x20
jle 0x40142d
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x1c], 1
je 0x40145d
movzx eax, word [ebp - 0x18]
jmp 0x401460
push 0xa
pop eax
push eax
push esi
push 0
push dword [ebp - 4]
call fcn.0040113f
pop ebx
pop edi
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x1d262a06
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x62af558e
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401820
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4693df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.00402df4
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x4018ab
push eax
push esi
call fcn.00403793
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.0040337b
int3

Function at 0x4148a1
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x4148c4
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x4148b2
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x422a54
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.00432925
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x422a93
sub eax, 1
je 0x422a8e
sub eax, 1
je 0x422a8a
xor eax, eax
leave
ret
push 3
jmp 0x422a95
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x423e8a
Capabilities:
Parse pe header

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

Function at 0x4517bd
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x470dcc
push 0x470dc4
push str.FlsAlloc
push 0x1e
call fcn.0045148d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4517f1
push dword [ebp + 8]
mov ecx, esi
call dword [0x46b164]
call esi
jmp 0x4517f7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x45183b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x470ddc
push 0x470dd4
push str.FlsGetValue
push 0x20
call fcn.0045148d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x451872
push dword [ebp + 8]
mov ecx, esi
call dword [0x46b164]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x453957
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00453541
Function at 0x453962
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004536d0
Function at 0x455922
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00424320
mov eax, dword [0x47a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0045351a
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x455964
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x455ac0
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00468b10
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47cd40]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004560a9
mov ecx, dword [esi*4 + 0x47cd40]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x455ab9
cmp eax, dword [edi + ecx + 0x24]
jne 0x455ab9
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x455ab9
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004560a9
add esp, 0x14
test edx, edx
jl 0x455ab9
jg 0x455a2f
test eax, eax
jb 0x455ab9
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x455ab9
jl 0x455a49
cmp dword [ebp - 0x1008], eax
ja 0x455ab9
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x455a67
test ebx, ebx
je 0x455aa0
cmp ecx, edi
jae 0x455aa0
mov al, byte [ecx]
cmp al, 0xd
jne 0x455a81
lea eax, [edi - 1]
cmp ecx, eax
jae 0x455a8d
cmp byte [ecx + 1], 0xa
jne 0x455a8d
inc ecx
jmp 0x455a8d
movzx eax, al
movsx eax, byte [eax + 0x47a9f0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x455a67
cmp edx, ebx
jne 0x455a67
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x455abe
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00423651
leave
ret

Function at 0x459771
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00459685
Function at 0x459f96
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x47a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x459fe1
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0045a209
test al, al
jne 0x459fdb
sub edx, 2
cmp edx, edi
jne 0x459fc1
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x45a003
lea eax, [edi + 2]
cmp edx, eax
je 0x45a003
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00459c5d
add esp, 0x10
jmp 0x45a0fd
push esi
lea ecx, [ebp - 0x255]
call fcn.0045a209
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45a046
push dword [ebp - 0x25c]
jmp 0x459ff3
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x45a083
cmp word [ebp - 0x226], 0
je 0x45a0a4
cmp word [ebp - 0x226], ax
jne 0x45a083
cmp word [ebp - 0x224], 0
je 0x45a0a4
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00459c5d
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x45a0f0
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x45a05d
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x45a0d8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x45a0fd
push 0x45977c
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00465320
add esp, 0x10
jmp 0x45a0cd
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423651
leave
ret