joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4318d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6bd5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4d57fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x431903
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x431923
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43191f
cmp eax, 3
jne 0x431941
xor al, al
jmp 0x431928
shr eax, 0xa
and al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461564
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041b490
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push str.GetFileAttributes___failed:
push eax
call fcn.00419ce0
add esp, 0x14
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.0041a290
push 0x4ce944
lea eax, [ebp - 0x4c]
push eax
call fcn.00463df0
int3
Function at 0x43f820
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
mov ebp, ecx
xor ebx, ebx
nop
mov edx, dword [edi + 0x10]
shl esi, 4
mov cl, byte [edx]
movsx eax, cl
add esi, eax
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x43f849
sub esi, 0x30
jmp 0x43f860
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x43f855
sub esi, 0x37
jmp 0x43f860
sub cl, 0x61
cmp cl, 5
ja 0x43f8c1
sub esi, 0x57
cmp edx, dword [edi + 0xc]
jae 0x43f86d
lea eax, [edx + 1]
mov dword [edi + 0x10], eax
jmp 0x43f8ae
cmp byte [edi + 0x1c], 0
jne 0x43f8ae
push dword [edi]
mov eax, dword [edi + 0x14]
push dword [edi + 8]
add dword [edi + 0x18], eax
push 1
push dword [edi + 4]
call fcn.004926fc
mov ecx, dword [edi + 4]
mov edx, eax
add esp, 0x10
mov dword [edi + 0x14], edx
mov dword [edi + 0x10], ecx
lea eax, [ecx - 1]
add eax, edx
mov dword [edi + 0xc], eax
cmp edx, dword [edi + 8]
jae 0x43f8ae
mov byte [ecx + edx], 0
inc dword [edi + 0xc]
mov byte [edi + 0x1c], 1
inc ebx
cmp ebx, 4
jl 0x43f830
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword [ebp + 0x1c], eax
xor eax, eax
mov dword [ebp + 0x18], 8
pop ebp
pop ebx
ret 8
Function at 0x444e00
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov ecx, dword [esi + 0x10]
mov al, byte [ecx]
cmp al, 0x20
je 0x444e1a
cmp al, 0xa
je 0x444e1a
cmp al, 0xd
je 0x444e1a
cmp al, 9
jne 0x444e68
cmp ecx, dword [esi + 0xc]
jae 0x444e27
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
jmp 0x444e05
cmp byte [esi + 0x1c], 0
jne 0x444e05
push dword [esi]
mov eax, dword [esi + 0x14]
push dword [esi + 8]
add dword [esi + 0x18], eax
push 1
push dword [esi + 4]
call fcn.004926fc
mov edx, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
lea ecx, [edx - 1]
add ecx, eax
mov dword [esi + 0xc], ecx
cmp eax, dword [esi + 8]
jae 0x444e05
mov byte [edx + eax], 0
inc dword [esi + 0xc]
mov byte [esi + 0x1c], 1
jmp 0x444e05
pop esi
ret
Function at 0x4517e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x14], ebp
cmp byte [ebp + 0x4c], 0
jne 0x4517f9
xor al, al
pop ebp
add esp, 0x14
ret 4
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [ebp + 0x24]
push edi
mov edi, dword [ebp + 0x28]
cmp esi, edi
je 0x45190d
nop
mov ebp, dword [esi + 0x10]
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x4518a4
mov eax, ebx
mov dword [esp + 0x18], 0
neg eax
mov ecx, 0x6cc
shl eax, 3
mov edx, 0x400
add dword [ebp + 0xc], eax
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
test ebx, ebx
je 0x45187d
mov ebp, dword [esp + 0x18]
nop
mov eax, dword [edi + ebp*8 + 4]
xor ecx, dword [edi + ebp*8]
xor eax, edx
push 0x100
push 0x1b3
push eax
push ecx
call fcn.004624c0
inc ebp
mov ecx, eax
cmp ebp, ebx
jb 0x451850
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea ecx, [edi + 8]
cmp ecx, dword [ebp + 0x10]
jbe 0x451891
push 1
mov ecx, ebp
call fcn.0043c590
mov edi, dword [ebp + 0xc]
lea eax, [edi + 8]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [edi], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
cmp dword [esi + 0x18], 0
je 0x4518cc
xor edi, edi
cmp dword [esi + 0x1c], edi
jbe 0x4518cc
mov eax, dword [esi + 0x18]
push ebx
mov ecx, dword [eax + edi*4]
lea eax, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.004517e0
inc edi
cmp edi, dword [esi + 0x1c]
jb 0x4518b1
cmp dword [esi + 0x20], 0
je 0x4518fb
xor edi, edi
cmp dword [esi + 0x24], edi
jbe 0x4518fb
nop dword [eax]
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax + edi*4]
lea eax, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.004517e0
inc edi
cmp edi, dword [esi + 0x24]
jb 0x4518e0
mov ebp, dword [esp + 0x20]
add esi, 0x44
mov edi, dword [ebp + 0x28]
cmp esi, edi
jne 0x451810
mov eax, dword [edi - 0x40]
mov byte [edi - 4], 0
cmp ebx, dword [eax + 0x70]
jae 0x451920
call fcn.00454180
jmp 0x45192a
cmp ebx, dword [eax + 0x74]
jbe 0x45194b
call fcn.00453f20
mov ecx, 0x1000
test word [eax + 0xe], cx
jne 0x451938
mov eax, dword [eax + 8]
mov dword [edi - 0x38], eax
xor al, al
pop edi
pop esi
pop ebx
mov byte [ebp + 0x4c], 0
pop ebp
add esp, 0x14
ret 4
mov ecx, ebp
call fcn.00452020
pop edi
test al, al
pop esi
setne al
pop ebx
mov byte [ebp + 0x4c], al
pop ebp
add esp, 0x14
ret 4
Function at 0x451bf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
mov dword [esp + 0x18], ebx
cmp byte [ebx + 0x4c], 0
je 0x451d48
mov ecx, dword [ebx + 0x28]
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [ebx + 0x24]
mov dword [esp + 0x14], esi
cmp esi, ecx
je 0x451d32
push edi
nop dword [eax]
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x451cc8
mov eax, ebp
mov dword [esp + 0x14], 0x300
neg eax
mov edi, 0x519
shl eax, 4
add dword [ebx + 0xc], eax
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], ecx
test ebp, ebp
je 0x451ca5
mov ebx, dword [esp + 0x14]
mov esi, ebp
mov ebp, dword [esp + 0x10]
mov edi, ecx
mov eax, dword [edi + 0xc]
xor eax, dword [edi + 4]
mov ecx, dword [edi + 8]
xor ecx, dword [edi]
push 0x100
push 0x1b3
push eax
push ecx
call fcn.004624c0
xor ebp, eax
lea edi, [edi + 0x10]
xor ebx, edx
sub esi, 1
jne 0x451c61
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 8]
cmp eax, dword [ebx + 0x10]
jbe 0x451cb9
push 1
mov ecx, ebx
call fcn.0043c590
mov ecx, dword [ebx + 0xc]
lea eax, [ecx + 8]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [ecx], edi
mov dword [ecx + 4], eax
cmp dword [esi + 0x18], 0
je 0x451cf0
xor edi, edi
cmp dword [esi + 0x1c], edi
jbe 0x451cf0
mov eax, dword [esi + 0x18]
push ebp
mov ecx, dword [eax + edi*4]
lea eax, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.00451bf0
inc edi
cmp edi, dword [esi + 0x1c]
jb 0x451cd5
cmp dword [esi + 0x20], 0
je 0x451d1b
xor edi, edi
cmp dword [esi + 0x24], edi
jbe 0x451d1b
nop dword [eax]
mov eax, dword [esi + 0x20]
push ebp
mov ecx, dword [eax + edi*4]
lea eax, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.00451bf0
inc edi
cmp edi, dword [esi + 0x24]
jb 0x451d00
mov ebx, dword [esp + 0x24]
add esi, 0x44
mov dword [esp + 0x18], esi
mov ecx, dword [ebx + 0x28]
cmp esi, ecx
jne 0x451c20
pop edi
lea eax, [ecx - 0x44]
mov ecx, dword [ecx - 0x40]
push ebp
push eax
call fcn.00451ed0
pop esi
pop ebp
test al, al
jne 0x451d51
mov byte [ebx + 0x4c], al
xor al, al
pop ebx
add esp, 0x18
ret 4
mov ecx, ebx
call fcn.00452020
test al, al
setne al
mov byte [ebx + 0x4c], al
pop ebx
add esp, 0x18
ret 4
Function at 0x454f10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b80d6
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4d57fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x30], ecx
sub ecx, esi
imul ecx
mov dword [ebp - 4], 0
sar edx, 2
mov eax, edx
mov dword [ebp - 0x3c], 1
shr eax, 0x1f
add eax, edx
je 0x454fb1
cmp eax, 0xaaaaaaa
ja 0x4550fd
push eax
mov ecx, edi
lfence
call fcn.0045d710
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0x30], ecx
jmp 0x454fb4
mov ecx, dword [ebp - 0x30]
cmp esi, ecx
je 0x4550d9
nop dword [eax]
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x34], esi
jb 0x454fce
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
xor eax, eax
mov edx, 0x811c9dc5
cmp dword [esi + 0x10], eax
jbe 0x454ff5
mov edi, dword [ebp - 0x34]
nop dword [eax]
movzx ecx, byte [eax + edi]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, dword [esi + 0x10]
jb 0x454fe0
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x48]
push edx
push esi
push eax
lea ecx, [ecx + 0xc]
call fcn.00447be0
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x455013
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x10]
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0x2c]
cmp ecx, dword [edi + 0x10]
mov edi, dword [ebp - 0x38]
je 0x455049
add ecx, 0x20
push ecx
cmp eax, edx
je 0x45503c
mov ecx, eax
call fcn.00420b30
add dword [edi + 4], 0x18
jmp 0x4550cd
push eax
mov ecx, edi
call fcn.00447920
jmp 0x4550cd
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 1
cmp eax, edx
je 0x45508d
movups xmm0, xmmword [ebp - 0x28]
mov edx, 0xf
mov byte [ebp - 0x28], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
add dword [edi + 4], 0x18
jmp 0x45509c
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call fcn.00447a80
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4550cd
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4550c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4550f8
push edx
push ecx
call fcn.00461556
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x30]
jne 0x454fc0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461564
mov esp, ebp
pop ebp
ret 4
call fcn.0046d841
call fcn.0045dc30
int3
Function at 0x45b8d0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi + 0x10]
mov bl, byte [edx]
cmp edx, dword [esi + 0xc]
jae 0x45b8e7
inc edx
mov al, bl
mov dword [esi + 0x10], edx
pop esi
pop ebx
ret
cmp byte [esi + 0x1c], 0
jne 0x45b926
push dword [esi]
mov eax, dword [esi + 0x14]
push dword [esi + 8]
add dword [esi + 0x18], eax
push 1
push dword [esi + 4]
call fcn.004926fc
mov edx, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
lea ecx, [edx - 1]
add ecx, eax
mov dword [esi + 0xc], ecx
cmp eax, dword [esi + 8]
jae 0x45b926
mov byte [edx + eax], 0
inc dword [esi + 0xc]
mov byte [esi + 0x1c], 1
pop esi
mov al, bl
pop ebx
ret

