joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4325a3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x432640
push ebx
push esi
call fcn.0043256c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0043135a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4325ed
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43263f
push edi
push eax
call fcn.0042ab50
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x43260d
call fcn.0042a069
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43263e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0043135a
add esp, 0x20
test eax, eax
jne 0x43262c
push edi
call fcn.0042a069
jmp 0x432634
push ebx
call fcn.0042a069
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x43502f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00429970
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43509e
cmp esi, dword [ebp - 4]
je 0x435099
cmp dword [ebp + 0xc], 0
je 0x435099
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x435076
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00434b81
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4350a0
xor eax, eax
inc eax
jmp 0x4350a0
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x435105
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x469058]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00429970
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00429970
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x43517c
cmp word [ecx], dx
je 0x43517c
mov eax, dword [0x440824]
push edi
dec eax
push eax
push 0x440710
call fcn.004350a4
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4351ef
cmp word [eax], dx
je 0x4351ef
mov eax, dword [edi]
test eax, eax
je 0x4351a0
cmp word [eax], dx
je 0x4351a0
lea eax, [ebp - 0x10]
push eax
call fcn.00434a87
jmp 0x4351a9
lea eax, [ebp - 0x10]
push eax
call fcn.00434b22
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x435219
mov eax, dword [0x44070c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x440400
call fcn.004350a4
add esp, 0xc
test al, al
je 0x435219
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4351e4
cmp word [eax], di
je 0x4351e4
lea eax, [ebp - 0x10]
push eax
call fcn.00434a87
pop ecx
jmp 0x43521b
lea eax, [ebp - 0x10]
push eax
call fcn.00434b22
jmp 0x4351e1
mov eax, dword [edi]
test eax, eax
je 0x435206
cmp word [eax], dx
je 0x435206
lea eax, [ebp - 0x10]
push eax
call fcn.00434a3c
pop ecx
jmp 0x435219
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4352e4
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00434f29
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4352e4
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4352e4
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4352e4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x435271
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0042a6da
test ebx, ebx
je 0x4352df
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0042a6da
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4352e4
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4352e4
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0043938a
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4352e6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c9a1
leave
ret
Function at 0x439ad5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00439a51
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x439c44
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x439c44
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x439bf9
jg 0x439b31
test eax, eax
je 0x439bef
push 1
push 0x1000
call fcn.00429c5b
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x439b54
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x439be6
push 0x8000
push ebx
call fcn.004275e6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x439b7d
jg 0x439b78
cmp ecx, 0x1000
jb 0x439b7d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0042c758
add esp, 0x10
cmp eax, 0xffffffff
je 0x439bc2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x439b78
jl 0x439ba9
test ecx, ecx
jne 0x439b6a
push dword [ebp - 0xc]
push ebx
call fcn.004275e6
push esi
call fcn.0042a069
add esp, 0xc
xor ebx, ebx
jmp 0x439c52
cmp byte [edi + 0x24], 0
je 0x439bd9
cmp dword [edi + 0x20], 5
jne 0x439bd9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x439be4
mov ebx, dword [edi + 0x18]
jmp 0x439be6
xor ebx, ebx
push esi
call fcn.0042a069
pop ecx
jmp 0x439c52
test ecx, ecx
jg 0x439bbb
jl 0x439bf9
test eax, eax
jae 0x439bbb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0042e092
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x439c19
cmp byte [edi + 0x1c], 0
je 0x439bbb
jmp 0x439c4a
push ebx
call fcn.00433000
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x439bbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x439c52
cmp byte [edi + 0x1c], 0
je 0x439c4f
mov ebx, dword [edi + 0x18]
jmp 0x439c52
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0042e092
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43a3f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43a41d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43a41d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402c20
Capabilities:
Hash data using djb2

Disassembly:
xor eax, eax
test ecx, ecx
je 0x402d08
test edx, edx
je 0x402d08
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp], ecx
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x402c6a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x402c71
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x402c50
jmp 0x402c73
mov esi, 0x1505
jmp 0x402c73
mov esi, ecx
mov dword [esp + 4], edx
mov ecx, dword [esp]
mov ebp, dword [ecx + 0x20]
lea ebx, [ebp - 1]
mov edx, ebp
sub edx, 1
mov dword [esp + 0x10], edx
jb 0x402d01
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x402ca4
inc ebx
dec ebp
je 0x402cff
mov eax, ebx
and eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x402cff
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402ca0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409660
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x402ca0
push dword [esp + 0x28]
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00409680
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402ca0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x402d01
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402d10
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 0x402e11
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402e11
push ebx
call fcn.00409660
add esp, 4
test eax, eax
je 0x402d6a
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 0x402d71
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x402d50
jmp 0x402d73
mov esi, 0x1505
jmp 0x402d73
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 0x402e11
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x402da4
inc ebp
dec ebx
je 0x402e0f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x402e0f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402da0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409660
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402da0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409680
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402da0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402e0f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x402e11
mov edi, dword [eax + 8]
jmp 0x402e11
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402e40
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 0x402eab
mov esi, dword [esp + 0x30]
test esi, esi
je 0x402eab
push esi
call fcn.00409660
add esp, 4
test eax, eax
je 0x402e8a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x402e91
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x402e70
jmp 0x402e93
mov ebp, 0x1505
jmp 0x402e93
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 0x402eb7
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 0x402ed4
inc ebx
dec edi
je 0x402eab
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x402eab
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x402ed0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409660
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x402ed0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.00409680
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x402ed0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x402eab
cmp dword [eax + 4], 3
jne 0x402eab
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x402eab

