joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404f80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404fe6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403998
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004027e8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404fd0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404fed
lea eax, [ebp - 0x10]
call fcn.00403734
ret

Function at 0x405f8c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x406096
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x405fdf
push 0x105
lea eax, [ebp - 0x109]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x109]
mov eax, dword [ebp - 4]
call fcn.00403824
jmp 0x40607d
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
mov eax, ebx
call fcn.00405f40
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.00405f60
mov ebx, eax
test esi, esi
je 0x406007
dec esi
test esi, esi
jl 0x406007
cmp edi, ebx
jne 0x405fe6
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x110]
mov edx, edi
call fcn.0040392c
mov eax, dword [ebp - 0x110]
mov ecx, ebx
sub ecx, edi
mov edx, 1
call fcn.00403c24
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004039c4
cmp eax, 2
jl 0x40607d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax], 0x22
jne 0x40607d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004039c4
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x22
jne 0x40607d
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004039c4
mov ecx, eax
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.00403c24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40609d
lea eax, [ebp - 0x110]
call fcn.00403734
ret

Function at 0x406160
Capabilities:
Create thread

Disassembly:
push ebx
mov eax, dword [0x41a798]
mov byte [eax], 1
mov edx, dword [0x405698]
xor eax, eax
call fcn.00407d30
mov ebx, eax
mov byte [ebx + 0x18], 1
lea eax, [ebx + 0x1e]
push eax
push 4
push ebx
push 0x406150
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebx + 0x1a], eax
mov eax, ebx
pop ebx
ret

Function at 0x406224
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jbe 0x40623f
mov byte [ebx + 0x18], 1
pop ebx
ret
cmp word [ebx + 0x2c], 0
je 0x40624e
mov edx, ebx
mov eax, dword [ebx + 0x2e]
call dword [ebx + 0x2a]
pop ebx
ret

Function at 0x406250
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_TerminateThread
mov byte [ebx + 0x19], 1
pop ebx
ret
Function at 0x4086c8
Capabilities:
Get file attributes

Disassembly:
call fcn.00405910
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
je 0x4086dc
dec eax
and al, 0x10
sete al
ret

Function at 0x4097a4
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x37], 0xef
test dl, dl
je 0x4097b0
or byte [eax + 0x37], 0x10
mov byte [eax + 0x52], dl
mov ecx, dword [eax + 0x28]
jecxz 0x4097cc
push eax
je 0x4097cd
call dword [0x41a120]
pop eax
push 5
push dword [eax + 0x28]
call sub.user32.dll_ShowWindow
ret
mov byte [eax + 0x174], dl
push 0
push ecx
call sub.user32.dll_ShowWindow
pop eax
call dword [0x41a120]
ret

