joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10058790
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x100587c3
push esi
call fcn.1005b8a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x100587bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10058849
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10058832
mov eax, dword [esi + 8]
test eax, eax
je 0x100587e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1005882e
cmp eax, 2
je 0x10058832
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100587da
cmp eax, 3
je 0x1005880d
cmp eax, 1
jne 0x100587da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x100587da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x100587da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10058870
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10058858
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10058870
add esp, 4
pop esi
ret

Function at 0x10064980
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 0x10064a23
test eax, eax
jbe 0x10064a23
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x10064a23
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 0x100649ce
xor esi, esi
jmp 0x100649d4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x100649ff
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.100683d0
add esi, eax
push esi
mov ebx, esi
call fcn.100683d0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x100649e0
pop ebp
test edi, edi
pop edi
jne 0x10064a23
test ebx, ebx
je 0x10064a23
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.1006b600
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x10064b60
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 0x10064c7d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10064c7d
mov eax, dword [esi + 0x3c]
push eax
call fcn.1007c2eb
mov esi, eax
test esi, esi
je 0x10064c7d
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 0x10064c7d
mov ecx, esi
call fcn.10064ad0
cmp edi, eax
jge 0x10064c7d
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 0x10064c03
mov dword [esp + 0x34], 1
jmp 0x10064c5e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x10064c7d
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.10063ff0
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 0x1007cc8f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1007ccc7
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.1007ad46
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1007ad1e
jmp 0x1007ccd3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1007e380
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 0x1007e3c2
call fcn.10083e91
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1007e3c2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1007e3b9
xor eax, eax
jmp 0x1007e3ca
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1007e3d0
pop edi
pop esi
pop ebx
ret 4
Function at 0x4023a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x402dc7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov byte [esp + 0x34], 4
and eax, 0xffff
add eax, 8
cmp eax, 0x18
jl 0x40241a
sub eax, 0x18
cmp eax, 0xa
push eax
jge 0x40242c
lea ecx, [esp + 0xc]
push str._0_d
push ecx
jmp 0x402436
lea edx, [esp + 0xc]
push 0x405104
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x32]
add esp, 0xc
and eax, 0xffff
cmp eax, 0xa
push eax
jge 0x402459
lea eax, [esp + 8]
push str.:0_d
push eax
jmp 0x402463
lea ecx, [esp + 8]
push 0x4050f8
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x34]
add esp, 0xc
and eax, 0xffff
cmp eax, 0xa
push eax
jge 0x402486
lea edx, [esp + 4]
push str.:0_d_r_n
push edx
jmp 0x402490
lea eax, [esp + 4]
push str.:_d_r_n
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 4]
lea edx, [esp + 8]
lea eax, [esp + 0x14]
push esi
push ecx
push edx
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x44], 5
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 5
call fcn.00402610
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 4
call fcn.00402610
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x1c], 1
lea ecx, [esp + 4]
mov byte [esp + 0x38], 3
call fcn.00402610
lea ecx, [esp + 8]
mov byte [esp + 0x38], 2
call fcn.00402610
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.00402610
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.00402610
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4053e0
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ecx
push esi
push edi
sub esp, 8
mov esi, eax
mov edi, edx
xor edx, edx
mov ecx, eax
inc eax
cmp byte [ecx], 0
je 0x4053f7
inc edx
jmp 0x4053ec
push 0
lea eax, [esp + 4]
push eax
push edx
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push 0
lea eax, [esp + 4]
push eax
push 2
lea eax, [esp + 0x10]
push eax
push 0xfffffffffffffff4
mov word [esp + 0x18], 0xa0d
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, edi
jmp 0x402390

Function at 0x421740
Capabilities:
Encode data using xor

