joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420da0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420dcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420dcd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret
Function at 0x403dd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445a2d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x45a014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x28], esi
movq qword [esi + 4], xmm0
lea eax, [esi + 0xc]
mov dword [ebp - 4], 0
push 2
push eax
call fcn.00426a24
lea eax, [esi + 0x3c]
push eax
call fcn.004266f3
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x10]
test edx, edx
jl 0x403f14
mov eax, dword [ebp + 0xc]
jg 0x403e48
test eax, eax
je 0x403f14
mov byte [esi], 1
mov byte [ebp - 4], 3
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x38], 0
test ecx, ecx
je 0x403e71
mov eax, dword [ecx]
lea edx, [ebp - 0x5c]
push edx
call dword [eax]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
push 0x38
mov byte [ebp - 4], 4
call fcn.00427120
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x64]
lea ebx, [edi + 8]
mov dword [edi], eax
mov dword [ebp - 0x18], ebx
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x403eaf
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
push 0
push edi
push 0x4056d0
push 0
push 0
call fcn.0042f44f
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x403f3c
cmp dword [esi + 8], 0
jne 0x403f37
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x38]
movlpd qword [ebp - 0x24], xmm0
mov dword [esi + 8], eax
test ecx, ecx
je 0x403f17
mov edx, dword [ecx]
lea eax, [ebp - 0x5c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x403f17
mov byte [esi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004270e1
mov esp, ebp
pop ebp
ret 0xc
call fcn.0042c78b
push 6
mov dword [ebp - 0x20], 0
call fcn.004265c3
int3
Function at 0x4058c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x45a014]
xor eax, esp
mov dword [esp + 0x144], eax
mov edx, ecx
push esi
push edi
mov dword [esp + 0x1c], edx
mov eax, edx
cmp dword [edx + 0x14], 0x10
jb 0x4058ec
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x405a72
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x405ac1
xor edx, edx
mov dword [esp + 0x18], edx
mov esi, 0x45004c
lea eax, [esi + 1]
mov dword [esp + 0x14], eax
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x405920
sub esi, dword [esp + 0x14]
cmp dword [ecx + 0x14], 0x10
mov dword [esp + 0x14], ecx
jb 0x40593b
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
test esi, esi
je 0x4059a3
cmp edx, edi
jae 0x4059a3
push 0x100
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.00428f40
mov ecx, 0x45004c
lea edx, [esi + 0x45004c]
add esp, 0xc
cmp edx, ecx
je 0x405973
movzx eax, byte [ecx]
inc ecx
mov byte [esp + eax + 0x48], 1
cmp ecx, edx
jne 0x405966
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add eax, esi
lea edx, [edi + esi]
cmp eax, edx
jae 0x4059a3
nop dword [eax]
nop dword [eax + eax]
movzx ecx, byte [eax]
cmp byte [esp + ecx + 0x48], 0
jne 0x405a88
inc eax
cmp eax, edx
jb 0x405990
or eax, 0xffffffff
mov edx, dword [esp + 0x1c]
cmp eax, 0xffffffff
mov esi, edi
mov dword [esp + 0x30], 0
cmovne esi, eax
mov dword [esp + 0x34], 0
cmp edi, esi
mov ecx, esi
xorps xmm0, xmm0
mov eax, edx
cmovb ecx, edi
movaps xmmword [esp + 0x20], xmm0
cmp dword [edx + 0x14], 0x10
jb 0x4059db
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00423300
cmp dword [esp + 0x30], 0
je 0x405a22
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x405a22
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
call fcn.0042f289
add esp, 4
test eax, eax
jne 0x405a8f
mov ecx, dword [esp + 0x34]
lea edx, [esi + 1]
mov dword [esp + 0x18], edx
cmp ecx, 0x10
jb 0x405a63
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405a55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad7
push ecx
push edx
call fcn.00427112
mov edx, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx + 0x10]
cmp edx, edi
jb 0x405911
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.004270e1
mov esp, ebp
pop ebp
ret
sub eax, esi
jmp 0x4059a6
mov ecx, dword [esp + 0x34]
cmp ecx, 0x10
jb 0x405ac1
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405ab7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad7
push ecx
push edx
call fcn.00427112
add esp, 8
mov ecx, dword [esp + 0x14c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.004270e1
mov esp, ebp
pop ebp
ret
call fcn.0042c03f
int3
Function at 0x408580
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446005
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x45a014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x14], edx
jb 0x4085c4
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x4085e8
mov edi, dword [ebp - 0x14]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x4085d3
mov edi, dword [ebp - 0x1c]
push esi
push edx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0040a970
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x408618
mov dword [edi], eax
mov eax, edi
mov byte [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x6666666
je 0x408729
lea eax, [ebx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x28
mov dword [ebp - 0x20], 0
call fcn.00427120
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x10]
lea ecx, [edi + 8]
call fcn.0041d6e0
xorps xmm0, xmm0
movq qword [edi + 0x20], xmm0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x451f20]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x451f20]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x4086cb
mov ecx, ebx
call fcn.0040a850
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040a970
mov edx, dword [eax]
jmp 0x4086ce
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x4086f6
mov dword [ecx + eax*8], edi
jmp 0x408708
cmp esi, edx
jne 0x4086ff
mov dword [ecx + eax*8], edi
jmp 0x40870c
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x40870c
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00425e7e
int3
Function at 0x408760
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446045
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x45a014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x10], esi
call fcn.00426a44
add esp, 4
test eax, eax
jne 0x408951
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x408958
mov byte [ebp - 4], 1
mov edx, dword [esi + 0x114]
test edx, edx
je 0x40886f
add edx, 8
lea eax, [esi + 0x90]
mov edi, edx
cmp dword [edx + 0x14], 0x10
jb 0x4087d8
mov edi, dword [edx]
xor ecx, ecx
mov ebx, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x4087fc
movzx eax, byte [ecx + edi]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x4087e4
lea eax, [esi + 0x90]
push ebx
push edx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.0040a970
mov edi, dword [eax + 4]
test edi, edi
je 0x40886f
mov ecx, dword [esi + 0xa8]
mov eax, dword [esi + 0x9c]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x408841
cmp eax, edi
jne 0x408839
mov eax, dword [esi + 0x94]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x408849
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x408849
cmp eax, edi
jne 0x408849
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
dec dword [esi + 0x98]
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
call fcn.0040b080
push 0x28
push edi
call fcn.00427112
add esp, 8
mov edx, dword [ebp + 8]
or edi, 0xffffffff
test edx, edx
je 0x4088c9
lea eax, [edx + 8]
lea ecx, [esi + 0x90]
push eax
call fcn.00408740
mov ecx, dword [ebp + 0xc]
mov edx, eax
test ecx, ecx
je 0x408898
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
test ebx, ebx
je 0x4088c6
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4088c6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x4088c6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov ebx, dword [esi + 0x118]
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [esi + 0x114], edx
mov dword [esi + 0x118], eax
test ebx, ebx
je 0x40890f
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x40890f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x40890f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push esi
call fcn.00426a69
mov esi, dword [ebp + 0xc]
add esp, 4
test esi, esi
je 0x40893d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40893d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40893d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 5
call fcn.004265c3
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.004265c3
int3
Function at 0x4089e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4460b9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x45a014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
lea ecx, [edi + 4]
mov dword [edi], vtable.spdlog::pattern_formatter.0
xorps xmm0, xmm0
push 2
movups xmmword [ecx], xmm0
push 0x450400
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00423300
xorps xmm0, xmm0
movups xmmword [edi + 0x1c], xmm0
mov dword [edi + 0x2c], 0
movups xmm0, xmmword [ebp + 0xc]
mov dword [edi + 0x30], 0
mov byte [ebp + 0xc], 0
movups xmmword [edi + 0x1c], xmm0
movq xmm0, qword [ebp + 0x1c]
movq qword [edi + 0x2c], xmm0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov dword [edi + 0x34], 0
mov byte [edi + 0x38], 1
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
lea ecx, [edi + 0x74]
mov byte [ebp - 4], 3
call fcn.004231a0
mov byte [ebp - 4], 4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi + 0x3c], xmm0
push 0x128
movups xmmword [edi + 0x4c], xmm0
mov dword [edi + 0x5c], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00427120
push 0x128
push 0
push eax
mov dword [ebp - 0x10], eax
call fcn.00428f40
mov ecx, dword [ebp - 0x10]
add esp, 0x10
movq xmm0, qword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movq qword [ecx + 4], xmm0
mov dword [ecx + 0xc], eax
lea eax, [ecx + 0x28]
mov dword [ecx], vtable.spdlog::details::full_formatter.0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x18], vtable.fmt::v10::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x24], 0xfa
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 6
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 0x70]
je 0x408b50
mov dword [eax], ecx
add dword [edi + 0x6c], 4
jmp 0x408b6a
lea ecx, [ebp - 0x10]
push ecx
push eax
lea ecx, [edi + 0x68]
call fcn.00422b80
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x408b6a
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x408b9a
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408b90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408baf
push ecx
push edx
call fcn.00427112
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
call fcn.0042c03f
int3
Function at 0x40a6d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push ebp
push esi
mov esi, 1
mov dword [esp + 0x18], ebx
mov eax, esi
shl eax, cl
mov ecx, dword [esp + 0x20]
push edi
cmp ecx, eax
ja 0x40a83f
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [esp + 0x1c], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.0040a5d0
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x18]
mov esi, dword [esi]
mov edi, esi
cmp esi, eax
je 0x40a819
cmp dword [esi + 0x1c], 0x10
lea ebp, [esi + 8]
mov edi, dword [edi]
mov dword [esp + 0x14], ebp
jb 0x40a74d
mov ecx, dword [ebp]
mov dword [esp + 0x14], ecx
xor edx, edx
mov ebx, 0x811c9dc5
cmp dword [ebp + 0x10], edx
jbe 0x40a776
mov eax, dword [esp + 0x14]
nop dword [eax]
movzx ecx, byte [edx + eax]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, dword [ebp + 0x10]
jb 0x40a760
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
and edx, ebx
lea ecx, [ecx + edx*8]
mov dword [esp + 0x14], ecx
cmp dword [ecx], eax
jne 0x40a794
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x40a80f
mov ebx, dword [ecx + 4]
lea eax, [ebx + 8]
push eax
push ebp
call fcn.0040a8e0
test al, al
jne 0x40a7cc
mov ebx, dword [ebx]
cmp ebx, esi
je 0x40a7c3
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 4], esi
jmp 0x40a80b
mov eax, dword [esp + 0x14]
cmp dword [eax], ebx
je 0x40a7ed
mov ebx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
push ebp
call fcn.0040a8e0
test al, al
je 0x40a823
mov eax, dword [esp + 0x14]
cmp dword [eax], ebx
jne 0x40a7d4
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax], esi
mov eax, dword [esp + 0x18]
mov esi, edi
cmp edi, eax
jne 0x40a737
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x40a80b
push str.invalid_hash_bucket_count
call fcn.00425e7e
int3
Function at 0x40b770
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [esp + 0x1c], ebp
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x24]
cmp ecx, eax
ja 0x40b89f
lea eax, [ecx - 1]
mov esi, dword [ebp + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebp + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0040a5d0
lea eax, [edi - 1]
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x40b879
nop
mov bl, byte [eax + 8]
mov ecx, dword [ecx]
movzx edx, bl
xor edx, 0x811c9dc5
imul edi, edx, 0x1000193
mov edx, dword [ebp + 0xc]
and edi, dword [ebp + 0x18]
lea ebp, [edx + edi*8]
mov edi, dword [ebp]
mov dword [esp + 0x14], ebp
cmp edi, esi
jne 0x40b800
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x40b86b
mov edx, dword [ebp + 4]
cmp bl, byte [edx + 8]
jne 0x40b837
mov edx, dword [edx]
mov dword [esp + 0x18], edx
cmp edx, eax
je 0x40b832
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x18]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov ebp, dword [esp + 0x14]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x40b86b
cmp edi, edx
je 0x40b84c
nop dword [eax + eax]
mov edx, dword [edx + 4]
cmp bl, byte [edx + 8]
je 0x40b883
cmp edi, edx
jne 0x40b840
mov ebp, dword [eax + 4]
mov dword [ebp], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x14]
mov dword [ecx + 4], ebp
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebp, dword [esp + 0x1c]
mov eax, ecx
cmp ecx, esi
jne 0x40b7d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ebx, dword [eax + 4]
mov ebp, dword [edx]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], ebp
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x40b86b
push str.invalid_hash_bucket_count
call fcn.00425e7e
int3
Function at 0x41f3d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
push ebx
mov eax, ecx
mov dword [esp + 0xc], edx
push ebp
push esi
movzx ebp, ax
mov dword [esp + 0xc], eax
mov esi, ebp
push edi
shr esi, 8
xor eax, eax
xor edi, edi
mov dword [esp + 0x14], esi
cmp dword [esp + 0x20], eax
jbe 0x41f44b
mov ebx, dword [esp + 0x24]
nop dword [eax + eax]
movzx ecx, word [edx + edi*2]
mov edx, ecx
movzx ecx, cl
shr edx, 8
add edx, eax
cmp esi, ecx
jb 0x41f44b
jne 0x41f432
cmp eax, edx
jge 0x41f432
mov ecx, dword [esp + 0x10]
movzx esi, cl
nop
movzx ecx, byte [eax + ebx]
cmp cx, si
je 0x41f441
inc eax
cmp eax, edx
jl 0x41f420
mov esi, dword [esp + 0x14]
inc edi
mov eax, edx
cmp edi, dword [esp + 0x20]
jae 0x41f44b
mov edx, dword [esp + 0x18]
jmp 0x41f400
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
mov edi, dword [esp + 0x2c]
xor eax, eax
mov bl, 1
test edi, edi
je 0x41f486
mov esi, dword [esp + 0x28]
nop dword [eax + eax]
movzx ecx, byte [eax + esi]
test cl, cl
jns 0x41f478
movzx edx, byte [eax + esi + 1]
inc eax
and ecx, 0x7f
shl ecx, 8
or edx, ecx
jmp 0x41f47a
mov edx, ecx
sub ebp, edx
js 0x41f486
inc eax
xor bl, 1
cmp eax, edi
jb 0x41f460
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0xc
ret