joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403360
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.00412d9b
test eax, eax
jne 0x40339c
push str.Fatal_Error:_MFC_initialization_failed_n
call fcn.0041a0f1
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x264
call fcn.00409a58
add esp, 4
test eax, eax
je 0x4033bf
push eax
call fcn.00404350
mov edi, eax
jmp 0x4033c1
xor edi, edi
mov ebx, 1
cmp dword [0x43c314], ebx
mov ebp, ebx
jle 0x403478
mov eax, dword [0x43c31c]
mov ecx, dword [eax + ebp*4]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402270
cmp dword [edi + 0x258], 0
mov esi, dword [esp + 0x10]
jne 0x403437
mov ecx, 0x432304
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403426
test dx, dx
je 0x403422
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403426
add eax, 4
add ecx, 4
test dx, dx
jne 0x403400
xor eax, eax
jmp 0x40342b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x403437
mov byte [edi + 0x220], bl
jmp 0x40344e
mov edx, dword [edi + 0x258]
lea ecx, [edi + 0x250]
push esi
push edx
call fcn.0040a0f0
mov esi, dword [esp + 0x10]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40346a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, ebx
cmp ebp, dword [0x43c314]
jl 0x4033d4
mov ecx, edi
call fcn.004050a0
cmp byte [edi + 0x220], 0
jne 0x4034af
mov ecx, dword [edi + 0x234]
cmp dword [ecx - 0xc], 0
je 0x4034af
mov edx, dword [edi + 0x238]
cmp dword [edx - 0xc], 0
je 0x4034af
mov ecx, edi
call fcn.00404d10
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov eax, dword [edi + 0x224]
push eax
call fcn.00403700
push eax
call fcn.004039f0
push 0x431260
mov ecx, edi
call fcn.00411c59
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.WScript
call fcn.00403570
call fcn.00403700
push eax
call fcn.00403880
mov eax, dword [edi + 0x230]
push ecx
sub eax, 0x10
mov dword [esp + 0x14], esp
mov esi, esp
push eax
call fcn.00401ba0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00403700
mov ebx, eax
call fcn.00403cb0
call fcn.00403700
mov esi, eax
lea ecx, [esi + 4]
call fcn.00412e4b
mov eax, dword [esi + 0x4c]
xor edi, edi
cmp eax, edi
je 0x403534
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x48]
cmp eax, edi
je 0x403543
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x403552
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x54], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10
Function at 0x404c40
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x42b828
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x438ddc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0x400
call esi
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
call fcn.0040a197
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404ca3
push 0x80004005
call fcn.00402330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x10]
push ecx
call esi
push eax
lea edx, [esp + 0x14]
push 0x4322cc
push edx
call fcn.00401cd0
mov eax, dword [esp + 0x1c]
add esp, 0xc
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push eax
call fcn.00401ba0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00406110
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4074c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42bc38
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x438ddc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x30]
call fcn.00402270
mov dword [esp + 0x24], 0
mov ecx, dword [ebp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ecx
call esi
cmp dword [ebp + 0x24], 0
je 0x4075e2
mov edx, dword [ebp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileType]
test al, 1
mov eax, dword [esp + 0x2c]
push 0
jne 0x4075c4
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
mov edi, eax
push edi
call fcn.00409a87
push edi
mov esi, eax
push 0
push esi
call fcn.0041b210
mov ecx, dword [esp + 0x3c]
add esp, 0x10
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call ebx
mov byte [esi + edi - 1], 0
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov ebx, dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push 0xfde9
mov edi, eax
call ebx
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407590
push 0
lea edx, [esp + 0x18]
push edx
sub eax, ecx
push eax
mov eax, dword [ebp + 0x20]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call ebx
push esi
call fcn.00409a92
add esp, 4
jmp 0x407630
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [ebp + 0x20]
add ecx, ecx
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 0x20]
push eax
call esi
jmp 0x407630
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00409040
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x20]
push ecx
call esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407630
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407658
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x408a00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408a10
sub eax, edx
mov dword [esp + 0x14], eax
lea edi, [ebp + 0x20]
mov eax, ebp
xor ecx, ecx
sub eax, edi
lea ebx, [eax + 0x120]
lea esp, [esp]
xor edx, edx
mov eax, ecx
div dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea esi, [edi + ecx]
mov dl, byte [edx + eax]
mov byte [esi], cl
inc ecx
cmp ecx, 0xff
mov byte [ebx + esi], dl
jle 0x408a30
xor eax, eax
mov ecx, edi
mov esi, 0x100
lea esp, [esp]
mov dl, byte [ecx]
movzx edi, byte [ecx + 0x100]
movzx ebx, dl
add edi, eax
add ebx, edi
mov eax, ebx
and eax, 0x800000ff
jns 0x408a80
dec eax
or eax, 0xffffff00
inc eax
movzx eax, al
mov bl, byte [eax + ebp + 0x20]
mov byte [ecx], bl
inc ecx
sub esi, 1
mov byte [eax + ebp + 0x20], dl
jne 0x408a60
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x408aa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
push ebp
mov ebx, eax
push edi
lea ebp, [ebx + 1]
push ebp
call fcn.00409a87
push ebp
mov edi, eax
push 0
push edi
mov dword [esp + 0x1c], edi
call fcn.0041b210
mov eax, dword [esp + 0x28]
add esp, 0x10
push eax
push esi
call fcn.00408a00
test ebx, ebx
jbe 0x408b54
mov ebp, dword [esp + 0x14]
xor eax, eax
xor ecx, ecx
sub ebp, edi
mov dword [esp + 0x18], ebx
inc eax
and eax, 0x800000ff
jns 0x408af1
dec eax
or eax, 0xffffff00
inc eax
movzx eax, al
mov dl, byte [eax + esi + 0x20]
movzx ebx, dl
add ecx, ebx
and ecx, 0x800000ff
jns 0x408b0d
dec ecx
or ecx, 0xffffff00
inc ecx
movzx ecx, cl
mov bl, byte [ecx + esi + 0x20]
mov byte [eax + esi + 0x20], bl
mov byte [ecx + esi + 0x20], dl
movzx ebx, byte [eax + esi + 0x20]
movzx edx, dl
add ebx, edx
and ebx, 0x800000ff
jns 0x408b36
dec ebx
or ebx, 0xffffff00
inc ebx
movzx edx, byte [ebx + esi + 0x20]
xor dl, byte [edi + ebp]
inc edi
sub dword [esp + 0x18], 1
mov byte [edi - 1], dl
jne 0x408ae2
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, edi
pop edi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x41236f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x438ddc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x412407
push 0x42e914
push 4
push eax
call fcn.0041a50c
push eax
call fcn.00401da0
add esp, 0x10
push ebx
push edi
call fcn.0041b192
mov edi, dword [eax]
call fcn.0041b192
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0041b12f
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0041b192
cmp dword [eax], ebx
je 0x41241e
call fcn.0041b192
push dword [eax]
call fcn.0040a32f
pop ecx
jmp 0x412425
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4123b2
jmp 0x4124ac
call fcn.0041b192
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x4124a8
cmp dword [ebp - 0x234], esi
jae 0x4124a8
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.0041b210
add esp, 0xc
push 0x42d830
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x412497
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x412497
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x412497
push ebx
push ebx
push esi
jmp 0x4124a0
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4124aa
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00419910
leave
ret