Disassembly:
xor dl, dl
mov dl, byte [edi]
xor dl, bl
mov byte [edi], dl
inc edi
cmp edi, ecx
jne fcn.00421740
ret
Function at 0x401700
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [ecx + 0x30]
test eax, eax
push edi
mov edi, edx
mov edx, dword [esp + 0x14]
mov ebp, 0x10
jle 0x401784
mov esi, ebp
sub esi, eax
cmp edx, esi
jg 0x401758
test edx, edx
je 0x401741
mov esi, edx
mov eax, dword [ecx + 0x30]
mov dl, byte [ecx + eax + 0x20]
xor dl, byte [ebx]
add edi, 1
mov byte [edi - 1], dl
add dword [ecx + 0x30], 1
add ebx, 1
sub esi, 1
jne 0x401726
cmp dword [ecx + 0x30], ebp
jl 0x40180b
pop edi
pop esi
pop ebp
mov dword [ecx + 0x30], 0
pop ebx
ret 4
sub edx, esi
cmp eax, ebp
mov dword [esp + 0x14], edx
jge 0x40177d
mov eax, dword [ecx + 0x30]
mov al, byte [ecx + eax + 0x20]
xor al, byte [ebx]
add edi, 1
mov byte [edi - 1], al
add dword [ecx + 0x30], 1
add ebx, 1
cmp dword [ecx + 0x30], ebp
jl 0x401762
mov dword [ecx + 0x30], 0
cmp edx, ebp
jl 0x4017d6
mov ebp, edx
shr ebp, 4
mov eax, ebp
neg eax
shl eax, 4
add edx, eax
lea esi, [ecx + 0x20]
mov dword [esp + 0x14], edx
lea ecx, [ecx]
call fcn.004015c0
mov edx, dword [ebx]
xor edx, dword [esi]
add edi, 0x10
mov dword [edi - 0x10], edx
mov eax, dword [ebx + 4]
xor eax, dword [ecx + 0x24]
add ebx, 0x10
mov dword [edi - 0xc], eax
mov edx, dword [ebx - 8]
xor edx, dword [ecx + 0x28]
mov dword [edi - 8], edx
mov eax, dword [ebx - 4]
xor eax, dword [ecx + 0x2c]
sub ebp, 1
mov dword [edi - 4], eax
jne 0x4017a0
mov edx, dword [esp + 0x14]
test edx, edx
jle 0x40180b
lea esi, [ecx + 0x20]
call fcn.004015c0
mov esi, dword [esp + 0x14]
cmp dword [ecx + 0x30], esi
jge 0x40180b
jmp 0x4017f0
mov edx, dword [ecx + 0x30]
mov al, byte [ecx + edx + 0x20]
xor al, byte [ebx]
add edi, 1
mov byte [edi - 1], al
add dword [ecx + 0x30], 1
add ebx, 1
cmp dword [ecx + 0x30], esi
jl 0x4017f0
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x404410
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x6c
mov eax, dword [0x6faa54]
xor eax, esp
push ebx
push esi
mov esi, ecx
xor ecx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
push ecx
push eax
lea ebx, [esp + 0x10]
mov dword [esp + 0x18], 0x6a09e667
mov dword [esp + 0x1c], 0xbb67ae85
mov dword [esp + 0x20], 0x3c6ef372
mov dword [esp + 0x24], 0xa54ff53a
mov dword [esp + 0x28], 0x510e527f
mov dword [esp + 0x2c], 0x9b05688c
mov dword [esp + 0x30], 0x1f83d9ab
mov dword [esp + 0x34], 0x5be0cd19
call fcn.004041c0
add esp, 8
mov ecx, ebx
call fcn.00404270
mov ecx, dword [esp + 0x70]
pop esi
pop ebx
xor ecx, esp
call fcn.005be15d
add esp, 0x6c
ret

