joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444034
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_FindResourceA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x444095
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SizeofResource
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_LockResource
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 8
Function at 0x444750
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x444b00
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004071b8
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004070f0
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0043b724
test al, al
jne 0x4447f8
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x50]
mov eax, 0x16
call fcn.0043a434
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
lea edx, [ebp - 0x5c]
xor ecx, ecx
pop eax
call fcn.004079a8
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
mov eax, dword [0x449c40]
mov eax, dword [eax]
call fcn.004250e4
mov edx, dword [ebp - 0x50]
mov eax, 0x444b1c
call fcn.0043bab4
jmp 0x444ad8
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x18]
call fcn.00417a5c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
add eax, 0x28
mov ecx, dword [ebp - 0x14]
call fcn.00403880
lea ecx, [ebp - 0x50]
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0040705c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.0040360c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, 0x20
call fcn.00406d84
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x444a16
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GetFileSize
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0xc]
cmp edi, 0x10000
jle 0x44486e
mov edi, 0x10000
mov eax, edi
call fcn.004025b0
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x444924
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x21], 0
xor eax, eax
mov dword [ebp - 0x28], eax
mov edx, edi
neg edx
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.00406e40
mov edx, dword [ebp - 0x20]
mov ecx, edi
mov eax, dword [ebp - 0x10]
call fcn.00406de8
mov esi, edi
sub esi, 6
cmp esi, 0
jl 0x44490e
mov eax, 0x444b34
mov al, byte [eax]
call fcn.0040286c
mov edx, dword [ebp - 0x20]
cmp al, byte [edx + esi]
jne 0x444908
mov byte [ebp - 0x21], 1
mov ebx, 1
mov eax, 0x444b34
mov al, byte [eax + ebx]
call fcn.0040286c
lea edx, [ebx + esi]
mov ecx, dword [ebp - 0x20]
cmp al, byte [ecx + edx]
je 0x4448f2
mov byte [ebp - 0x21], 0
jmp 0x4448f8
inc ebx
cmp ebx, 6
jne 0x4448d4
cmp byte [ebp - 0x21], 0
je 0x444908
sub edi, esi
sub edi, 6
mov dword [ebp - 0x28], edi
jmp 0x44490e
dec esi
cmp esi, 0xffffffff
jne 0x4448b7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44492b
mov eax, dword [ebp - 0x20]
call fcn.004025c8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444b07
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004035dc
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004035dc
ret
Function at 0x409cef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43faf0]
jne 0x409cf9
repz ret
jmp fcn.0040c782

Function at 0x40b4ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43faf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00407781
and dword [ebp - 0x14], 0
cmp dword [0x457168], 0
mov dword [ebp - 0x18], eax
jne 0x40b561
push 0x402c7c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b609
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c70
push ebx
call edi
test eax, eax
je 0x40b609
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402c60
push ebx
mov dword [0x457168], eax
call edi
push eax
call esi
push 0x402c4c
push ebx
mov dword [0x45716c], eax
call edi
push eax
call esi
push 0x402c30
push ebx
mov dword [0x457170], eax
call edi
push eax
call esi
mov dword [0x457178], eax
test eax, eax
je 0x40b561
push 0x402c18
push ebx
call edi
push eax
call esi
mov dword [0x457174], eax
mov eax, dword [0x457174]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b5ba
cmp dword [0x457178], ecx
je 0x40b5ba
push eax
call esi
push dword [0x457178]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b5ba
test ebx, ebx
je 0x40b5ba
call edi
test eax, eax
je 0x40b5b1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b5b1
test byte [ebp - 8], 1
jne 0x40b5ba
or dword [ebp + 0x10], 0x200000
jmp 0x40b5ed
mov eax, dword [0x45716c]
cmp eax, dword [ebp - 0x18]
je 0x40b5ed
push eax
call esi
test eax, eax
je 0x40b5ed
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b5ed
mov eax, dword [0x457170]
cmp eax, dword [ebp - 0x18]
je 0x40b5ed
push eax
call esi
test eax, eax
je 0x40b5ed
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x457168]
call esi
test eax, eax
je 0x40b609
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b60b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409cef
leave
ret
Function at 0x40686f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x4068ad
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406883
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x40687e
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4068da
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4068bb
not eax
pop ebp
ret 0xc