Function at 0x40c724
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c75d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403824
jmp 0x40c766
mov eax, ebx
mov edx, esi
call fcn.00403788
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c770
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c791
mov al, byte [esp]
jmp 0x40c793
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ce18
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cc90
mov eax, dword [0x41a904]
cmp byte [eax], 0
je 0x40ce94
mov eax, dword [0x41a7d4]
call fcn.00402748
call fcn.00402624
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040bc18
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40cedc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ceca
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x41a7a0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x41b660]
call fcn.00404778
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40d888
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d8ec
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403998
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040baec
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d8f3
lea eax, [ebp - 0xc]
call fcn.00403734
ret
Function at 0x40e6d4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40e8be
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40e708
mov eax, dword [ebp - 8]
call fcn.00403734
jmp 0x40e8a8
mov eax, dword [ebp - 4]
call fcn.004039c4
mov dword [ebp - 0xc], eax
test byte [ebp - 0xc], 3
je 0x40e747
push 0x40e8d4
push dword [ebp - 4]
push 0x40e8f8
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00403a84
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x40afbc]
call fcn.0040cee0
call fcn.00403174
mov eax, dword [ebp - 0xc]
shr eax, 2
lea eax, [eax + eax*2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
call fcn.00403824
mov ebx, 1
mov esi, 1
cmp ebx, dword [ebp - 0xc]
jg 0x40e87d
mov edx, 4
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + ebx - 1]
cmp ecx, 0x3d
jg 0x40e79c
je 0x40e7e2
sub ecx, 0x2b
je 0x40e7d8
sub ecx, 4
je 0x40e7dd
dec ecx
sub ecx, 0xa
jb 0x40e7ca
jmp 0x40e7e7
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x40e7ae
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x40e7bc
jmp 0x40e7e7
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
sub cl, 0x41
mov byte [eax], cl
jmp 0x40e812
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
sub cl, 0x47
mov byte [eax], cl
jmp 0x40e812
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
add cl, 4
mov byte [eax], cl
jmp 0x40e812
mov byte [eax], 0x3e
jmp 0x40e812
mov byte [eax], 0x3f
jmp 0x40e812
mov byte [eax], 0
jmp 0x40e812
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea eax, [ebp - 0x20]
push eax
push 0
mov ecx, 0x40e908
mov dl, 1
mov eax, dword [0x40afbc]
call fcn.0040cf1c
call fcn.00403174
inc ebx
inc eax
dec edx
jne 0x40e77b
mov eax, dword [ebp - 8]
call fcn.00403c1c
xor edx, edx
mov dl, byte [ebp - 0x14]
shl edx, 2
xor ecx, ecx
mov cl, byte [ebp - 0x13]
shr ecx, 4
or edx, ecx
mov byte [eax + esi - 1], dl
mov eax, dword [ebp - 8]
call fcn.00403c1c
xor edx, edx
mov dl, byte [ebp - 0x13]
shl edx, 4
xor ecx, ecx
mov cl, byte [ebp - 0x12]
shr ecx, 2
or edx, ecx
mov byte [eax + esi], dl
mov eax, dword [ebp - 8]
call fcn.00403c1c
xor edx, edx
mov dl, byte [ebp - 0x12]
shl edx, 6
xor ecx, ecx
mov cl, byte [ebp - 0x11]
or edx, ecx
mov byte [eax + esi + 1], dl
add esi, 3
cmp ebx, dword [ebp - 0xc]
jle 0x40e773
mov edx, dword [ebp - 4]
mov eax, 0x40e92c
call fcn.00403cac
mov ebx, eax
test ebx, ebx
je 0x40e8a8
mov eax, dword [ebp - 0xc]
sub eax, ebx
inc eax
mov ebx, eax
mov edx, dword [ebp - 0x10]
sub edx, ebx
inc edx
mov eax, dword [ebp - 8]
mov ecx, ebx
call fcn.00403c64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e8c5
lea eax, [ebp - 0x18]
call fcn.00403734
ret

Function at 0x40f274
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.004027ac
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x410fdc
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
mov byte [0x41a5c4], 1
push esp
xor edx, edx
mov al, 1
call fcn.004055c4
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
sete al
add esp, 0x190
ret