Function at 0x40441b
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x6c
mov eax, dword [0x6faa54]
xor eax, esp
push ebx
push esi
mov esi, ecx
xor ecx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
push ecx
push eax
lea ebx, [esp + 0x10]
mov dword [esp + 0x18], 0x6a09e667
mov dword [esp + 0x1c], 0xbb67ae85
mov dword [esp + 0x20], 0x3c6ef372
mov dword [esp + 0x24], 0xa54ff53a
mov dword [esp + 0x28], 0x510e527f
mov dword [esp + 0x2c], 0x9b05688c
mov dword [esp + 0x30], 0x1f83d9ab
mov dword [esp + 0x34], 0x5be0cd19
call fcn.004041c0
add esp, 8
mov ecx, ebx
call fcn.00404270
mov ecx, dword [esp + 0x70]
pop esi
pop ebx
xor ecx, esp
call fcn.005be15d
add esp, 0x6c
ret
Function at 0x4051b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebx, eax
mov eax, dword [esi + 0x104]
test eax, eax
push edi
mov edi, ecx
mov ecx, dword [esp + 0x10]
mov ebp, 0x10
jle 0x405261
mov edx, ebp
sub edx, eax
cmp ecx, edx
jg 0x405220
test ecx, ecx
je 0x405204
lea ebx, [ebx]
mov eax, dword [esi + 0x104]
mov dl, byte [esi + eax + 0x108]
xor dl, byte [ebx]
add edi, 1
mov byte [edi - 1], dl
add dword [esi + 0x104], 1
add ebx, 1
sub ecx, 1
jne 0x4051e0
cmp dword [esi + 0x104], ebp
jl 0x405363
pop edi
pop ebp
mov dword [esi + 0x104], 0
pop ebx
ret 4
sub ecx, edx
cmp eax, ebp
mov dword [esp + 0x10], ecx
jge 0x405257
lea ebx, [ebx]
mov eax, dword [esi + 0x104]
mov dl, byte [esi + eax + 0x108]
xor dl, byte [ebx]
add edi, 1
mov byte [edi - 1], dl
add dword [esi + 0x104], 1
add ebx, 1
cmp dword [esi + 0x104], ebp
jl 0x405230
mov dword [esi + 0x104], 0
cmp ecx, ebp
jl 0x4052f6
mov ebp, ecx
shr ebp, 4
mov eax, ebp
neg eax
shl eax, 4
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x405280
lea eax, [esi + 0x108]
push eax
mov eax, esi
lea ecx, [esi + 0xf4]
call fcn.00404c80
lea eax, [esi + 0xf4]
add esp, 4
add dword [eax], 1
jne 0x4052b8
add eax, 4
add dword [eax], 1
jne 0x4052b8
add eax, 4
add dword [eax], 1
jne 0x4052b8
add eax, 4
add dword [eax], 1
mov ecx, dword [ebx]
xor ecx, dword [esi + 0x108]
add edi, 0x10
mov dword [edi - 0x10], ecx
mov edx, dword [ebx + 4]
xor edx, dword [esi + 0x10c]
add ebx, 0x10
mov dword [edi - 0xc], edx
mov eax, dword [ebx - 8]
xor eax, dword [esi + 0x110]
mov dword [edi - 8], eax
mov ecx, dword [ebx - 4]
xor ecx, dword [esi + 0x114]
sub ebp, 1
mov dword [edi - 4], ecx
jne 0x405280
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x405363
lea edx, [esi + 0x108]
lea ebp, [esi + 0xf4]
push edx
mov eax, esi
mov ecx, ebp
call fcn.00404c80
mov eax, ebp
mov ebp, 1
add esp, 4
add dword [eax], ebp
jne 0x405331
add eax, 4
add dword [eax], ebp
jne 0x405331
add eax, 4
add dword [eax], ebp
jne 0x405331
add eax, 4
add dword [eax], ebp
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x104], eax
jge 0x405363
lea ecx, [ecx]
mov ecx, dword [esi + 0x104]
mov dl, byte [esi + ecx + 0x108]
xor dl, byte [ebx]
add ebx, ebp
mov byte [edi], dl
add dword [esi + 0x104], ebp
add edi, ebp
cmp dword [esi + 0x104], eax
jl 0x405340
pop edi
pop ebp
pop ebx
ret 4
Function at 0x4099d0
Capabilities:
Hash data using djb2

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
movsx ecx, byte [ebx]
test ecx, ecx
mov edx, ebx
mov eax, 0x1505
je 0x409a00
inc edx
cmp ecx, 0x40
jle 0x4099f4
cmp ecx, 0x5b
jge 0x4099f4
add ecx, 0x20
imul eax, eax, 0x21
add eax, ecx
movsx ecx, byte [edx]
test ecx, ecx
jne 0x4099e6
xor edx, edx
div dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [eax + edx*4]
test edx, edx
mov dword [esi + 0x14], edx
je 0x409a57
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov dword [esi + 0x18], eax
cmp eax, dword [edx + 4]
je 0x409a57
mov edi, edi
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 8]
mov dword [esi + 0x1c], eax
cmp dword [eax + 0x18], 0x10
jb 0x409a34
mov eax, dword [eax + 4]
jmp 0x409a37
add eax, 4
push eax
push ebx
call fcn.005c8efc
add esp, 8
test eax, eax
je 0x409a6c
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
mov dword [esi + 0x18], edx
mov eax, dword [esi + 0x14]
mov ecx, edx
cmp ecx, dword [eax + 4]
jne 0x409a20
mov eax, dword [esp + 0x10]
test eax, eax
je 0x409a65
mov dword [eax], 0
pop esi
xor al, al
pop ebx
ret 8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x409a7c
mov edx, dword [esi + 0x1c]
mov ecx, dword [edx + 0x20]
mov dword [eax], ecx
pop esi
mov al, 1
pop ebx
ret 8

