joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002f18e
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x1c], 0
push 4
lea ecx, [ebp - 4]
push ecx
push 0xffffff7f
push 0xffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.WSOCK32.dll_setsockopt
push 0x20
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call sub.WSOCK32.dll_shutdown
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
mov edx, dword [ebp - 8]
mov dword [edx + 4], 0
mov esp, ebp
pop ebp
ret

Function at 0x1002f4b0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044a3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x24], ecx
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.1000a9b0
mov ecx, dword [ebp - 0x24]
add ecx, 4
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x24], 1
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x6c], 0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x74], eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x78
call fcn.1002ac80
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x24]
mov dword [edx], 0x100483d4
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x30], 0x10
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x40], 0x190
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x44], 0
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x45], 0
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0x46], 0
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x47], 0
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x48], 0
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0x49], 0
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x4a], 0
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x4b], 0x20
push str.Arial
mov ecx, dword [ebp - 0x24]
add ecx, 0x4c
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x70], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.1002f664
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1002fbb5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044a8a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 8]
call fcn.100129d0
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x2c]
push ecx
push str.___d__
lea edx, [ebp - 0x2c]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CDC::CDC
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
call fcn.1003c6b0
push eax
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CDC::Attach
lea ecx, [ebp - 0x40]
call fcn.1000adf0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x5c]
add eax, 0x30
push eax
lea ecx, [ebp - 0x40]
call fcn.1000ae60
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CDC::SelectObject_2
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x54]
call fcn.1002df10
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 4]
mov edx, dword [ebp - 0x5c]
add eax, dword [edx + 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x5c]
add eax, dword [ecx + 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x58]
add ecx, dword [ebp - 0x44]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 0x2c]
call fcn.10027650
push eax
push 0xff
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.1003c860
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CDC::SelectObject_2
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CDC::Detach
mov ecx, dword [ebp - 0x34]
call fcn.1003c700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.1000ae40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.10041276
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100411da
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10034c2c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044dde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push edi
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x114], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x11c], 0
mov ecx, dword [ebp - 0x11c]
movsx edx, byte [ebp + ecx - 0x114]
test edx, edx
je 0x10034cce
mov eax, dword [ebp - 0x11c]
movsx ecx, byte [ebp + eax - 0x114]
cmp ecx, 0x5c
jne 0x10034cbd
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
jmp 0x10034c8f
mov ecx, dword [ebp - 0x10]
mov byte [ebp + ecx - 0x114], 0
push 0x10051b10
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + 0x48]
mov ecx, dword [eax + 0x27c]
push ecx
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + 0x48]
mov ecx, dword [eax + 0x10]
push ecx
push str.__s___d
lea edx, [ebp - 0x120]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0x48]
add ecx, 0x14
push ecx
lea edx, [ebp - 0x114]
push edx
push str._s_s
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push 1
push 0
lea ecx, [ebp - 0x120]
call fcn.10027650
push eax
lea ecx, [ebp - 0x114]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push str.MJSY100001
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + 0x48]
mov dword [eax + 0x288], 1
push 0
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + 0x48]
add eax, 0x1d8
push eax
call sub.CTI.dll_ExeRemoteFunc
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.100411da
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.100411da
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1003b3c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1004532b
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
test edi, edi
mov ebx, ecx
jne 0x1003b3eb
or eax, 0xffffffff
jmp 0x1003b58a
push 4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x18], 0
je 0x1003b410
mov ecx, eax
call fcn.1003edb0
mov ebp, eax
jmp 0x1003b412
xor ebp, ebp
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
push 0
push esi
mov eax, dword [eax + 4]
push edi
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0xffffffff
call fcn.1003edf0
test ebp, ebp
mov dword [ebx + 0x80], eax
je 0x1003b444
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
mov eax, dword [ebx + 0x80]
test eax, eax
jne 0x1003b4cd
push 2
push edi
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x1003b467
mov eax, 0xfffffffe
jmp 0x1003b58a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1003b47e
mov eax, 0xfffffffd
jmp 0x1003b58a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x1003b493
mov eax, 0xfffffffc
jmp 0x1003b58a
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 0xff
lea edx, [ebx + 0x88]
mov eax, dword [eax + 4]
push ecx
lea ecx, [ebx + 0x84]
push edx
push ecx
push edi
push eax
call fcn.1003e710
add esp, 0x14
mov dword [ebx + 0x80], eax
test eax, eax
jne 0x1003b4cd
or eax, 0xffffffff
jmp 0x1003b58a
mov ecx, ebx
call fcn.1003c5a0
mov ecx, ebx
call fcn.1003c640
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov dword [ebx + 0x298], edx
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], ecx
xor edx, edx
mov dword [ebx + 0x2ac], ecx
mov dword [ebx + 0x2a8], eax
and esi, 0xff
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx + 0x2a4], edx
mov dword [ebx + 0x2a0], edx
mov dword [ebx + 0x3d4], esi
lea edx, [ebx + 0x8c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x80]
lea ecx, [ebx + 0x2b0]
push ecx
push edx
call fcn.1003ec00
add esp, 8
call fcn.1003ed60
mov ecx, dword [ebx + 0x298]
push ebx
mov dword [ebx + 0x29c], eax
call fcn.1003e350
mov ecx, dword [ebx + 0x298]
call fcn.1003e460
mov ecx, ebx
mov dword [ebx + 0x3d8], eax
call fcn.1003b050
mov eax, 1
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x1003e840
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x9c
push ebx
mov ebx, dword [esp + 0xa8]
test ebx, ebx
push esi
je 0x1003e93b
mov esi, dword [esp + 0xa8]
test esi, esi
je 0x1003e93b
mov eax, dword [esi]
push ebp
push edi
push esi
call dword [eax + 0x6c]
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
jne 0x1003e887
push str.createcompatible_dc_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x18]
push ecx
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ebx, dword [esp + 0xc0]
test ebx, ebx
jne 0x1003e8ac
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xc4]
test ebp, ebp
jne 0x1003e8bb
mov ebp, dword [esp + 0x20]
mov edx, dword [esi]
lea eax, [esp + 0x30]
push eax
push esi
mov dword [esp + 0x38], 0x7c
mov dword [esp + 0x3c], 6
call dword [edx + 0x58]
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push edx
push esi
call dword [ecx + 0x44]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x1003e925
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x38]
push 0xcc0020
push ebp
push ebx
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x24]
push edi
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
push esi
call dword [edx + 0x68]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x14]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x9c
ret
pop esi
mov eax, 0x80004005
pop ebx
add esp, 0x9c
ret
Function at 0x1003ed60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0x28]
push ebx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
cmp eax, 0x182
je 0x1003ed9b
cmp eax, 0x1e6
je 0x1003ed9b
push eax
push ebx
push ecx
push edx
mov eax, 1
cpuid
mov dword [ebp - 4], edx
pop edx
pop ecx
pop ebx
pop eax
mov eax, dword [ebp - 4]
pop ebx
shr eax, 0x17
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x1003edf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100453d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.1003f2e0
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x20], 0
call fcn.1003f3a0
test eax, eax
jge 0x1003ee57
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.1003f310
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
lea ecx, [esp + 0xc]
call fcn.1003f320
mov edi, eax
push edi
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
test esi, esi
jne 0x1003eea1
lea ecx, [esp + 0xc]
call fcn.1003f340
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.1003f310
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
push edi
push esi
lea ecx, [esp + 0x14]
call fcn.1003f3c0
cmp edi, eax
je 0x1003eee9
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xc]
call fcn.1003f340
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.1003f310
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
lea ecx, [esp + 0xc]
call fcn.1003f340
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push ecx
push edx
push esi
push edi
push eax
mov ecx, ebx
call fcn.1003f0e0
push esi
mov edi, eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.1003f310
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
Function at 0x1003f0e0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10045474
push eax
mov eax, dword [esp + 0x20]
mov dword fs:[0], esp
sub esp, 0x144
push ebx
mov ebx, dword [esp + 0x15c]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x168]
cmp eax, esi
jne 0x1003f11d
push edi
push ebx
call fcn.1003ef40
cmp eax, 5
ja case.default.0x1003f126
jmp dword [eax*4 + 0x1003f2c8]
push str.Error:_CDXImage___Unsupported_Image_type.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp case.default.0x1003f126
lea ecx, [esp + 0xc]
call fcn.100409a0
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x160]
push eax
push edi
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x168], esi
call fcn.10040a10
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x158], 0xffffffff
call fcn.100409e0
jmp case.default.0x1003f126
lea ecx, [esp + 0xc]
call fcn.1003f410
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x160]
push edx
push edi
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x168], 1
call fcn.1003f510
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x158], 0xffffffff
call fcn.1003f450
jmp case.default.0x1003f126
lea ecx, [esp + 0xc]
call fcn.10040440
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x160]
push ecx
push edi
push ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x168], 2
call fcn.100404f0
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x158], 0xffffffff
call fcn.10040480
jmp case.default.0x1003f126
lea ecx, [esp + 0xc]
call fcn.100400e0
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x160]
push eax
push edi
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x168], 3
call fcn.100401d0
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x158], 0xffffffff
call fcn.10040120
jmp case.default.0x1003f126
lea ecx, [esp + 0xf0]
call fcn.1003fea0
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x160]
push edx
push edi
push ebx
push eax
lea ecx, [esp + 0x100]
mov dword [esp + 0x168], 4
call fcn.1003ff30
lea ecx, [esp + 0xf0]
mov esi, eax
mov dword [esp + 0x158], 0xffffffff
call fcn.1003fee0
mov ecx, dword [esp + 0x150]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret 0x14