Function at 0x411018
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x10c], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403bb4
xor eax, eax
push ebp
push 0x41124d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.00408574
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.0040853c
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 4]
call fcn.004037cc
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00406f64
test eax, eax
jl 0x4110c9
lea ecx, [ebp - 0x110]
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00407058
cmp dword [ebp - 0x110], 0
je 0x4110c9
mov ecx, esi
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00407058
jmp 0x411217
cmp byte [0x41a5c4], 0
jne 0x4110de
mov eax, esi
call fcn.00403734
jmp 0x411217
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.004027ac
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x104]
mov edx, dword [ebp - 4]
call fcn.004085c4
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x41119d
mov edx, dword [eax + 0xc]
test edx, edx
je 0x411194
mov edi, dword [edx]
test edi, edi
je 0x41118b
push esi
xor eax, eax
mov al, byte [edi]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0
xor eax, eax
mov al, byte [edi + 1]
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x124], 0
xor eax, eax
mov al, byte [edi + 2]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0
xor eax, eax
mov al, byte [edi + 3]
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x114], 0
lea edx, [ebp - 0x130]
mov ecx, 3
mov eax, 0x411264
call fcn.0040865c
jmp 0x4111a4
mov eax, esi
call fcn.00403734
jmp 0x4111a4
mov eax, esi
call fcn.00403734
jmp 0x4111a4
mov eax, esi
call fcn.00403734
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00406f64
test eax, eax
jl 0x4111c2
mov ecx, dword [esi]
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00407104
jmp 0x4111ea
push dword [ebp - 4]
push 0x411278
push dword [esi]
lea eax, [ebp - 0x134]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x134]
mov eax, dword [ebx + 0x40]
call fcn.0040a450
cmp dword [esi], 0
jne 0x411217
lea eax, [ebp - 0x138]
mov ecx, 0x411284
mov edx, dword [ebp - 4]
call fcn.00403a10
mov edx, dword [ebp - 0x138]
mov eax, dword [0x41a810]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
call fcn.00412bfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411254
lea eax, [ebp - 0x138]
mov edx, 2
call fcn.00403758
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00403758
lea eax, [ebp - 4]
call fcn.00403734
ret
Function at 0x41152c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00403bb4
xor eax, eax
push ebp
push 0x411696
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x411572
inc eax
jne 0x4115a0
push 0x4116b0
push dword [esi + 0xc]
push 0x4116cc
lea edx, [ebp - 0x18]
mov eax, edi
call fcn.00408488
push dword [ebp - 0x18]
lea eax, [esi + 4]
mov edx, 4
call fcn.00403a84
xor ebx, ebx
jmp 0x411678
push 4
lea eax, [esi + 0x4c]
push eax
push 0x1005
push 0xffff
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_setsockopt
inc eax
je 0x4115d8
push 4
lea eax, [esi + 0x4c]
push eax
push 0x1006
push 0xffff
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_setsockopt
inc eax
jne 0x4115f9
lea eax, [esi + 4]
mov edx, 0x4116d8
call fcn.00403788
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_closesocket
mov dword [esi + 8], 0xffffffff
xor ebx, ebx
jmp 0x411678
cmp dword [esi + 0x58], 0
je 0x411626
mov eax, dword [esi + 0x58]
call fcn.00403bc4
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
mov ax, word [esi + 0x5c]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x12], ax
mov word [ebp - 0x14], 2
jmp 0x411647
mov eax, dword [ebp - 4]
call fcn.00403bc4
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
push edi
call sub.wsock32.dll_htons
mov word [ebp - 0x12], ax
mov word [ebp - 0x14], 2
push 0x10
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_connect
inc eax
jne 0x411678
lea eax, [esi + 4]
mov edx, 0x4116f8
call fcn.00403788
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_closesocket
mov dword [esi + 8], 0xffffffff
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41169d
lea eax, [ebp - 0x18]
call fcn.00403734
lea eax, [ebp - 4]
call fcn.00403734
ret
Function at 0x4140fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffef8
mov ebx, eax
lea esi, [esp + 4]
mov eax, ebx
call fcn.00403734
push esp
push 0x20019
push 0
push 0x4141e4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x414176
xor eax, eax
mov dword [esi], eax
lea eax, [esp + 8]
mov byte [eax], 0
inc dword [esi]
inc eax
cmp dword [esi], 0x100
jne 0x414134
mov dword [esi], 0xff
push esi
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 0x41420c
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x414176
mov eax, ebx
lea edx, [esp + 8]
mov ecx, pe_nt_image_headers32
call fcn.00403998
jmp 0x4141d9
push esp
push 0x20019
push 0
push 0x4141e4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4141d9
xor eax, eax
mov dword [esi], eax
lea eax, [esp + 8]
mov byte [eax], 0
inc dword [esi]
inc eax
cmp dword [esi], 0x100
jne 0x414199
mov dword [esi], 0xff
push esi
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 0x41420c
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4141d9
mov eax, ebx
lea edx, [esp + 8]
mov ecx, pe_nt_image_headers32
call fcn.00403998
add esp, 0x108
pop esi
pop ebx
ret
Function at 0x40fda0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10020
call fcn.00425bc0
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x491380]
mov dl, byte [eax + 0x491378]
mov byte [esp + eax + 0xc], cl
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 8
jl 0x40fdb0
lea eax, [esp]
push 0x486700
push eax
call fcn.00414340
push 4
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00411920
add esp, 0x14
push ebx
push ebp
push esi
mov dword [esp + 0x14], 0
push edi
jmp 0x40fe00
mov eax, dword [esp + 0x10034]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [esp + 0x38]
push 1
push edx
call fcn.00415b60
add esp, 0x10
invalid
clc

Function at 0x40ff40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
push esi
push 0x4838e8
or eax, 0xffffffff
call fcn.0040fed0
mov esi, eax
add esp, 4
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00414340
push esi
call fcn.00411c9f
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00410010
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.00410040
mov dword [edi + 8], 0
mov eax, dword [edi + 8]
xor ecx, ecx
lea esp, [esp]
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x40ffa0
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x4866e0
push eax
call fcn.004157b6
add esp, 8
mov dword [edi], eax
test eax, eax
je 0x42bc9b
push edi
call fcn.0040fda0
test eax, eax
je 0x42bca5
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.00415844
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x40ffff
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00415b60
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044bc90
xor eax, eax
mov dword [edi + 8], 0
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x42bcd5
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00415e34
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x40ffff