Function at 0x4099d5
Capabilities:
Hash data using djb2

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
movsx ecx, byte [ebx]
test ecx, ecx
mov edx, ebx
mov eax, 0x1505
je 0x409a00
inc edx
cmp ecx, 0x40
jle 0x4099f4
cmp ecx, 0x5b
jge 0x4099f4
add ecx, 0x20
imul eax, eax, 0x21
add eax, ecx
movsx ecx, byte [edx]
test ecx, ecx
jne 0x4099e6
xor edx, edx
div dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [eax + edx*4]
test edx, edx
mov dword [esi + 0x14], edx
je 0x409a57
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov dword [esi + 0x18], eax
cmp eax, dword [edx + 4]
je 0x409a57
mov edi, edi
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 8]
mov dword [esi + 0x1c], eax
cmp dword [eax + 0x18], 0x10
jb 0x409a34
mov eax, dword [eax + 4]
jmp 0x409a37
add eax, 4
push eax
push ebx
call fcn.005c8efc
add esp, 8
test eax, eax
je 0x409a6c
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
mov dword [esi + 0x18], edx
mov eax, dword [esi + 0x14]
mov ecx, edx
cmp ecx, dword [eax + 4]
jne 0x409a20
mov eax, dword [esp + 0x10]
test eax, eax
je 0x409a65
mov dword [eax], 0
pop esi
xor al, al
pop ebx
ret 8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x409a7c
mov edx, dword [esi + 0x1c]
mov ecx, dword [edx + 0x20]
mov dword [eax], ecx
pop esi
mov al, 1
pop ebx
ret 8

Function at 0x409e80
Capabilities:
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, esi
push edi
mov edi, ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409e90
sub eax, edx
push eax
push esi
mov ecx, edi
call fcn.00405710
movsx eax, byte [esi]
test eax, eax
mov edx, esi
mov ecx, 0x1505
je 0x409eca
inc edx
cmp eax, 0x40
jle 0x409ebe
cmp eax, 0x5b
jge 0x409ebe
add eax, 0x20
imul ecx, ecx, 0x21
add ecx, eax
movsx eax, byte [edx]
test eax, eax
jne 0x409eb0
mov dword [edi + 0x1c], ecx
pop edi
pop esi
ret 4
Function at 0x40ba80
Capabilities:
Hash data using djb2

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
mov eax, 0x1505
je 0x40baae
mov edx, dword [esp + 4]
push esi
mov esi, ecx
movsx ecx, byte [edx]
inc edx
cmp ecx, 0x40
jle 0x40baa5
cmp ecx, 0x5b
jge 0x40baa5
add ecx, 0x20
imul eax, eax, 0x21
add eax, ecx
dec esi
jne 0x40ba94
pop esi
ret

Function at 0x40bd00
Capabilities:
Hash data using djb2