Function at 0x402f70
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 0x403071
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x403071
push ebx
call fcn.00409660
add esp, 4
test eax, eax
je 0x402fca
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 0x402fd1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x402fb0
jmp 0x402fd3
mov esi, 0x1505
jmp 0x402fd3
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 0x403071
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403004
inc ebp
dec ebx
je 0x40306f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40306f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x403000
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409660
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403000
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409680
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403000
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40306f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x403071
mov edi, dword [eax + 8]
jmp 0x403071
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4030a0
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 0x4031a4
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4031a4
push ebx
call fcn.00409660
add esp, 4
test eax, eax
je 0x4030fa
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x403101
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4030e0
jmp 0x403103
mov esi, 0x1505
jmp 0x403103
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 0x4031a4
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403134
inc ebp
dec ebx
je 0x40319f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40319f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x403130
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409660
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403130
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409680
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403130
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40319f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x4031a4
mov edi, dword [eax + 8]
jmp 0x4031a4
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4031b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push 0x2e
push edi
call fcn.004096d0
add esp, 8
test eax, eax
je 0x403216
mov ebx, eax
jmp 0x4031f4
mov edi, ebx
inc edi
push 0x2e
push edi
call fcn.004096d0
add esp, 8
mov ebx, eax
test eax, eax
je 0x403216
mov eax, ebx
sub eax, edi
mov ecx, esi
mov edx, edi
push eax
call fcn.00402c20
add esp, 4
xor esi, esi
test eax, eax
je 0x4031e0
cmp dword [eax + 4], 4
jne 0x4031e0
mov esi, dword [eax + 8]
jmp 0x4031e0
xor eax, eax
test esi, esi
je 0x40327a
test edi, edi
je 0x40327a
push edi
call fcn.00409660
add esp, 4
test eax, eax
je 0x40325a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [edi + ebp]
test edx, edx
je 0x403261
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc ebp
mov ecx, ebx
cmp eax, ebp
jne 0x403240
jmp 0x403263
mov ebx, 0x1505
jmp 0x403263
mov ebx, ecx
mov dword [esp + 4], eax
mov ecx, dword [esi + 0x20]
lea ebp, [ecx - 1]
mov eax, ecx
sub eax, 1
mov dword [esp + 0x14], eax
jae 0x403282
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov dword [esp], esi
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
jmp 0x403294
inc ebp
dec ecx
je 0x403278
mov eax, ebp
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x403278
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + esi*4], ebx
jne 0x403290
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], ecx
call fcn.00409660
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x403290
push dword [esp + 4]
push dword [esp + 0x10]
push edi
call fcn.00409680
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x403290
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
jmp 0x40327a
Function at 0x403390
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 0x4033fd
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4033fd
push esi
call fcn.00409660
add esp, 4
test eax, eax
je 0x4033da
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x4033e1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x4033c0
jmp 0x4033e3
mov ebx, 0x1505
jmp 0x4033e3
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 0x403405
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 0x403414
inc ebp
dec edi
je 0x4033fb
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x4033fb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x403410
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409660
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403410
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409680
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403410
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x4033fd
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x4033fd
Function at 0x403620
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0xffffffff
test ecx, ecx
je 0x40372c
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, edx
test edx, edx
je 0x403725
mov dword [esp], ecx
cmp dword [esp + 0x2c], 0
je 0x403725
push esi
call fcn.00409660
add esp, 4
test eax, eax
je 0x40367a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x403681
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x403660
jmp 0x403683
mov ebp, 0x1505
jmp 0x403683
mov ebp, ecx
mov dword [esp + 8], esi
mov ecx, dword [esp]
mov esi, dword [ecx + 0x20]
lea ebx, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 0x10], edx
jae 0x40372d
mov edi, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x4036ea
call fcn.00403820
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 8]
jne 0x403725
push ecx
call fcn.00409660
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp]
mov esi, dword [ecx + 0x20]
lea ebx, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 0x10], eax
jae 0x40379f
mov edi, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 8]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + edi*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], edi
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], eax
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x403748
inc ebx
dec esi
je 0x40369f
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x4036a4
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x403740
mov ecx, dword [ecx + 0xc]
mov edi, dword [ecx + eax*4]
push edi
call fcn.00409660
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x403740
push dword [esp + 4]
push edi
push dword [esp + 0x10]
call fcn.00409680
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x403740
mov eax, 0xffffffff
jmp 0x403725
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x4037b8
inc ebx
dec esi
je 0x4036e5
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x4036ea
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x4037b0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
push eax
call fcn.00409660
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4037b0
push dword [esp + 4]
push dword [esp + 0x18]
push dword [esp + 0x10]
call fcn.00409680
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x4037b0
jmp 0x4036ea