Function at 0x419910
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x438ddc]
jne 0x41991a
repz ret
jmp fcn.0041d136
Function at 0x423f80
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041cb45
and dword [ebp - 4], 0
cmp dword [0x43ce50], 0
mov ebx, eax
jne 0x424031
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4240e2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4240e2
push eax
call fcn.0041cad3
mov dword [esp], 0x430084
push edi
mov dword [0x43ce50], eax
call esi
push eax
call fcn.0041cad3
mov dword [esp], 0x430070
push edi
mov dword [0x43ce54], eax
call esi
push eax
call fcn.0041cad3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43ce58], eax
call esi
push eax
call fcn.0041cad3
pop ecx
mov dword [0x43ce60], eax
test eax, eax
je 0x424031
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041cad3
pop ecx
mov dword [0x43ce5c], eax
mov eax, dword [0x43ce5c]
cmp eax, ebx
je 0x424089
cmp dword [0x43ce60], ebx
je 0x424089
push eax
call fcn.0041cb4e
push dword [0x43ce60]
mov esi, eax
call fcn.0041cb4e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x424089
test edi, edi
je 0x424089
call esi
test eax, eax
je 0x424080
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x424080
test byte [ebp - 0xc], 1
jne 0x424089
or dword [ebp + 0x10], 0x200000
jmp 0x4240c2
mov eax, dword [0x43ce54]
cmp eax, ebx
je 0x4240c2
push eax
call fcn.0041cb4e
pop ecx
test eax, eax
je 0x4240c2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4240c2
mov eax, dword [0x43ce58]
cmp eax, ebx
je 0x4240c2
push eax
call fcn.0041cb4e
pop ecx
test eax, eax
je 0x4240c2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43ce50]
call fcn.0041cb4e
pop ecx
test eax, eax
je 0x4240e2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4240e4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404520
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x404600
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x404600
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40456a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x404571
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x404550
jmp 0x404573
mov esi, 0x1505
jmp 0x404573
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edi, [ebx - 1]
mov edx, ebx
sub edx, 1
mov dword [esp + 8], edx
jb 0x404600
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4045a4
inc edi
dec ebx
je 0x4045fe
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x4045fe
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x4045a0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.0040d060
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x4045a0
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.0040d080
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x4045a0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x404600
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x404610
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 0x404711
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404711
push ebx
call fcn.0040d060
add esp, 4
test eax, eax
je 0x40466a
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 0x404671
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404650
jmp 0x404673
mov esi, 0x1505
jmp 0x404673
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x404711
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4046a4
inc ebp
dec ebx
je 0x40470f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40470f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4046a0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040d060
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4046a0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040d080
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4046a0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40470f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x404711
mov edi, dword [eax + 8]
jmp 0x404711
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404740
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 0x4047ab
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4047ab
push esi
call fcn.0040d060
add esp, 4
test eax, eax
je 0x40478a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x404791
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x404770
jmp 0x404793
mov ebp, 0x1505
jmp 0x404793
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x4047b7
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 + 8], eax
jmp 0x4047d4
inc ebx
dec edi
je 0x4047ab
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x4047ab
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x4047d0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040d060
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x4047d0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.0040d080
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x4047d0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x4047ab
cmp dword [eax + 4], 3
jne 0x4047ab
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x4047ab