Disassembly:
sub esp, 0x808
push esi
mov esi, dword [esp + 0x814]
push 5
push esi
push str.data_
call fcn.005bd856
add esp, 0xc
test eax, eax
je 0x40bd40
push 5
push esi
push 0x6a9514
call fcn.005bd856
add esp, 0xc
test eax, eax
je 0x40bd40
xor al, al
pop esi
add esp, 0x808
ret
push edi
mov edi, dword [0x706374]
test edi, edi
jne 0x40bd56
pop edi
xor al, al
pop esi
add esp, 0x808
ret
lea eax, [esi + 5]
lea edx, [esp + 0x10]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40bd60
push ebx
xor ebx, ebx
xor ecx, ecx
mov esi, edi
xor eax, eax
mov dl, byte [esp + ebx + 0x14]
cmp dl, 0x2f
je 0x40bd89
cmp dl, 0x5c
je 0x40bd89
test dl, dl
je 0x40bdd6
inc ebx
inc eax
jmp 0x40bd73
test eax, eax
lea edx, [esp + ecx + 0x14]
mov ecx, 0x1505
je 0x40bdb1
mov edi, eax
movsx eax, byte [edx]
inc edx
cmp eax, 0x40
jle 0x40bda9
cmp eax, 0x5b
jge 0x40bda9
add eax, 0x20
imul ecx, ecx, 0x21
add ecx, eax
dec edi
jne 0x40bd98
mov dword [esp + 0xc], ecx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x2c]
call fcn.0054e1d0
mov eax, dword [eax]
cmp eax, dword [esi + 0x30]
je 0x40be32
mov esi, dword [eax + 0x10]
inc ebx
mov ecx, ebx
jmp 0x40bd71
push eax
lea edx, [esp + ecx + 0x18]
push edx
call fcn.0040ba80
add esp, 8
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x20]
call fcn.0054e1d0
mov eax, dword [eax]
cmp eax, dword [esi + 0x24]
je 0x40be32
mov esi, dword [eax + 0x10]
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x818]
push 0
push edx
mov edx, dword [ecx]
push eax
push edx
call fcn.005bb832
add esp, 0x10
pop ebx
pop edi
mov dword [0x706378], esi
mov al, 1
pop esi
add esp, 0x808
ret
pop ebx
pop edi
xor al, al
pop esi
add esp, 0x808
ret
Function at 0x40ca10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6997f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov eax, dword [edi + 0x30]
mov ecx, dword [eax]
lea esi, [edi + 0x2c]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x28], 1
call fcn.0040c730
mov eax, dword [esi + 4]
push eax
call fcn.005b9e6d
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
add esp, 4
lea esi, [edi + 0x20]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x28], bl
call fcn.0040c5b0
mov edx, dword [esi + 4]
push edx
call fcn.005b9e6d
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 0x18]
add esp, 4
cmp eax, 0x10
jb 0x40caa3
mov eax, dword [edi + 4]
push eax
call fcn.005b9e6d
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x414f60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6999be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x6a9620
lea ebp, [esi + 0xb8]
mov ecx, ebp
mov dword [esp + 0x18], 0
call fcn.00412280
mov eax, dword [esi + 0x30]
test eax, eax
je 0x415004
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x414ffc
mov ecx, dword [eax + 0x58]
xor edi, edi
test ecx, ecx
jle 0x414fdf
mov eax, dword [esi + 0xcc]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x414fd4
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esi + 0xcc]
mov dword [eax + edi*4], 0
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx + 0x58]
inc edi
cmp edi, eax
jl 0x414fb4
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x414ffc
push eax
call fcn.005ba86d
add esp, 4
mov dword [esi + 0xcc], 0
mov ecx, dword [esi + 0x30]
call fcn.0053f8a0
mov edi, dword [esi + 0xf8]
test edi, edi
je 0x415033
mov eax, dword [edi]
test eax, eax
je 0x415020
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [edi], 0
push edi
call fcn.005b9e6d
add esp, 4
mov dword [esi + 0xf8], 0
mov ecx, ebp
mov dword [esp + 0x18], 0xffffffff
call fcn.00412fa0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41d850
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x699ac3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0x513320
push 0x41c4a0
push 2
mov esi, ecx
push 0xc
push esi
mov dword [esp + 0x30], esi
call fcn.005bbc4b
mov dword [esp + 0x28], 0
call fcn.0041d640
mov eax, 1
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea ebp, [esi + 4]
mov dword [esp + 0x14], 2
jmp 0x41d8c0
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebp]
mov dword [ecx + 4], ecx
cmp eax, dword [ebp]
mov dword [ebp + 4], 0
je 0x41d8f4
lea esp, [esp]
mov edi, dword [eax]
push eax
call fcn.005b9e6d
mov ecx, dword [ebp]
add esp, 4
cmp edi, ecx
mov eax, edi
jne 0x41d8e0
lea ebx, [ebp - 4]
mov dword [esp + 0x10], 0x64
nop
push 0x10c
call fcn.005b9e72
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x18], edi
je 0x41d94b
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
mov esi, dword [ebx + 4]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.00444f50
push 1
mov ecx, ebx
mov edi, eax
call fcn.0041c9f0
mov dword [esi + 4], edi
mov edx, dword [edi + 4]
mov esi, dword [esp + 0x1c]
mov dword [edx], edi
dec dword [esp + 0x10]
jne 0x41d900
mov eax, dword [esp + 0x14]
add ebp, 0xc
dec eax
mov dword [esp + 0x14], eax
jne 0x41d8c0
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x40]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret