joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412d80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UzBUtnck
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x412da2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412d98
mov eax, 1
add ebx, ebx
jne 0x412dbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412db0
jne 0x412dcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412db0
xor ecx, ecx
sub eax, 3
jb 0x412de0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412e52
mov ebp, eax
add ebx, ebx
jne 0x412deb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412df8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412e1c
inc ecx
add ebx, ebx
jne 0x412e08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412dfd
jne 0x412e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412dfd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412e3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412e2d
jmp 0x412d9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412e3c
add edi, ecx
jmp 0x412d9e
pop esi
mov edi, esi
mov ecx, 0x2ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412e5a
cmp byte [edi], 0
jne 0x412e5a
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 0x412e5f
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x412ece
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x120b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1211c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412e8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12124]
or eax, eax
je 0x412ec8
mov dword [ebx], eax
add ebx, 4
jmp 0x412ea9
call dword [esi + 0x12120]
mov ebp, dword [esi + 0x12128]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x412f02
sub esp, 0xffffff80
jmp 0x406f9c

Function at 0x4027e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40401d], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Marmimo
push str.Mimoclass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402828
xor eax, eax
jmp 0x402843
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x408992
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x4089a1
pop dword [ebp - 0x34]
mov eax, 0xa8bc4152
add eax, 0x5784484f
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x39991
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x915ba869
add ecx, 0x6ea4a11f
mov esi, eax
mov edx, 0x349b759e
sub edx, 0x345a39da
add edx, dword [ebp - 0x34]
mov edi, 0xc8d7e667
mov ebx, dword [edx]
add dword [ebp - 0x1c], 0xadd99b6
sub ebx, edi
add dword [ebp - 4], 0xe49e2abf
mov dword [esi], ebx
xor dword [ebp - 0x2c], esi
add esi, 4
add edx, 0xf29943e8
add edx, 0xd66bc1c
loop 0x4089f5
add eax, 0x118f3
mov ebx, eax
add eax, 0xb6400cd4
add eax, 0x49bff331
mov ecx, 0x9014645c
sub ecx, 0x8fd4645c
add ecx, dword [ebp - 0x34]
call ebx
leave
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 0x401215
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push edi
push 0x7f00
xor edi, edi
push edi
mov dword [ebp - 0x24], str.construct
mov dword [ebp - 0x44], 0x401000
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x4c], 0x30
call esi
push 0x7f00
push edi
mov dword [ebp - 0x34], eax
call esi
push 0x7f00
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call esi
push edi
mov dword [0x4030f0], eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x401327
push 1
push dword [0x4030f0]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push edi
push edi
call esi
push eax
push edi
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.displayed
push str.construct
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push eax
mov dword [0x4030f8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401327
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40130a
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x475145ea
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x58673d6a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

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 0x401ae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40406c], eax
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.mifedount
push str.Deltapo
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401b33
xor eax, eax
jmp 0x401b4e
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x79bf2490
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov bl, byte [eax]
push esi
cmp bl, 0xd8
je 0x79bf24c1
cmp bl, 0xd7
je 0x79bf24c1
mov esi, dword [esp + 0x14]
lea ecx, [eax + 1]
test esi, esi
jle 0x79bf24e9
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub esi, 1
jne 0x79bf24b3
pop esi
pop ebx
ret
mov esi, dword [esp + 0x10]
push esi
inc eax
push eax
call fcn.79bf250e
cmp bl, 0xd8
jne 0x79bf24e9
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jle 0x79bf24e9
lea esp, [esp]
xor byte [eax + esi], 0xf0
inc eax
cmp eax, ecx
jl 0x79bf24e0
pop esi
pop ebx
ret

Function at 0x401000
Capabilities:
Terminate process