Function at 0x404870
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 0x404971
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404971
push ebx
call fcn.0040d060
add esp, 4
test eax, eax
je 0x4048ca
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 0x4048d1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4048b0
jmp 0x4048d3
mov esi, 0x1505
jmp 0x4048d3
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x404971
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404904
inc ebp
dec ebx
je 0x40496f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40496f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404900
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040d060
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404900
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040d080
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404900
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40496f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x404971
mov edi, dword [eax + 8]
jmp 0x404971
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4049a0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x404aa4
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404aa4
push ebx
call fcn.0040d060
add esp, 4
test eax, eax
je 0x4049fa
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x404a01
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4049e0
jmp 0x404a03
mov esi, 0x1505
jmp 0x404a03
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x404aa4
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404a34
inc ebp
dec ebx
je 0x404a9f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404a9f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404a30
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040d060
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404a30
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040d080
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404a30
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x404a9f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x404aa4
mov edi, dword [eax + 8]
jmp 0x404aa4
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404ab0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push 0x2e
push ebp
call fcn.0040d0d0
add esp, 8
test eax, eax
je 0x404b14
mov esi, eax
jmp 0x404af4
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.0040d0d0
add esp, 8
mov esi, eax
test eax, eax
je 0x404b14
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.00404520
add esp, 0xc
xor edi, edi
test eax, eax
je 0x404ae0
cmp dword [eax + 4], 4
jne 0x404ae0
mov edi, dword [eax + 8]
jmp 0x404ae0
xor eax, eax
test edi, edi
je 0x404b7b
test ebp, ebp
je 0x404b7b
push ebp
call fcn.0040d060
add esp, 4
test eax, eax
je 0x404b5b
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebp + ebx]
test edx, edx
je 0x404b62
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x404b40
jmp 0x404b64
mov esi, 0x1505
jmp 0x404b64
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [edi + 0x20]
lea ebx, [ecx - 1]
mov eax, ecx
sub eax, 1
mov dword [esp + 0x14], eax
jae 0x404b83
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, esi
mov dword [esp], edi
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
jmp 0x404ba4
inc ebx
dec ecx
je 0x404b79
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404b79
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x404ba0
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], ecx
call fcn.0040d060
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x404ba0
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.0040d080
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x404ba0
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x404b7b
Function at 0x404ca0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x404d0d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404d0d
push esi
call fcn.0040d060
add esp, 4
test eax, eax
je 0x404cea
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x404cf1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x404cd0
jmp 0x404cf3
mov ebx, 0x1505
jmp 0x404cf3
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x404d15
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404d24
inc ebp
dec edi
je 0x404d0b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x404d0b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x404d20
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040d060
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404d20
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040d080
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404d20
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x404d0d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x404d0d