joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490be0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4db2e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [0x5105c8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.004cab7a
cmp dword [0x52d6f0], ebx
je 0x490c50
lea ecx, [esp + 8]
mov dword [esp + 0xac], 0xffffffff
call fcn.004c8743
pop esi
pop ebx
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
add esp, 0xa8
ret
mov edx, dword [0x5105c8]
push ebp
push edi
mov edi, 1
mov dword [0x52d6f0], edi
mov dword [esp + 0x40], edx
lea eax, [esp + 0x20]
mov byte [esp + 0xb4], 1
push eax
call fcn.0047d680
add esp, 4
cmp esi, ebx
jne 0x490c86
mov dword [esp + 0x20], ebx
jmp 0x490c8d
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x20], ecx
mov ecx, esi
call fcn.004cccde
mov edx, dword [esi + 0x84]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x88]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.004c8830
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x490ceb
mov dword [esp + 0x14], ebx
jmp 0x490cf2
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x490d0c
mov eax, dword [eax + 0x3d0]
cmp eax, edi
je 0x490d06
cmp eax, 2
jne 0x490d0c
mov dword [esp + 0x18], edi
jmp 0x490d10
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x490d1e
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004ca1b0
mov edi, eax
cmp edi, ebx
jne 0x490d2e
xor eax, eax
jmp 0x490d31
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x490d59
mov ecx, esi
call fcn.004cccde
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [edi + 0x1c]
push 0x4e
push eax
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x490d71
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x52d6f0], 0
test eax, eax
je 0x490d9a
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x490d9a
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb4], 0
call fcn.004c8743
lea ecx, [esp + 0x10]
mov dword [esp + 0xb4], 0xffffffff
call fcn.004c8743
mov ecx, dword [esp + 0xac]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret
Function at 0x492d80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4db4d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004cf3cc
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.00492cc0
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004cf2fa
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x492e47
cmp dword [esp + 0x40], 1
jne 0x492e45
cmp ecx, eax
jge 0x492e47
mov eax, ecx
cmp eax, 0x12c
jge 0x492e53
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.00492ea0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004cf43e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4989e0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4dbad6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [0x5105c8]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb4], ebx
call fcn.004cab7a
mov edx, dword [0x5105c8]
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x1c]
mov byte [esp + 0xb0], 1
push eax
call fcn.0047d680
add esp, 4
cmp esi, ebx
jne 0x498a47
mov dword [esp + 0x1c], ebx
jmp 0x498a4e
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x1c], ecx
push edi
mov ecx, esi
call fcn.004cccde
mov edx, dword [esi + 0x3c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x40]
mov edi, 1
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.004c8830
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x498a9f
mov dword [esp + 0x14], ebx
jmp 0x498aa6
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x498ac1
mov eax, dword [eax + 0x3d0]
cmp eax, edi
je 0x498abb
cmp eax, 2
jne 0x498ac1
mov dword [esp + 0x18], edi
jmp 0x498ac5
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x498ad3
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004ca1b0
mov edi, eax
cmp edi, ebx
jne 0x498ae3
xor eax, eax
jmp 0x498ae6
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x498b0e
mov ecx, esi
call fcn.004cccde
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x498b2a
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x498b49
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x498b49
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 0
call fcn.004c8743
lea ecx, [esp + 0xc]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004c8743
mov ecx, dword [esp + 0xa8]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret
Function at 0x49b000
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x49b0a3
test eax, eax
jbe 0x49b0a3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x49b0a3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x49b04e
xor esi, esi
jmp 0x49b054
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x49b07f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0049ea00
add esi, eax
push esi
mov ebx, esi
call fcn.0049ea00
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x49b060
pop ebp
test edi, edi
pop edi
jne 0x49b0a3
test ebx, ebx
je 0x49b0a3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004b76d0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x49b205
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x49b31d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49b31d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004ca1d7
mov esi, eax
test esi, esi
je 0x49b31d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x49b31d
mov ecx, esi
call fcn.0049b190
cmp edi, eax
jge 0x49b31d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x49b2a3
mov dword [esp + 0x34], 1
jmp 0x49b2fe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x49b31d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0049a700
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4a1ce0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x53c910]
xor edx, edx
cmp eax, edx
jne 0x4a1d06
xor eax, eax
mov byte [eax + 0x53c810], al
inc eax
cmp eax, 0x100
jl 0x4a1cee
mov dword [0x53c910], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x53c810
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4a1d97
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4a1d6a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4a1d38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4a1e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4a1e63
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4a1e4a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a87e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dc1ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004a9100
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4eb43c
call fcn.004c8484
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4a8873
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c8484
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4a886c
push 0
mov ecx, eax
call fcn.0049f960
mov dword [esi + 0xc], eax
jmp 0x4a8875
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4a8875
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4cab7a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4cabb2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004c8b9e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c8b76
jmp 0x4cabbe
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4cc3ef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4cc431
call fcn.004d2940
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4cc431
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4cc428
xor eax, eax
jmp 0x4cc439
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004cc43f
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d2e70
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4d2e9e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4d2ebc
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004d2dd6
jmp 0x4d2ebc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4d2ebc
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004d2dd6
test edi, edi
mov eax, edi
jne 0x4d2ea6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4d56f1
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x4d5719
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x4d572a
push 2
call edi
test ax, ax
jge 0x4d572a
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004ca1b0
cmp dword [esi + 0x30], ebx
jne 0x4d5804
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004ca1b0
cmp eax, dword [esp + 0x34]
jne 0x4d5804
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x4d57a0
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4d57e5
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x4d5804
cmp eax, 0x205
je 0x4d5804
cmp eax, 0x201
je 0x4d5804
cmp eax, 0x204
je 0x4d5804
cmp eax, ebx
jne 0x4d57cb
cmp dword [esp + 0x1c], 0x1b
je 0x4d5804
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x54e414]
jbe 0x4d57fa
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x4d575d
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x481847
Capabilities:
Encode data using xor