Disassembly:
mov dword [0x402452], eax
mov edx, eax
xor edi, edi
push 2
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
xor esi, esi
push dword [0x403583]
call dword [sym.imp.winmm.dll_waveOutClose]
add eax, 6
test eax, 0xb
jne 0x401036
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
ret
Function at 0x4012ae
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
mov edx, 0xf8c9
xor eax, eax
jmp 0x4012cc
imul eax, edx
imul edx, edx, 0x5c6b7
movsx ecx, cl
add eax, ecx
inc esi
mov cl, byte [esi]
test cl, cl
jne 0x4012bd
cmp dword [ebp + 8], 0
pop esi
je 0x4012e0
xor edx, edx
div dword [ebp + 8]
mov eax, edx
pop ebp
ret

Function at 0x4016f3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromIID]
push dword [ebp - 4]
mov esi, 0x48d198
push 0x46e0bc
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 8]
push eax
push esi
push esi
push SysReAllocStringLen
mov dword [ebp - 8], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
mov eax, esi
je 0x40174d
mov eax, 0x48d1ac
pop esi
leave
ret

Function at 0x401e2e
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp + 0x18]
and dword [esi], 0
mov byte [eax], 0
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x401ea3
cmp word [ebx + 8], 2
jne 0x401e83
cmp word [ebx + 0xa], 4
jne 0x401e83
mov edi, dword [ebx + 0xc]
jmp 0x401e7d
push dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00401dc7
mov dword [esi], eax
test eax, eax
je 0x401e9e
lea esi, [eax + 0x1c]
add edi, 4
mov eax, dword [edi]
test eax, eax
jne 0x401e61
push 0x400
push dword [ebx]
push 0x401
push dword [ebp + 0x18]
call fcn.00438108
add esp, 0x10
xor eax, eax
jmp 0x401ec9
push 8
pop eax
jmp 0x401ec9
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, eax
mov eax, 0x2af9
sub ecx, eax
je 0x401ec9
dec ecx
je 0x401ec4
dec ecx
je 0x401ebd
dec ecx
jmp 0x401ec9
mov eax, 0x2afb
jmp 0x401ec9
mov eax, 0x2afa
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x4024b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
cmp dword [0x48e890], 0
push ebx
push esi
push edi
mov dword [ebp - 0x18], str.getaddrinfo
mov dword [ebp - 0x14], 0x40202d
mov dword [ebp - 0x10], str.getnameinfo
mov dword [ebp - 0xc], 0x4022fc
mov dword [ebp - 8], str.freeaddrinfo
mov dword [ebp - 4], fcn.00401ff1
jne 0x40260a
push 0x104
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x402600
lea eax, [ebp - 0x230]
push eax
mov esi, 0x10c
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.00437e27
push str.ws2_32
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.004375a9
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea eax, [ebp - 0x128]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x40256d
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x402569
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
jne 0x4025c2
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.00437e27
push str.wship6
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.004375a9
add esp, 0x18
lea eax, [ebp - 0x128]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x402600
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4025be
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x402600
xor esi, esi
push dword [ebp + esi*8 - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + esi*8 - 0x14], eax
test eax, eax
je 0x4025df
inc esi
cmp esi, 3
jl 0x4025c4
jmp 0x4025e8
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x402600
xor eax, eax
mov ecx, dword [ebp + eax - 0x14]
mov dword [eax + 0x48aac8], ecx
add eax, 8
cmp eax, 0x18
jl 0x4025ee
mov dword [0x48e890], 1
mov eax, dword [0x48aac8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40320b
Capabilities:
Hash data using sha1

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
ret
Function at 0x4034c3
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [eax + 0x1c]
mov byte [ecx + eax + 0x20], 0x80
inc dword [eax + 0x1c]
cmp ecx, 0x37
mov ecx, dword [eax + 0x1c]
jle 0x40350d
jmp 0x4034e3
mov byte [ecx + eax + 0x20], 0
inc dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x40
jl 0x4034d8
call fcn.0040330b
jmp 0x4034fa
mov ecx, dword [eax + 0x1c]
mov byte [eax + ecx + 0x20], 0
inc dword [eax + 0x1c]
cmp dword [eax + 0x1c], 0x38
jl 0x4034ef
jmp 0x403512
mov byte [ecx + eax + 0x20], 0
inc dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x38
jl 0x403502
mov ecx, dword [eax + 0x18]
mov edx, ecx
shr edx, 0x18
mov byte [eax + 0x58], dl
mov edx, ecx
shr ecx, 8
mov byte [eax + 0x5a], cl
mov cl, byte [eax + 0x18]
shr edx, 0x10
mov byte [eax + 0x5b], cl
mov ecx, dword [eax + 0x14]
mov byte [eax + 0x59], dl
mov edx, ecx
shr edx, 0x18
mov byte [eax + 0x5c], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 8
mov byte [eax + 0x5e], cl
mov cl, byte [eax + 0x14]
mov byte [eax + 0x5d], dl
mov byte [eax + 0x5f], cl
jmp fcn.0040330b

Function at 0x40369b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
mov byte [ebp - 0x14], 0
push esi
push edi
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4036b9
sub eax, ecx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00403555
add esp, 0xc
push 5
lea ecx, [ebp - 0x14]
pop edi
xor esi, esi
lea eax, [ecx + 3]
mov dl, byte [eax]
xor byte [ecx + esi], dl
mov dl, byte [ecx + esi]
xor byte [eax], dl
mov dl, byte [eax]
xor byte [ecx + esi], dl
inc esi
dec eax
cmp esi, 2
jl 0x4036dd
add ecx, 4
dec edi
jne 0x4036d8
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x10
push eax
mov eax, dword [ebp + 0xc]
call fcn.00403662
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x403711
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x4062d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
push esi
xor ebx, ebx
mov byte [ebp - 1], 1
call fcn.004396c0
add esp, 8
test eax, eax
jne 0x40631e
push 0x470dec
push esi
call fcn.004384ee
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
jne 0x406328
push esi
push str.ERROR:_Unable_to_open__s_for_reading_n
call fcn.00439cea
mov eax, dword [ebp + 0x10]
add esp, 8
test eax, eax
je 0x40631e
mov dword [eax], ebx
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0x18], bl
je 0x40637a
cmp byte [ebp + 0x14], bl
je 0x40633e
mov ecx, dword [ebp - 0x24]
inc ecx
push ecx
call fcn.00436a07
jmp 0x406348
mov edx, dword [ebp - 0x24]
inc edx
push edx
call fcn.0043694d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ecx]
add esp, 4
test eax, eax
je 0x40631e
mov edx, dword [ebp - 0x24]
mov byte [eax + edx], bl
mov eax, dword [ecx]
test eax, eax
jne 0x4063b0
push esi
push str.Unable_to_allocate_memory_to_read__s_to_mem
call fcn.00439cea
add esp, 8
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0x14], bl
je 0x40638a
mov esi, dword [ebp - 0x24]
push esi
call fcn.00436a07
jmp 0x406396
mov edx, dword [ebp - 0x24]
push edx
call fcn.0043694d
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov edx, ecx
mov dword [ecx], eax
mov eax, dword [edx]
add esp, 4
test eax, eax
jne 0x4063b3
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp - 0x24]
push edi
mov edi, eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4063bf
mov dword [eax], esi
test esi, esi
je 0x406428
sub esi, ebx
cmp esi, 0x8000
jbe 0x4063d2
mov esi, 0x8000
mov eax, dword [ebp - 8]
push eax
push esi
push 1
push edi
call fcn.0043874f
add esp, 0x10
cmp eax, esi
jne 0x4063f3
mov esi, dword [ebp - 0x24]
add ebx, eax
add edi, eax
cmp ebx, esi
jb 0x4063c3
jmp 0x406428
mov ecx, dword [ebp + 8]
push ecx
push ebx
push esi
push str.Unable_to_read__li_bytes_at_offset__li_from_file__s_n
call fcn.00439cea
mov esi, dword [ebp + 0xc]
mov edx, dword [esi]
push edx
call fcn.004369cd
mov eax, dword [ebp + 0x10]
add esp, 0x14
mov dword [esi], 0
test eax, eax
je 0x406424
mov dword [eax], 0
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
push eax
call fcn.00438be4
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x408130
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
push ebx
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
mov ebx, ecx
push edi
mov dword [ebp - 8], ebx
call fcn.004396c0
add esp, 8
test eax, eax
jne 0x4082d7
push esi
push 0x200
call fcn.00436a07
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, esi
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408173
sub eax, edx
inc eax
push eax
push edi
mov ecx, ebx
call fcn.00405dc0
mov dword [ebp - 0x10], eax
lea edi, [eax - 1]
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408190
mov dx, word [0x46f88c]
mov word [edi], dx
mov ecx, esi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4081a4
sub ecx, esi
mov edx, ecx
lea edi, [eax - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4081b2
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]
lea ecx, [ebp - 0x180]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0xc], edi
cmp edi, 0xffffffff
je 0x4082c4
mov dword [ebp - 4], 0x200
mov dword [ebp + 0x14], 0x80
cmp byte [ebp + 0x10], 0
je 0x40826b
lea eax, [ebp - 0x154]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408201
sub eax, edx
mov edx, dword [ebp + 0xc]
inc eax
push eax
push edx
mov ecx, ebx
call fcn.00405dc0
mov ebx, eax
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x408220
mov ax, word [0x46f88c]
mov word [edi], ax
lea eax, [ebp - 0x154]
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x408240
sub eax, ecx
mov esi, ecx
lea edi, [ebx - 1]
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408250
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0xc]
jmp 0x40827d
push 0
lea ecx, [ebp - 0x154]
push ecx
mov ecx, ebx
call fcn.00405dc0
mov ebx, eax
cmp dword [ebp + 0x14], 2
mov esi, dword [ebp + 8]
jae 0x4082a7
mov eax, dword [ebp - 4]
mov edx, dword [esi]
sub dword [ebp + 0x14], 0xffffff80
add eax, 0x200
push eax
push edx
mov dword [ebp - 4], eax
call fcn.00437a1d
add esp, 8
test eax, eax
je 0x4082e1
mov dword [esi], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x180]
push ecx
push edi
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ebx, dword [ebp - 8]
test eax, eax
jne 0x4081f2
lea edx, [ebp - 0x10]
push edx
mov ecx, ebx
call fcn.00405ef0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi]
test eax, eax
je 0x4082f0
push eax
call fcn.004369cd
add esp, 4
mov dword [esi], 0
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x414ae0
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x1a0]
push eax
call fcn.0042ab50
mov eax, dword [esi + 0x198]
mov ecx, dword [esi + 0x19c]
mov edx, eax
add esp, 4
or edx, ecx
je 0x414b19
add eax, 0xffffffff
adc ecx, 0xffffffff
mov dword [esi + 0x198], eax
mov dword [esi + 0x19c], ecx
jmp 0x414b24
push str.Attempt_to_reduce_CMuppet_ref_count___0_IGNORED
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x1a0]
push eax
call fcn.0042ab70
mov ecx, dword [esi + 0x120]
push ecx
call fcn.0042ab50
cmp byte [esi + 0x8a], 0
mov edx, dword [esi + 0x120]
push edx
sete bl
call fcn.0042ab70
add esp, 0xc
pop esi
mov al, bl
pop ebx
ret

Function at 0x4167a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4167b6
xor al, al
pop ebp
ret
and al, 0x10
cmp al, 0x10
sete al
pop ebp
ret

Function at 0x4167c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4167da
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [eax + 0x20]
push 0
push eax
lea ecx, [ebp - 0x80]
push str.size:__llu__hash:__s
push ecx
call fcn.00437b16
lea eax, [ebp - 0x80]
add esp, 0x14
lea edx, [eax + 1]
jmp 0x416800
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416800
sub eax, edx
cmp eax, 0x80
jae 0x416827
mov edx, 0x80
sub edx, eax
push edx
lea ecx, [ebp + eax - 0x80]
push 0
push ecx
call fcn.0043b2b0
add esp, 0xc
push esi
push 0x80
lea eax, [ebp - 0x80]
push 1
push eax
call fcn.0043a280
add esp, 0x10
cmp eax, 0x80
jne 0x4167d1
push esi
call fcn.0043a542
add esp, 4
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8