Function at 0x1003f3c0
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 8]
neg eax
sbb eax, eax
and eax, ecx
ret 8
Function at 0x4025c0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
xor eax, eax
test ecx, ecx
je 0x4026a7
test edx, edx
je 0x4026a7
mov ebp, dword [esp + 0x28]
test ebp, ebp
mov dword [esp], ecx
je 0x40260a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x402611
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x4025f0
jmp 0x402613
mov esi, 0x1505
jmp 0x402613
mov esi, ecx
mov dword [esp + 8], edx
mov ecx, dword [esp]
mov ebp, dword [ecx + 0x20]
lea ebx, [ebp - 1]
mov edx, ebp
sub edx, 1
jb 0x4026a7
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 4], edx
jmp 0x402644
inc ebx
dec ebp
je 0x4026a5
mov eax, ebx
and eax, edx
mov edi, dword [esp + 0x10]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x4026a5
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402640
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00409190
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x402640
push dword [esp + 0x28]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.004091b0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402640
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x4026a7
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4026b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x4027b9
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4027b9
push ebx
call fcn.00409190
add esp, 4
test eax, eax
je 0x40270a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x402711
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4026f0
jmp 0x402713
mov esi, 0x1505
jmp 0x402713
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0x4027b9
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x402744
inc ebp
dec ebx
je 0x4027b7
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x4027b7
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402740
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409190
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402740
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.004091b0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402740
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4027b7
cmp dword [eax + 4], 2
mov edi, 0
jne 0x4027b9
mov edi, dword [eax + 8]
jmp 0x4027b9
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4027f0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x402858
mov esi, dword [esp + 0x30]
test esi, esi
je 0x402858
push esi
call fcn.00409190
add esp, 4
test eax, eax
je 0x40283a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x402841
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x402820
jmp 0x402843
mov ebp, 0x1505
jmp 0x402843
mov ebp, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov edx, edi
sub edx, 1
jae 0x402864
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x402884
inc ebx
dec edi
je 0x402858
mov eax, ebx
and eax, edx
mov esi, dword [esp + 0xc]
mov esi, dword [esi + eax*4]
cmp esi, 0xffffffff
je 0x402858
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x402880
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409190
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402880
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x38]
call fcn.004091b0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x402880
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x402858
cmp dword [eax + 4], 3
jne 0x402858
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x402858
Function at 0x402930
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x402a39
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402a39
push ebx
call fcn.00409190
add esp, 4
test eax, eax
je 0x40298a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x402991
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x402970
jmp 0x402993
mov esi, 0x1505
jmp 0x402993
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0x402a39
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x4029c4
inc ebp
dec ebx
je 0x402a37
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x402a37
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4029c0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409190
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4029c0
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.004091b0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4029c0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402a37
cmp dword [eax + 4], 5
mov edi, 0
jne 0x402a39
mov edi, dword [eax + 8]
jmp 0x402a39
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret