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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x1000c7e8
mov edi, dword [0x1001d0a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x1000c6f7
test byte [0x1000d078], 8
jne 0x1000c790
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x1000d088], 8
jne 0x1000c750
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf_1
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x1000c699
cmp esi, 3
jbe 0x1000c708
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x1000c6aa
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x10017660]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x1000c699
mov dword [esp], 0x1000d088
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x1000c670
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf_1
add edi, eax
jmp 0x1000c670
mov dword [esp], 0x1000d078
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x1000c65b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf_1
lea edi, [ebx + eax]
jmp 0x1000c663
mov eax, 0xffffffff
jmp 0x1000c6f7
Function at 0x40152a
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
lea eax, [ebp - 0x124]
mov dword [esp + 8], 1
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x120]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10c]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [ebp - 0x124], 0x14
mov byte [ebp - 0x10c], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
movzx eax, word [ebp - 0x120]
sub esp, 0x14
leave
sub eax, 0x41
ret

Function at 0x401586
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 0
call fcn.0040152a
test eax, eax
jne 0x401620
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x4020b6
sub eax, 0x401654
mov dword [esp], 0x401654
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401620
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.00401420
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.004014a3
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b600
mov dword [esp], 0x40300c
call fcn.00401db9
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x4153e0
Capabilities:
Execute syscall

Disassembly:
mov byte [0xa13f9343], al
jae 0x4153bb
loopne 0x4153cc
mov ebp, 0x1fa1c818
sbb bh, bl
mov eax, dword [0x13040f67]
mov ebp, 0x424a9818
out 0x21, eax
sbb byte [eax + 0x21e7424a], bl
mov byte [0xb5dfb108], al
test eax, 0x227fdff3
mov fs, word [ecx + 0x4a]
popal
dec edx
stosb byte es:[edi], al
cli
sahf
mov ah, 0xbd
invalid
jne 0x4153a5
cmpsd dword [esi], dword es:[edi]
and dword [0x20a623aa], esp
dec ebx
sub dh, byte [edi]
xor cl, byte [ecx]
inc edx
invalid

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

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

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edi, edi
push str.UxTheme.dll
mov ebx, eax
mov dword [esi], edi
call ebp
mov dword [esi + 4], eax
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov eax, dword [0x4c4974]
cmp eax, edi
jne 0x417ccb
cmp dword [0x4c4978], edi
jne 0x417ccb
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp ebx, edi
mov dword [0x4c4a60], eax
je 0x417c7a
mov ecx, dword [0x4c4b2c]
push 0x4c480c
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
cmp ebx, edi
jne 0x417c9c
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x417cbe
push str.GetLogicalProcessorInformation
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetLogicalProcessorInformationEx
push ebx
mov dword [0x4c4974], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c4978], eax
mov edx, dword [0x4c4a60]
push edx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push str.dwmapi.dll
call ebp
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
cmp eax, edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
je 0x417cf3
push str.OpenThemeData
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x14], eax
jmp 0x417d26
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov eax, dword [esi + 8]
cmp eax, edi
je 0x417d44
push str.DwmIsCompositionEnabled
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x58], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4b9fd1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c13d8
cmp edx, dword [eax]
je 0x4b9ff3
add eax, 8
inc ecx
cmp eax, 0x4c1468
jl 0x4b9fe4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c13d8]
jne 0x4ba121
mov eax, dword [0x4c5d6c]
cmp eax, 1
je 0x4ba0fb
test eax, eax
jne 0x4ba024
cmp dword [0x4c1304], 1
je 0x4ba0fb
cmp edx, 0xfc
je 0x4ba121
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba05b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004ba9b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bae40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba09e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bae40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf694
push edi
call fcn.004bcd10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004ba9b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004ba9c0
lea eax, [ebp - 0xa0]
push 0x4bf674
push eax
call fcn.004ba9c0
push dword [esi + 0x4c13dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004ba9c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bcc84
add esp, 0x2c
pop edi
jmp 0x4ba121
lea eax, [ebp + 8]
lea esi, [esi + 0x4c13dc]
push 0
push eax
push dword [esi]
call fcn.004bae40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x408e54
nop
nop
mov ecx, 0xdf93213
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4c5b5811
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x9ffd11d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
stc
lea edi, [ecx + 0x34bf214d]
btc si, di
mov esi, dword [esp + 0x60]
lea ebp, [esi*4 + 0x101d88b6]
ror bp, cl
movzx di, al
xchg di, bp
bswap esi
movzx bp, dl
jmp 0x9ffe0da
rol esi, 0x18
inc bp
movsx bp, cl
lea edi, [ebx - 0x48ed468a]
dec esi
stc
sal bp, 0xc
btc ebp, esi
lea ebp, [esp + 0x30]
bt bx, di
sub esp, 0x90
not di
mov di, 0x7028
jmp 0x9ffeb7b
mov edi, esp
pushfd
lea esp, [esp + 4]
jmp fcn.09ffbfe7
Function at 0x4058a0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, eax
cmp esi, 0xffffffff
jne 0x405951
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword fs:[0x2c]
mov edi, eax
mov edx, dword [ecx]
mov ecx, dword [0x638d08]
cmp ecx, dword [edx + 4]
jle 0x4058ff
push 0x638d08
call fcn.0056f6db
add esp, 4
cmp dword [0x638d08], esi
jne 0x4058ff
call fcn.00404a40
push 0x638d08
call fcn.0056f69c
add esp, 4
mov ecx, dword [0x638d30]
mov eax, dword [0x638d34]
mov dword [ebp - 0xc], edi
cmp ecx, 0x25c5e09b
jne 0x40591c
cmp eax, 0x8fafd21e
je 0x40592b
cmp ecx, 0x257edf0d
jne 0x405932
cmp eax, 0xb2ab117a
jne 0x405932
test edi, edi
setne al
jmp 0x405942
mov eax, dword [0x638d28]
mov ecx, 0x638d28
push edi
mov eax, dword [eax + 0x18]
call eax
mov byte [ebp - 8], al
mov dword [ebp - 4], 0x638d28
pop edi
test al, al
jne 0x405958
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x5ff5f0
lea ecx, [ebp - 0xc]
call fcn.004056f0
int3

Function at 0x405970
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x627fe8]
xor eax, esp
mov dword [esp + 0x194], eax
push 0x638d00
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x4059b2
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x638d04
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0056f596
mov esp, ebp
pop ebp
ret

Function at 0x405cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor esi, esi
push 0
push 0xff
call fcn.00405b50
mov byte [esi + edi], al
add esp, 8
inc esi
cmp esi, 8
jb 0x405d01
xor esi, esi
nop dword [eax + eax]
xor byte [esi + ebx], 0x40
mov eax, esi
and eax, 7
mov ecx, esi
and ecx, 0x1ff
mov dl, byte [eax + edi]
xor dl, byte [esi + ebx]
mov byte [esi + ebx], dl
mov al, byte [eax + edi]
add al, dl
xor al, byte [ecx + 0x5ff1c8]
sub al, byte [ecx + 0x5fedc8]
add al, byte [ecx + 0x5fe5c8]
xor al, byte [ecx + 0x5febc8]
add al, byte [ecx + 0x5fe9c8]
xor al, byte [ecx + 0x5fe3c0]
sub al, byte [ecx + 0x5fe7c8]
sub al, byte [ecx + 0x5fefc8]
mov byte [esi + ebx], al
inc esi
cmp esi, 0x40
jl 0x405d20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, edx
xor esi, esi
push edi
mov edi, ecx
test ebx, ebx
jle 0x405e0f
mov eax, 0x81020409
imul ebx
add edx, ebx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 4], eax
nop word [eax + eax]
mov ecx, dword [ebp + 8]
mov eax, esi
and eax, 0x1ff
mov dl, byte [eax + 0x5fefc8]
add dl, byte [eax + 0x5fe7c8]
add dl, byte [esi + edi]
xor dl, byte [eax + 0x5fe3c0]
sub dl, byte [eax + 0x5fe9c8]
xor dl, byte [eax + 0x5febc8]
sub dl, byte [eax + 0x5fe5c8]
add dl, byte [eax + 0x5fedc8]
xor dl, byte [eax + 0x5ff1c8]
mov eax, esi
and eax, 7
mov byte [esi + edi], dl
add ecx, eax
mov al, byte [ebp - 4]
add al, al
add al, bl
sub dl, byte [ecx]
mov byte [esi + edi], dl
xor al, dl
xor al, byte [ecx]
mov byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x405db0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 1
mov dword [0x638dc0], edi
mov dword [0x638dc4], ecx
nop dword [eax]
push 0x5851f42d
mov edx, ecx
xor eax, eax
push 0x4c957f2d
shr edx, 0x1e
xor eax, ecx
xor edx, edi
push eax
push edx
call fcn.005701a0
mov edi, eax
mov ecx, edx
mov eax, esi
cdq
add edi, eax
mov dword [esi*8 + 0x638dc0], edi
adc ecx, edx
mov dword [esi*8 + 0x638dc4], ecx
inc esi
cmp esi, 0x138
jl 0x406760
pop edi
mov dword [0x638db8], 0x138
pop esi
pop ebp
ret 0x10
Function at 0x407f00
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, edx
mov eax, 0x40
push edi
mov edi, ecx
mov edx, dword [esi]
and edx, 0x3f
mov byte [edx + esi + 0x18], 0x80
inc edx
sub eax, edx
cmp eax, 8
jae 0x407f41
push eax
lea eax, [esi + 0x18]
add eax, edx
push 0
push eax
call fcn.00574fa0
push 0x40
lea edx, [esi + 0x18]
mov ecx, esi
call fcn.00407480
add esp, 0x10
mov eax, 0x40
xor edx, edx
add eax, 0xfffffff8
push eax
lea eax, [esi + 0x18]
add eax, edx
push 0
push eax
call fcn.00574fa0
shl dword [esi], 3
lea edx, [esi + 0x18]
movzx eax, byte [esi]
mov ecx, esi
mov byte [esi + 0x50], al
mov eax, dword [esi]
shr eax, 8
mov byte [esi + 0x51], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x52], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x53], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x54], al
mov eax, dword [esi + 4]
shr eax, 8
mov byte [esi + 0x55], al
movzx eax, byte [esi + 6]
mov byte [esi + 0x56], al
movzx eax, byte [esi + 7]
push 0x40
mov byte [esi + 0x57], al
call fcn.00407480
movzx eax, byte [esi + 8]
mov byte [edi], al
mov eax, dword [esi + 8]
shr eax, 8
mov byte [edi + 1], al
movzx eax, byte [esi + 0xa]
mov byte [edi + 2], al
movzx eax, byte [esi + 0xb]
mov byte [edi + 3], al
movzx eax, byte [esi + 0xc]
mov byte [edi + 4], al
mov eax, dword [esi + 0xc]
shr eax, 8
mov byte [edi + 5], al
movzx eax, byte [esi + 0xe]
mov byte [edi + 6], al
movzx eax, byte [esi + 0xf]
mov byte [edi + 7], al
movzx eax, byte [esi + 0x10]
mov byte [edi + 8], al
mov eax, dword [esi + 0x10]
shr eax, 8
mov byte [edi + 9], al
movzx eax, byte [esi + 0x12]
mov byte [edi + 0xa], al
movzx eax, byte [esi + 0x13]
mov byte [edi + 0xb], al
movzx eax, byte [esi + 0x14]
mov byte [edi + 0xc], al
mov eax, dword [esi + 0x14]
shr eax, 8
mov byte [edi + 0xd], al
movzx eax, byte [esi + 0x16]
push 0x98
mov byte [edi + 0xe], al
movzx eax, byte [esi + 0x17]
push 0
push esi
mov byte [edi + 0xf], al
call fcn.00574fa0
add esp, 0x1c
pop edi
pop esi
ret

Function at 0x408030
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x627fe8]
xor eax, esp
mov dword [esp + 0xa0], eax
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [esp + 0x14], 0x67452301
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00407e50
add esp, 4
lea edx, [esp + 8]
mov ecx, esi
call fcn.00407f00
mov ecx, dword [esp + 0xa4]
pop esi
xor ecx, esp
call fcn.0056f596
mov esp, ebp
pop ebp
ret
Function at 0x4080f0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0632
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x627fe8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x2c0], esi
push edi
mov dword [ebp - 0x2bc], 0
lea eax, [ebp - 0x220]
push 0x200
push 1
push eax
mov dword [ebp - 0x2c4], esi
mov dword [ebp - 0x2b0], 0x67452301
mov dword [ebp - 0x2ac], 0xefcdab89
mov dword [ebp - 0x2a8], 0x98badcfe
mov dword [ebp - 0x2a4], 0x10325476
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0
call fcn.0057bc5f
add esp, 0x10
test eax, eax
je 0x4081bd
nop
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x2b8]
call fcn.00407e50
push edi
push 0x200
lea eax, [ebp - 0x220]
push 1
push eax
call fcn.0057bc5f
add esp, 0x14
test eax, eax
jne 0x408190
lea edx, [ebp - 0x2b8]
lea ecx, [ebp - 0x20]
call fcn.00407f00
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x4081f1
mov eax, dword [esi]
jmp 0x4081f3
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x2bc], 1
nop dword [eax]
mov bh, byte [ebp + edi - 0x20]
mov ecx, dword [esi + 0x14]
mov al, bh
shr al, 4
cmp al, 0xa
sbb bl, bl
add al, 0x57
and bl, 0xd9
add bl, al
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x40825e
inc eax
cmp eax, 0xfffffffe
ja 0x408304
cmp ecx, eax
jae 0x408249
push dword [esi + 0x10]
mov ecx, esi
push eax
call fcn.00406a00
jmp 0x40825e
test eax, eax
jne 0x40825e
mov dword [esi + 0x10], eax
cmp ecx, 0x10
jb 0x408259
mov eax, dword [esi]
jmp 0x40825b
mov eax, esi
mov byte [eax], 0
cmp dword [esi + 0x14], 0x10
jb 0x408268
mov ecx, dword [esi]
jmp 0x40826a
mov ecx, esi
mov eax, dword [esi + 0x10]
and bh, 0xf
mov byte [ecx + eax], bl
inc dword [esi + 0x10]
cmp bh, 0xa
mov eax, dword [esi + 0x10]
sbb bl, bl
and bl, 0xd9
add bl, 0x57
mov byte [eax + ecx], 0
add bl, bh
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
jne 0x4082c0
inc eax
cmp eax, 0xfffffffe
ja 0x408304
cmp ecx, eax
jae 0x4082ab
push dword [esi + 0x10]
mov ecx, esi
push eax
call fcn.00406a00
jmp 0x4082c0
test eax, eax
jne 0x4082c0
mov dword [esi + 0x10], eax
cmp ecx, 0x10
jb 0x4082bb
mov eax, dword [esi]
jmp 0x4082bd
mov eax, esi
mov byte [eax], 0
cmp dword [esi + 0x14], 0x10
jb 0x4082ca
mov ecx, dword [esi]
jmp 0x4082cc
mov ecx, esi
mov eax, dword [esi + 0x10]
inc edi
mov byte [ecx + eax], bl
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
mov byte [eax + ecx], 0
cmp edi, 0x10
jb 0x408210
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056f596
mov esp, ebp
pop ebp
ret
push 0x5fe374
call fcn.005709fc
int3
Function at 0x408f20
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, edx
mov eax, 0x40
push edi
mov edi, ecx
mov edx, dword [esi]
and edx, 0x3f
mov byte [edx + esi + 0x18], 0x80
inc edx
sub eax, edx
cmp eax, 8
jae 0x408f61
push eax
lea eax, [esi + 0x18]
add eax, edx
push 0
push eax
call fcn.00574fa0
push 0x40
lea edx, [esi + 0x18]
mov ecx, esi
call fcn.004084a0
add esp, 0x10
mov eax, 0x40
xor edx, edx
add eax, 0xfffffff8
push eax
lea eax, [esi + 0x18]
add eax, edx
push 0
push eax
call fcn.00574fa0
shl dword [esi], 3
lea edx, [esi + 0x18]
movzx eax, byte [esi]
mov ecx, esi
mov byte [esi + 0x50], al
mov eax, dword [esi]
shr eax, 8
mov byte [esi + 0x51], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x52], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x53], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x54], al
mov eax, dword [esi + 4]
shr eax, 8
mov byte [esi + 0x55], al
movzx eax, byte [esi + 6]
mov byte [esi + 0x56], al
movzx eax, byte [esi + 7]
push 0x40
mov byte [esi + 0x57], al
call fcn.004084a0
movzx eax, byte [esi + 8]
mov byte [edi], al
mov eax, dword [esi + 8]
shr eax, 8
mov byte [edi + 1], al
movzx eax, byte [esi + 0xa]
mov byte [edi + 2], al
movzx eax, byte [esi + 0xb]
mov byte [edi + 3], al
movzx eax, byte [esi + 0xc]
mov byte [edi + 4], al
mov eax, dword [esi + 0xc]
shr eax, 8
mov byte [edi + 5], al
movzx eax, byte [esi + 0xe]
mov byte [edi + 6], al
movzx eax, byte [esi + 0xf]
mov byte [edi + 7], al
movzx eax, byte [esi + 0x10]
mov byte [edi + 8], al
mov eax, dword [esi + 0x10]
shr eax, 8
mov byte [edi + 9], al
movzx eax, byte [esi + 0x12]
mov byte [edi + 0xa], al
movzx eax, byte [esi + 0x13]
mov byte [edi + 0xb], al
movzx eax, byte [esi + 0x14]
mov byte [edi + 0xc], al
mov eax, dword [esi + 0x14]
shr eax, 8
mov byte [edi + 0xd], al
movzx eax, byte [esi + 0x16]
push 0x98
mov byte [edi + 0xe], al
movzx eax, byte [esi + 0x17]
push 0
push esi
mov byte [edi + 0xf], al
call fcn.00574fa0
add esp, 0x1c
pop edi
pop esi
ret