Function at 0x105f7058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.105f71a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x105f707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105f706a
add dl, dl
jne 0x105f7089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105f70dc
xor eax, eax
add dl, dl
jne 0x105f7096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105f717d
add dl, dl
jne 0x105f70a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105f70b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105f70bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105f70c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105f70d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105f7075
mov eax, 1
add dl, dl
jne 0x105f70ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105f70f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105f70e1
sub eax, ebx
mov ebx, 1
jne 0x105f7128
mov ecx, 1
add dl, dl
jne 0x105f710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105f7119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105f7105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105f7075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105f713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105f714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105f7136
cmp eax, 0x7d00
jae 0x105f716d
cmp eax, 0x500
jb 0x105f7168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105f7075
cmp eax, 0x7f
ja 0x105f7170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105f7075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105f719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x105f7075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1401f40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x140b0f8
push 0x14074a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ebx, edx
mov edi, ecx
test edi, edi
je 0x14020ce
test ebx, ebx
je 0x14020ce
mov eax, dword [ebp + 8]
test eax, eax
je 0x14020ce
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x14020ce
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], edi
push 0x40
push edi
call fcn.01401f10
test eax, eax
je 0x14020c7
cmp word [edi], 0x5a4d
jne 0x14020c7
mov eax, dword [edi + 0x3c]
lea esi, [eax + edi]
cmp edi, esi
ja 0x14020c7
cmp eax, 0x7fffffff
jg 0x14020c7
mov dword [ebp - 0x1c], esi
push 4
push esi
mov edx, ebx
mov ecx, edi
call fcn.01401f10
test eax, eax
je 0x14020c7
cmp dword [esi], 0x4550
jne 0x14020c7
push 0x14
lea eax, [esi + 4]
push eax
mov edx, ebx
mov ecx, edi
call fcn.01401f10
test eax, eax
je 0x14020c7
cmp word [esi + 6], 0x3e8
ja 0x14020c7
test byte [esi + 0x16], 2
je 0x14020c7
xor eax, eax
mov ax, word [esi + 0x14]
sub eax, 0xe0
je 0x1402055
sub eax, 0x10
jne 0x14020c7
mov dword [ebp - 0x20], esi
push 0xf0
lea ecx, [esi + 0x18]
push ecx
mov edx, ebx
mov ecx, edi
call fcn.01401f10
test eax, eax
je 0x14020c7
add esi, 0x98
jmp 0x1402071
push 0xe0
lea edx, [esi + 0x18]
push edx
mov edx, ebx
mov ecx, edi
call fcn.01401f10
test eax, eax
je 0x14020c7
add esi, 0x88
mov dword [ebp - 0x28], esi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x14020c7
mov eax, dword [esi]
test eax, eax
je 0x14020c7
push ecx
push eax
mov edx, ebx
xor ecx, ecx
call fcn.01401f10
test eax, eax
je 0x14020c7
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [esi + 4]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1402460
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x140b128
push 0x14074a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ebx, edx
mov esi, ecx
test esi, esi
je 0x140258c
test ebx, ebx
je 0x140258c
mov eax, dword [ebp + 8]
test eax, eax
je 0x140258c
mov dword [ebp - 4], 0
mov dword [eax], 0
mov dword [ebp - 0x24], esi
push 0x40
push esi
call fcn.01401f10
test eax, eax
je 0x1402585
cmp word [esi], 0x5a4d
jne 0x1402585
mov eax, dword [esi + 0x3c]
lea edi, [eax + esi]
cmp esi, edi
ja 0x1402585
cmp eax, 0x7fffffff
jg 0x1402585
mov dword [ebp - 0x1c], edi
push 4
push edi
mov edx, ebx
mov ecx, esi
call fcn.01401f10
test eax, eax
je 0x1402585
cmp dword [edi], 0x4550
jne 0x1402585
push 0x14
lea eax, [edi + 4]
push eax
mov edx, ebx
mov ecx, esi
call fcn.01401f10
test eax, eax
je 0x1402585
test byte [edi + 0x16], 2
je 0x1402585
xor eax, eax
mov ax, word [edi + 0x14]
sub eax, 0xe0
je 0x1402564
sub eax, 0x10
jne 0x1402585
mov dword [ebp - 0x20], edi
push 0xf0
jmp 0x1402569
mov edx, dword [edi + 0x50]
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xe0
lea ecx, [edi + 0x18]
push ecx
mov edx, ebx
mov ecx, esi
call fcn.01401f10
test eax, eax
jne 0x140253d
jmp 0x1402585
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x664ef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1ce000]
push edi
or ebp, 0xffffffff
jmp 0x664f12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x664f19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x664f08
mov eax, 1
add ebx, ebx
jne 0x664f2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x664f3c
jne 0x664f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x664f5b
dec eax
add ebx, ebx
jne 0x664f48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x664f20
add ebx, ebx
jne 0x664f57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x664fad
xor ecx, ecx
sub eax, 3
jb 0x664f73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x664fe2
sar eax, 1
mov ebp, eax
jmp 0x664f7e
add ebx, ebx
jne 0x664f7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x664f4c
inc ecx
add ebx, ebx
jne 0x664f8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x664f4c
add ebx, ebx
jne 0x664f99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x664f8e
jne 0x664faa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x664f8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x664fcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x664fbe
jmp 0x664f0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x664fcc
add edi, ecx
jmp 0x664f0e
pop esi
mov edi, esi
mov ecx, 0x3c9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x664fea
cmp byte [edi], 0xa
jne 0x664fea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x664fef
lea edi, [esi + 0x262000]
mov eax, dword [edi]
or eax, eax
je 0x665067
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x26877c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x268844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x66501c
mov ecx, edi
jns 0x66504b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x268848]
or eax, eax
je 0x665061
mov dword [ebx], eax
add ebx, 4
jmp 0x665039
call dword [esi + 0x268858]
mov ebp, dword [esi + 0x26884c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x66509b
sub esp, 0xffffff80
jmp 0x404f2a
Function at 0x408320
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x44
call fcn.004017a0
mov eax, dword [0x40c044]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x25], 0x7a6f5848
mov dword [ebp - 0x21], 0x6f6f4774
mov dword [ebp - 0x1d], 0x69505172
mov dword [ebp - 0x19], 0x4e736870
mov dword [ebp - 0x15], 0x574f5170
mov dword [ebp - 0x11], 0x6c6c642e
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x25]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call eax
sub esp, 4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4083ab
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], str.Failed_to_load_DLL._Error_code:__d_n
call fcn.00408434
mov eax, 1
jmp 0x40841a
mov dword [esp + 4], str.pJjlEWsWEQIBGCVosqsc
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x408400
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov dword [esp], str.Failed_to_get_function_address._Error_code:__d_n
call fcn.00408434
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call eax
sub esp, 4
mov eax, 1
jmp 0x40841a
mov eax, dword [ebp - 0x34]
call eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call eax
sub esp, 4
mov eax, 0
mov edx, dword [ebp - 0xc]
sub edx, dword [0x40c044]
je 0x40842a
call fcn.004016b0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret
Function at 0x403110
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 0x4031e0
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x4031e0
mov esi, 0x1505
cmp dword [esp + 0x28], 0
je 0x403160
xor ebx, ebx
nop
nop
movzx ecx, byte [ebp + ebx]
test ecx, ecx
je 0x403160
mov edx, esi
shl edx, 5
mov edi, edx
xor edi, esi
and edx, esi
add edi, ecx
lea esi, [edi + edx*2]
inc ebx
cmp dword [esp + 0x28], ebx
jne 0x403140
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 0x4031e0
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x403184
inc edi
dec ebx
je 0x4031de
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x4031de
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x403180
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.004097a0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x403180
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.004097c0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x403180
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x4031e0
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403640
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x28]
mov eax, 0xffffffff
test ebp, ebp
je 0x40378b
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x40378b
cmp dword [esp + 0x30], 0
je 0x40378b
push edi
call fcn.004097a0
add esp, 4
mov dword [esp], eax
mov ebx, 0x1505
test eax, eax
je 0x4036ae
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [edi + eax]
test ecx, ecx
je 0x4036ae
mov edx, ebx
shl edx, 5
mov esi, edx
xor esi, ebx
and edx, ebx
add esi, ecx
lea ebx, [esi + edx*2]
inc eax
cmp dword [esp], eax
jne 0x403690
mov esi, dword [ebp + 0x20]
lea edi, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 8], eax
jae 0x403711
mov ebp, 0xffffffff
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x1c]
jae 0x403775
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x18]
mov dword [eax + ebp*4], ecx
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [eax + ecx*4], ebp
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x18]
mov dword [eax + ecx*4], ebx
inc dword [esi + 0x18]
mov eax, dword [esi]
mov dword [edx], eax
xor eax, eax
jmp 0x40378b
and edi, ebx
mov eax, dword [ebp + 4]
mov dword [esp + 4], eax
jmp 0x403724
inc edi
dec esi
je 0x4036bf
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x4036c4
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 8]
cmp dword [ecx + eax*4], ebx
jne 0x403720
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.004097a0
add esp, 4
cmp eax, dword [esp]
jne 0x403720
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.004097c0
add esp, 0xc
test eax, eax
jne 0x403720
mov eax, 0xffffffff
jmp 0x40378b
mov ecx, esi
call fcn.00403850
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x2c]
je 0x403793
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
push ecx
call fcn.004097a0
add esp, 4
mov dword [esp + 0xc], eax
mov edx, dword [esi + 0x20]
lea edi, [edx - 1]
mov eax, edx
sub eax, 1
mov dword [esp + 8], eax
jae 0x4037bb
mov ebp, 0xffffffff
jmp 0x4036d4
and edi, ebx
mov eax, dword [esi + 4]
mov dword [esp + 4], eax
jmp 0x4037d4
inc edi
dec edx
je 0x403834
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x403839
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 8]
cmp dword [ecx + eax*4], ebx
jne 0x4037d0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x10], eax
push eax
mov dword [esp + 4], edx
call fcn.004097a0
mov edx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0xc]
jne 0x4037d0
push dword [esp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0x34]
call fcn.004097c0
mov edx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x4037d0
jmp 0x4036d4
mov ebp, 0xffffffff
mov esi, dword [esp + 0x28]
jmp 0x4036d4