Disassembly:
or esp, dword [esi - 0x237ec66a]
sbb eax, 0xb7ee521b
invalid

Function at 0x49b616
Capabilities:
Encode data using xor

Disassembly:
cmp al, 0xcf
jge 0x49b684
movsd dword es:[edi], dword [esi]
leave
adc dl, byte [ebx + edi*2 - 0x4c445f94]
out 0x5f, eax
cli
mov ah, 0xd0
popal
inc ebp
stosd dword es:[edi], eax
adc ah, dh
and eax, 0xd202d02b
stosb byte es:[edi], al
call 0xdcc38d44
test eax, 0x89d6a10b
movsb byte es:[edi], byte [esi]
xchg ebx, eax
xor ah, bh
std
or eax, 0xf6711b2
mov bh, 0x19
xor ch, byte [esi]
imul edi, dword [eax + 0x17], 0xffffffd8
dec ebx
xlatb
push ecx
pop ebx
mov cl, 0xa3
jae 0x49b638
frstor dword [ebp - 0x6d88dc11]
dec esp
dec eax
adc bl, byte [esi - 0x50]
nop
dec eax
aam 0x8e
inc eax
or bl, byte [ecx]
div eax
sub al, byte [eax + 0x7c]
fcomp qword [edi - 0x922efc1]
xor al, 0x23
sar byte [eax], 1
popfd
xor ch, byte [ebp + 0x21]
fsub qword [esi]
aaa
int3
push esp
adc dword [edi + 0x7d77286d], ebx
out dx, al
pop ebp
add eax, 0x203339ea
lcall 0x2142, 0x91dd765e
mov dword [edi], ecx
mov dword [esi + 0x32], esi
inc ecx
aaa
xor ebp, dword [ebp - 0x697ee8de]
adc bl, byte ds:[esi - 0x4826cdce]
lodsb al, byte [esi]
pop esi
fisttp dword [ecx]
push edi
mov word [ebp + 6], ss
outsd dx, dword [esi]
xor byte [ebx + 0x20], bh
xor dword [ecx], esp
sbb byte [ebp + 0x54186163], cl
mov ebx, ebx
rcl edx, 0x23
call dword [edx + 0x39313927]
pop ebp
add ebx, dword [eax - 0x7d]
fdivr st(7)
invalid
Function at 0x404370
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 0x404450
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x404450
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x4043c4
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x4043cb
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, edi
and ecx, 1
xor edi, 1
lea edi, [edi + ecx*2]
mov ecx, esi
cmp edi, ebp
jb 0x4043a0
jmp 0x4043cd
mov esi, 0x1505
jmp 0x4043cd
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 0x404450
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4043f4
inc edi
dec ebx
je 0x40444e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40444e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x4043f0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.0040c7b0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x4043f0
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.0040c7d0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x4043f0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x404450
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404bd0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x404cec
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404cec
cmp dword [esp + 0x2c], 0
je 0x404cec
push esi
call fcn.0040c7b0
add esp, 4
test eax, eax
je 0x404c44
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x404c4b
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
mov ecx, edi
and ecx, 1
xor edi, 1
lea edi, [edi + ecx*2]
mov ecx, ebx
cmp edi, eax
jb 0x404c20
jmp 0x404c4d
mov ebx, 0x1505
jmp 0x404c4d
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 8], edx
jae 0x404cf4
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x404cb1
call fcn.004058f0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x404cec
push ecx
call fcn.0040c7b0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 8], eax
jae 0x404d70
mov ebp, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + ebp*4], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebx
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], eax
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x404d18
inc edi
dec esi
je 0x404c66
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x404c6b
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x404d10
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0040c7b0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404d10
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0040c7d0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404d10
mov eax, 0xffffffff
jmp 0x404cec
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x404d88
inc edi
dec esi
je 0x404cac
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x404cb1
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x404d80
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.0040c7b0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404d80
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.0040c7d0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404d80
jmp 0x404cb1