Function at 0x410010
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00413ba0
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x435569
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x464]
test eax, eax
je 0x43557f
cmp eax, 0x10000
jne 0x4355a3
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
push eax
push 0x10000
push 1
push ecx
call fcn.00415b60
add esp, 0x10
mov dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov edx, dword [esi + 0x45c]
mov al, byte [ecx + edx]
inc ecx
mov dword [esi + 0x464], ecx
pop esi
ret 4
Function at 0x4355bd
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x460]
test eax, eax
je 0x4355ec
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x458]
push ecx
push eax
push 1
push edx
call fcn.0041507e
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 4

Function at 0x4355f0
Capabilities:
Write file on windows

Disassembly:
mov dl, byte [esp + 8]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x458]
mov ecx, dword [esi + 0x460]
mov byte [eax + ecx], dl
inc dword [esi + 0x460]
mov eax, dword [esi + 0x460]
cmp eax, 0x10000
jne 0x43563f
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x458]
push eax
push 0x10000
push 1
push ecx
call fcn.0041507e
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 8

Function at 0x4356e8
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x14], 1
jne 0x43570e
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00411920
add esp, 0xc
jmp 0x435723
mov edx, dword [esi + 0x1c]
push edx
push 8
lea eax, [esp + 0xc]
push 1
push eax
call fcn.00415b60
add esp, 0x10
movzx ecx, byte [esp + 8]
movzx edx, byte [esp + 9]
movzx eax, byte [esp + 0xa]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0xb]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x14]
shl ecx, 8
or ecx, edx
mov dword [eax], ecx
lea ecx, [esp + 4]
push 0x4866f0
push ecx
mov byte [esp + 0x10], 0
call fcn.00415b80
add esp, 8
neg eax
sbb eax, eax
neg eax
pop esi
add esp, 8
ret 8
Function at 0x443235
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 1
call dword [0x481778]
cmp dword [esp + 0x14], 0
jne 0x44308b
mov dword [esp + 0x14], 0x400
cmp dword [esp + 0x10], 0
je 0x4430e4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00434f3e
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
push edi
push ebx
call dword [0x481744]
test eax, eax
je 0x443112
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4430db
push eax
push edi
lea ecx, [esi + 0x44]
push ecx
call fcn.00434ed0
mov eax, dword [esp + 0x10]
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x443092
jmp 0x4430e4
push edi
call fcn.00411c9f
add esp, 4
mov edx, dword [esi + 8]
or edx, dword [esi + 0xc]
jne 0x443100
push edx
push 0xdeadbeef
push 0x21
push esi
call fcn.0044301e
pop edi
pop esi
pop ebx
ret 8
push 1
push 0
push 0
push esi
call fcn.0044301e
pop edi
pop esi
pop ebx
ret 8
push edi
call fcn.00411c9f
add esp, 4
push 0
push 0xdeadbeef
push 0x20
push esi
call fcn.0044301e
pop edi
pop esi
pop ebx
ret 8
sub esp, 0x40c
push ebx
push esi
mov esi, dword [esp + 0x418]
mov eax, dword [esi + 0x34]
push edi
push 0x486714
push eax
mov dword [esp + 0x1c], 0x414c44
call fcn.004157b6
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
test edi, edi
jne 0x44318b
push eax
push 0xdeadbeef
push 0x1f
push esi
call fcn.0044301e
mov bl, al
lea eax, [esp + 0x10]
push eax
call fcn.00434de6
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x40c
ret 8
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0x420]
lea ecx, [esp + 0xc]
push ecx
push 0x400
lea edx, [esp + 0x20]
push edx
push eax
call dword [0x481744]
test eax, eax
je 0x44320c
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4431dc
push edi
push 1
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0041507e
mov eax, dword [esp + 0x1c]
add esp, 0x10
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x443193
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x443222
push eax
push 0xdeadbeef
push 0x21
push esi
call fcn.0044301e
lea ecx, [esp + 0x10]
push ecx
mov bl, al
call fcn.00434de6
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x40c
ret 8
push 0
push 0xdeadbeef
push 0x20
push esi
call fcn.0044301e
lea edx, [esp + 0x10]
push edx
jmp 0x4431f7
push 1
push 0
push 0
push esi
call fcn.0044301e
lea edx, [esp + 0x10]
push edx
jmp 0x4431f7
mov eax, dword [esp + 4]
cmp byte [eax + 0x30], 0
mov ecx, dword [esp + 8]
je 0x443250
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x443051
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x443130