Function at 0x45c7a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x100
cdq
mov edi, ecx
push 0x1b3
xor edx, 0x84222325
mov dword [esp + 0x18], edi
xor eax, 0xcbf29ce4
push edx
push eax
call fcn.004624c0
xor esi, esi
mov ebx, eax
mov ebp, edx
cmp dword [esp + 0x20], esi
jbe 0x45c809
mov edi, dword [esp + 0x1c]
nop dword [eax]
movzx eax, byte [esi + edi]
push 0x100
cdq
push 0x1b3
xor edx, ebp
xor eax, ebx
push edx
push eax
call fcn.004624c0
inc esi
mov ebx, eax
mov ebp, edx
cmp esi, dword [esp + 0x20]
jb 0x45c7e0
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0xc]
lea eax, [ecx + 8]
cmp eax, dword [edi + 0x10]
jbe 0x45c820
push 1
mov ecx, edi
call fcn.0043c460
mov ecx, dword [edi + 0xc]
lea eax, [ecx + 8]
mov dword [edi + 0xc], eax
mov al, 1
pop edi
pop esi
mov dword [ecx + 4], ebp
pop ebp
mov dword [ecx], ebx
pop ebx
pop ecx
ret 0xc

Function at 0x45c840
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x100
cdq
mov edi, ecx
push 0x1b3
xor edx, 0x84222325
mov dword [esp + 0x18], edi
xor eax, 0xcbf29ce4
push edx
push eax
call fcn.004624c0
xor esi, esi
mov ebx, eax
mov ebp, edx
cmp dword [esp + 0x20], esi
jbe 0x45c8a9
mov edi, dword [esp + 0x1c]
nop dword [eax]
movzx eax, byte [esi + edi]
push 0x100
cdq
push 0x1b3
xor edx, ebp
xor eax, ebx
push edx
push eax
call fcn.004624c0
inc esi
mov ebx, eax
mov ebp, edx
cmp esi, dword [esp + 0x20]
jb 0x45c880
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0xc]
lea eax, [ecx + 8]
cmp eax, dword [edi + 0x10]
jbe 0x45c8c0
push 1
mov ecx, edi
call fcn.0043c590
mov ecx, dword [edi + 0xc]
lea eax, [ecx + 8]
mov dword [edi + 0xc], eax
mov al, 1
pop edi
pop esi
mov dword [ecx + 4], ebp
pop ebp
mov dword [ecx], ebx
pop ebx
pop ecx
ret 0xc
Function at 0x45d370
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x18]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [esp + 0x14], ebx
mov eax, esi
shl eax, cl
cmp edx, eax
ja 0x45d4f7
lea eax, [edx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push edi
push eax
mov dword [esp + 0x10], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.0045cf10
mov ecx, dword [esp + 0xc]
lea eax, [esi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov eax, edi
cmp edi, ecx
je 0x45d4ce
push ebp
cmp dword [edi + 0x1c], 0x10
lea ebp, [edi + 8]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
jb 0x45d3f1
mov edx, dword [ebp]
mov dword [esp + 0x18], edx
xor edx, edx
mov ebx, 0x811c9dc5
cmp dword [ebp + 0x10], edx
jbe 0x45d417
mov ecx, dword [esp + 0x18]
movzx esi, byte [edx + ecx]
inc edx
xor esi, ebx
imul ebx, esi, 0x1000193
cmp edx, dword [ebp + 0x10]
jb 0x45d401
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
and esi, ebx
lea ebx, [edx + esi*8]
mov edx, dword [ebx]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], edx
cmp edx, ecx
jne 0x45d43e
mov dword [ebx], edi
mov dword [ebx + 4], edi
jmp 0x45d4c3
mov esi, dword [ebx + 4]
lea eax, [esi + 8]
push eax
push ebp
call fcn.00439180
add esp, 8
test al, al
je 0x45d479
mov ebp, dword [esi]
mov eax, dword [esp + 0x14]
cmp ebp, edi
je 0x45d474
mov esi, dword [edi + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebp
mov ecx, dword [ebp + 4]
mov dword [ecx], edi
mov dword [ebp + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov dword [ebx + 4], edi
jmp 0x45d4bf
mov ebx, esi
cmp dword [esp + 0x18], esi
je 0x45d49d
mov esi, dword [esi + 4]
mov ebx, esi
lea eax, [ebx + 8]
push eax
push ebp
call fcn.00439180
add esp, 8
test al, al
jne 0x45d4d7
cmp dword [esp + 0x18], esi
jne 0x45d481
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [ecx], edi
mov ecx, dword [esp + 0x10]
mov edi, eax
cmp eax, ecx
jne 0x45d3d7
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x45d4bf
push str.invalid_hash_bucket_count
call fcn.0045f4e7
int3
Function at 0x45da30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov edx, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], edx
cmp ecx, eax
je 0x45dbbf
cmp dword [ecx + 0x1c], 0x10
mov eax, dword [edx + 4]
push ebx
mov ebx, dword [ecx + 0x18]
push ebp
lea ebp, [edx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0xc]
lea edx, [ecx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
push esi
mov dword [esp + 0xc], eax
mov esi, ecx
jb 0x45da74
mov edx, dword [edx]
xor ecx, ecx
push edi
mov edi, 0x811c9dc5
test ebx, ebx
je 0x45da91
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x45da80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0x18]
and eax, edi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea eax, [edi + 8]
push eax
push ebp
call fcn.00448320
push 0x38
push edi
call fcn.00461556
dec dword [ebp + 4]
add esp, 0x10
cmp ebx, dword [esp + 0x28]
je 0x45db05
mov eax, dword [esp + 0x34]
cmp esi, eax
jne 0x45dab2
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x30]
jne 0x45dbb2
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
mov ecx, dword [esp + 0xc]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
jne 0x45db1b
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
jmp 0x45db1f
mov eax, dword [esp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
cmp esi, eax
je 0x45dbb2
nop
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jb 0x45db3e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x45db61
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x45db50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0x18]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [esp + 0x18], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea eax, [edi + 8]
push eax
push ebp
call fcn.00448320
push 0x38
push edi
call fcn.00461556
dec dword [ebp + 4]
add esp, 0x10
mov eax, dword [esp + 0x34]
cmp ebx, dword [esp + 0x28]
je 0x45dbc5
cmp esi, eax
jne 0x45db80
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov dword [ecx], edi
mov dword [ecx + 4], edi
cmp esi, eax
jne 0x45db30
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8

Function at 0x4a2673
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a226b
Function at 0x4a267e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a23f5

Function at 0x4a3338
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a320c

Function at 0x4a5a0e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a53cc
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403a69
sub eax, 0x403a0f
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x106d008], 0x8088405
inc edx
mov dword [ebx + 0x106d008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41d2ec
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41d31d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d305
add dl, dl
jne 0x41d328
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d379
xor eax, eax
add dl, dl
jne 0x41d335
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d416
add dl, dl
jne 0x41d344
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d34f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d35a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d365
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41d36f
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41d314
mov eax, 1
add dl, dl
jne 0x41d387
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d392
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d37e
sub eax, ebx
mov ebx, 1
jne 0x41d3c5
mov ecx, 1
add dl, dl
jne 0x41d3ab
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3b6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3a2
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d314
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d3dc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3e7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3d3
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d314
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d437
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 0x41d314
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret