joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401de0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x442040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
movzx eax, si
push edi
mov edi, edx
test eax, eax
je 0x401e06
sub esi, eax
add esi, 0x10000
cmp esi, edi
jae 0x401ea0
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop dword [eax]
nop dword [eax + eax]
lea eax, [esi - 0x50000000]
cmp eax, 0x30000000
ja 0x401e34
mov esi, 0x80010000
jmp 0x401e9c
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x401ea0
cmp dword [ebp - 0x10], 0x10000
mov ecx, dword [ebp - 0x14]
jne 0x401e87
cmp ecx, 0x10000
jb 0x401e87
push 0x40
push 0x3000
push 0x10000
push esi
call ebx
test eax, eax
jne 0x401ea2
add esi, 0x10000
jmp 0x401e9c
mov esi, dword [ebp - 0x20]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x401e9c
mov eax, 0x10000
sub eax, ecx
add esi, eax
cmp esi, edi
jb 0x401e20
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f2b7
mov esp, ebp
pop ebp
ret

Function at 0x401ec0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x442040]
xor eax, ebp
mov dword [ebp - 4], eax
add edx, 0xffff0000
push ebx
push esi
movzx eax, dx
mov esi, edx
sub esi, eax
test eax, eax
push edi
mov edi, ecx
cmove esi, edx
cmp esi, edi
jbe 0x401f7e
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop word [eax + eax]
lea eax, [esi - 0x50000000]
cmp eax, 0x30000000
ja 0x401f14
mov esi, 0x4fff0000
jmp 0x401f7a
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x401f7e
cmp dword [ebp - 0x10], 0x10000
jne 0x401f65
cmp dword [ebp - 0x14], 0x10000
jb 0x401f65
push 0x40
push 0x3000
push 0x10000
push esi
call ebx
test eax, eax
jne 0x401f80
sub esi, 0x10000
jmp 0x401f7a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xffff0000
mov esi, ecx
movzx eax, si
sub esi, eax
test eax, eax
cmove esi, ecx
cmp esi, edi
ja 0x401f00
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f2b7
mov esp, ebp
pop ebp
ret
Function at 0x401fb0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp esi, 0x7ff80000
jbe 0x401fd2
lea edi, [esi - 0x7ff80000]
cmp esi, 0x80000000
jb 0x401fd7
mov ebx, 0xfff80000
jmp 0x401fdd
mov edi, 0x10000
lea ebx, [esi + 0x7ff80000]
mov edx, dword [0x48a010]
mov eax, dword [0x48a018]
test edx, edx
jne 0x401ff8
test eax, eax
je 0x40200b
mov edx, eax
mov dword [0x48a010], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x40200b
cmp ecx, edi
jb 0x40200b
cmp ecx, ebx
jbe 0x402100
mov edx, eax
mov dword [0x48a010], edx
test eax, eax
je 0x40203d
mov ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x40202c
cmp eax, edi
jb 0x40202c
cmp eax, ebx
jbe 0x402100
mov edx, dword [edx + 4]
mov eax, edx
mov dword [0x48a010], edx
mov ecx, edx
test eax, eax
jne 0x402019
and esi, 0xffff0000
lea eax, [esi - 0x40000000]
cmp esi, 0x40000000
jbe 0x402127
mov edx, eax
mov ecx, edi
call fcn.00401ec0
mov edx, eax
test edx, edx
jne 0x4020be
lea eax, [esi - 0x40000000]
cmp esi, 0x40000000
jbe 0x402087
mov edx, esi
mov ecx, eax
call fcn.00401de0
mov edx, eax
test edx, edx
jne 0x4020be
cmp esi, 0x40000000
jae 0x40209c
lea edx, [esi + 0x40000000]
mov ecx, esi
call fcn.00401ec0
mov edx, eax
test edx, edx
jne 0x4020be
mov edx, esi
mov ecx, edi
call fcn.00401ec0
mov edx, eax
test edx, edx
jne 0x4020be
mov edx, ebx
mov ecx, esi
call fcn.00401de0
mov edx, eax
test edx, edx
je 0x402149
mov dword [edx], 0x52727464
xor ecx, ecx
mov dword [edx + 8], 0
mov esi, 0x38b
mov eax, dword [0x48a018]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x48a010], edx
mov dword [0x48a018], edx
nop dword [eax]
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
sub esi, 1
jne 0x4020f0
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, edi
jb 0x402149
cmp esi, ebx
ja 0x402149
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.00411990
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
ret
jae 0x40206a
lea ecx, [esi + 0x40000000]
mov edx, ebx
call fcn.00401de0
mov edx, eax
test edx, edx
jne 0x4020be
jmp 0x402089
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x402150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x442040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
jne 0x402178
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f2b7
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0xff
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
push ebx
push edi
mov ebx, 0x5a4d
jne 0x4021e7
cmp byte [esi + 1], 0x25
jne 0x4021e7
mov edi, dword [esi + 2]
lea eax, [ebp - 0x20]
push 0x1c
push eax
push esi
call ecx
mov edx, dword [ebp - 0x1c]
cmp word [edx], bx
jne 0x4021e1
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x4021e1
mov ebx, dword [ecx + edx + 0xd8]
lea eax, [ebx + edx]
cmp edi, eax
jb 0x4021dc
mov eax, dword [ecx + edx + 0xdc]
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
add eax, ebx
add eax, edx
mov ebx, 0x5a4d
cmp edi, eax
jae 0x4021e7
mov esi, dword [edi]
jmp 0x4021e7
mov ebx, 0x5a4d
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp byte [esi], 0xeb
jne 0x40225f
movsx eax, byte [esi + 1]
add esi, 2
add esi, eax
mov al, byte [esi]
cmp al, 0xff
jne 0x402253
cmp byte [esi + 1], 0x25
jne 0x40225f
mov edi, dword [esi + 2]
lea eax, [ebp - 0x20]
push 0x1c
push eax
push esi
call ecx
mov edx, dword [ebp - 0x1c]
cmp word [edx], bx
jne 0x40225f
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x40225f
mov ebx, dword [ecx + edx + 0xd8]
lea eax, [ebx + edx]
cmp edi, eax
jb 0x40225f
mov eax, dword [ecx + edx + 0xdc]
add eax, ebx
add eax, edx
cmp edi, eax
jae 0x40225f
mov esi, dword [edi]
mov eax, esi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f2b7
mov esp, ebp
pop ebp
ret
cmp al, 0xe9
jne 0x40225f
mov ecx, dword [esi + 1]
add esi, 5
add esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.0040f2b7
mov esp, ebp
pop ebp
ret

Function at 0x402280
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x442040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x48a00c], 0
jne 0x4022fd
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edx, 0x48a00c
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x4022fd
push esi
mov esi, dword [0x48a018]
mov dword [0x48a020], eax
mov dword [0x48a01c], eax
mov dword [0x48a008], eax
mov dword [0x48a014], eax
test esi, esi
je 0x4022ec
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
push esi
call edi
mov esi, dword [esi + 4]
test esi, esi
jne 0x4022d6
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f2b7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x10dd
xor ecx, ebp
call fcn.0040f2b7
mov esp, ebp
pop ebp
ret
Function at 0x405080
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x442040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [0x489efc]
push edx
push edi
push edi
lea eax, [edx + 1]
mov dword [0x489efc], eax
lea eax, [ebp - 0x110]
push str._s__s__d.bin
push eax
call fcn.00409410
add esp, 0x14
lea eax, [ebp - 0x110]
push 0x43ce10
push eax
call fcn.00414d25
mov esi, eax
add esp, 8
test esi, esi
je 0x405108
push esi
push 1
push dword [ebp + 8]
push ebx
call fcn.0041abd9
push esi
call fcn.0041510a
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f2b7
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x110]
push eax
push str.Cant_open__s_file_to_write__s_dump_n
call fcn.004016d0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040f2b7
mov esp, ebp
pop ebp
ret
Function at 0x4072c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x4072f2
jl 0x4072e5
test ecx, ecx
jne 0x4072f2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x4073cf
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x407322
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x407324
xor eax, eax
cdq
mov dword [esp + 0x1c], edx
mov esi, eax
test edx, edx
jl 0x407378
jg 0x407335
test esi, esi
je 0x407378
mov eax, dword [esp + 0x10]
cmp eax, edx
jg 0x407349
jl 0x407343
cmp ecx, esi
jae 0x407349
mov esi, ecx
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x1c]
push edi
call fcn.00411ba0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
sub ecx, esi
mov eax, dword [eax]
sbb edx, dword [esp + 0x1c]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x14]
jmp 0x40739c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x4073b8
mov ecx, dword [esp + 0xc]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
lea eax, [ebx + 0x2c]
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
test edx, edx
jg 0x407307
jl 0x4073b8
test ecx, ecx
jne 0x407307
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x407413
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x407413
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.00411ba0
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x40747c
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x407439
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x407467
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0041bb2c
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x40747c
cmp edi, eax
ja 0x407445
test edi, edi
je 0x40747c
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0041bb2c
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409430
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432365
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x442040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov edi, edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0xf
jbe 0x40946b
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x409489
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x409477
push esi
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.0040a2b0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4094a6
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x409605
cmp dword [0x489ff0], 0x71c71c7
je 0x40961b
mov dword [ebp - 0x20], 0x489fec
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x1c], 0
call fcn.0040f747
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push dword [ebp - 0x10]
lea ecx, [edi + 8]
call fcn.00408620
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
mov edx, dword [0x489ff0]
lea eax, [edx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x43e670]
mov eax, dword [0x48a004]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x43e670]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x489fe8]
comiss xmm1, xmm0
jbe 0x4095b4
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.00430210
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00431cd0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x48a004]
cmp eax, ecx
jae 0x409596
cmp eax, 0x200
jae 0x409594
shl eax, 3
cmp eax, ecx
jae 0x409596
mov eax, ecx
push eax
call fcn.00409dc0
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040a2b0
mov edx, dword [0x489ff0]
mov ecx, dword [eax]
jmp 0x4095b7
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
inc edx
mov dword [0x489ff0], edx
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [eax], edi
mov dword [ecx + 4], edi
and esi, dword [0x48a000]
mov dword [ebp - 0x10], eax
mov eax, dword [0x489ff4]
mov edx, dword [eax + esi*8]
cmp edx, dword [0x489fec]
jne 0x4095e9
mov dword [eax + esi*8], edi
jmp 0x4095fb
cmp edx, ecx
jne 0x4095f2
mov dword [eax + esi*8], edi
jmp 0x4095ff
mov ecx, dword [ebp - 0x10]
cmp dword [eax + esi*8 + 4], ecx
jne 0x4095ff
mov dword [eax + esi*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
mov eax, ebx
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.0041033d
int3
Function at 0x409dc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
mov esi, 1
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x409f3f
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [0x489fec]
push eax
mov dword [ebp - 8], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x489ff4
lea eax, [esi + esi]
push eax
call fcn.00408f40
lea eax, [esi - 1]
mov dword [0x48a004], esi
mov esi, dword [0x489fec]
mov dword [0x48a000], eax
mov eax, dword [ebp - 8]
mov esi, dword [esi]
mov edi, esi
cmp esi, eax
je 0x409f1a
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea ecx, [esi + 8]
mov edi, dword [edi]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], ecx
jbe 0x409e46
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov ecx, dword [ecx + 0x10]
xor edx, edx
mov dword [ebp - 0xc], ecx
mov ebx, 0x811c9dc5
test ecx, ecx
je 0x409e77
mov eax, dword [ebp - 4]
mov edi, ecx
nop dword [eax]
movzx ecx, byte [eax + edx]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, edi
jb 0x409e60
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
and ebx, dword [0x48a000]
mov ecx, dword [0x489ff4]
lea ecx, [ecx + ebx*8]
mov dword [ebp - 4], ecx
cmp dword [ecx], eax
jne 0x409e94
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x409f10
mov ebx, dword [ecx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.0040a540
test al, al
jne 0x409ece
mov ebx, dword [ebx]
cmp ebx, esi
je 0x409ec6
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 [ebp - 4]
mov dword [eax + 4], esi
jmp 0x409f0d
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
je 0x409ef0
mov ebx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.0040a540
test al, al
je 0x409f23
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
jne 0x409ed5
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 [ebp - 4]
mov dword [eax], esi
mov eax, dword [ebp - 8]
mov esi, edi
cmp edi, eax
jne 0x409e30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
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 0x409f0d
push str.invalid_hash_bucket_count
call fcn.0041033d
int3
Function at 0x40a340
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432365
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x442040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov edi, edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0xf
jbe 0x40a37b
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x40a399
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x40a387
push esi
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.0040a2b0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40a3b6
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x40a519
cmp dword [0x489ff0], 0x71c71c7
je 0x40a52f
mov dword [ebp - 0x20], 0x489fec
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x1c], 0
call fcn.0040f747
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push dword [ebp - 0x10]
lea ecx, [edi + 8]
call fcn.00408620
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x20], ecx
mov dword [ebp - 4], 1
mov ecx, dword [0x489ff0]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x43e670]
mov eax, dword [0x48a004]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x43e670]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x489fe8]
comiss xmm1, xmm0
jbe 0x40a4c6
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.00430210
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00431cd0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x48a004]
cmp eax, ecx
jae 0x40a4a8
cmp eax, 0x200
jae 0x40a4a6
shl eax, 3
cmp eax, ecx
jae 0x40a4a8
mov eax, ecx
push eax
call fcn.00409dc0
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040a2b0
mov ecx, dword [0x489ff0]
mov edx, dword [eax]
jmp 0x40a4c9
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc ecx
mov dword [0x489ff0], ecx
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [0x489ff4]
mov dword [ebp - 0x10], eax
mov eax, dword [0x48a000]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x489fec]
jne 0x40a4fd
mov dword [ecx + eax*8], edi
jmp 0x40a50f
cmp esi, edx
jne 0x40a506
mov dword [ecx + eax*8], edi
jmp 0x40a513
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x40a513
mov dword [ecx + eax*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
mov eax, ebx
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.0041033d
int3
Function at 0x40a600
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x442040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 8], 0
je 0x40a65c
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x48a0e4
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x24]
push 0x40
push 4
mov esi, dword [eax + 4]
push esi
call ebx
test eax, eax
je 0x40a7f1
mov eax, dword [ebp - 8]
push 0x48a0e4
mov eax, dword [eax]
mov dword [esi], eax
push dword [0x48a0e4]
push 4
push esi
call ebx
jmp 0x40a7f1
cmp dword [edi + 0x14], 0
je 0x40a6a2
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x48a0e4
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x24]
push 0x40
push 4
mov esi, dword [eax]
push esi
call ebx
test eax, eax
je 0x40a7f1
mov eax, dword [ebp - 8]
push 0x48a0e4
mov eax, dword [eax]
mov dword [esi], eax
push dword [0x48a0e4]
push 4
push esi
call ebx
jmp 0x40a7f1
call fcn.00402280
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call ebx
cmp dword [0x48a008], 0
mov esi, eax
jne 0x40a70d
call ebx
cmp esi, eax
je 0x40a70d
push 8
call fcn.0040f747
add esp, 4
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x40a6fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 8
push ebx
call fcn.0040f777
add esp, 8
mov dword [0x48a008], esi
mov dword [0x48a014], 0
jmp 0x40a70d
mov eax, dword [0x48a01c]
mov dword [ebx + 4], esi
mov dword [ebx], eax
mov dword [0x48a01c], ebx
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x48a00c], eax
jne 0x40a7ec
cmp dword [0x48a008], 0
jne 0x40a7ec
cmp dword [edi], 0
jne 0x40a746
mov dword [0x48a008], 6
jmp 0x40a7e6
push 0x18
call fcn.0040f747
mov ecx, dword [edi]
add esp, 4
mov esi, eax
call fcn.00402150
mov ecx, dword [ebp - 0xc]
mov ebx, eax
call fcn.00402150
movzx ecx, byte [ebx + 0x36]
mov edx, eax
mov eax, dword [ebx + 0x40]
sub eax, ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x40a7c8
cmp ecx, 0x1e
ja 0x40a7c8
cmp dword [ebx + 0x44], edx
jne 0x40a7c8
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
push 0x40
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40a7a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40a7d6
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xc], eax
mov dword [esi + 4], 1
mov dword [esi + 8], edi
mov dword [esi + 0x10], ebx
mov eax, dword [ebp - 8]
mov dword [esi + 0x14], eax
mov eax, dword [0x48a020]
mov dword [esi], eax
mov dword [0x48a020], esi
jmp 0x40a7ec
cmp dword [0x489e98], 0
mov eax, 9
jne 0x40a7db
mov dword [0x48a008], eax
push 0x18
push esi
call fcn.0040f777
add esp, 8
mov dword [0x48a014], edi
call fcn.00402310
mov eax, dword [edi + 0x24]
test eax, eax
je 0x40a803
push 0
push eax
call fcn.0040f777
add esp, 8
push 0x28
push edi
call fcn.0040f777
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040f2b7
mov esp, ebp
pop ebp
ret