joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485723
Capabilities:
Encode data using xor

Disassembly:
jg 0x485769
cmp dword [eax + ebp*8], ecx
inc ebp
das
mov eax, 0xb53e4697
and byte [eax - 0x16], dh
or byte [eax], bl
and eax, 0xdb2b1a4f
call esi
cmpsd dword [esi], dword es:[edi]
cmp byte [eax + 0x73], dl
add al, dh
ja 0x485738
lodsb al, byte [esi]
cmp dl, byte [ebp - 0x640dbc56]
xlatb
xor eax, dword [ebx + esi + 0x4416e7ac]
and ebp, dword [eax + 0x6402df5]
popfd
wait
pop ebx
rol dword [ebx + 4], 1
inc ebx
add al, 0xcb
inc ebx
add al, 0xcb
jno 0x4856ea
xchg ecx, eax
shl dword [ebx + 0x1f40b1a0], 0xc0
dec ebp
lodsb al, byte [esi]
aas
movsb byte es:[edi], byte [esi]
dec edx
sar byte [edi], 0xa0
pop esp
xchg dl, bh
jp 0x485767
mov edx, 0x8b51b04a
mov dh, 0xfa
cli
pop eax
inc eax
outsd dx, dword [esi]
sar dword [ebp - 0x78], 1
in al, dx
loop 0x485768
xor al, 0xe4
add dword [esi], ebx
push edx
into
xchg edx, eax
out dx, eax
jae 0x4857c3
push es
and eax, dword [edx]
jp 0x485743
out 0x80, eax
push edi
int 0x7a
adc byte [edi - 0x33], 0x7a
and edi, eax
push esi
inc esi
fisubr word [ebx]
push es
invalid
lodsb al, byte [esi]
xor ch, byte [edi]
in eax, 0xcb
pushfd
mov bl, 5
mov bl, 0x75
jo 0x48575b
mov al, 6
push esi
dec esi
mov esi, 0x6119207a
cmp ebp, esp
cdq
cmp al, 0xc
push ss
popal
xchg edx, eax
cmp ebx, dword [edi]
push ds
and eax, 0x647d092c
dec byte [eax + 0x42]
push 0xc4161ee
mov al, byte [0xa0c6a6ad]
add ecx, eax
jnp 0x4857bf
cdq
invalid
mov ecx, 0x1fb8b0a4
pop ds
dec esi
push 0x9ed73190
call 0x301338e4
xor dword [edx + 0x1f6fa339], ecx
in eax, dx
push edx
jnp 0x4857c4
test al, 0x9f
out dx, eax
mov byte [0x65f5f83], al
inc ebp
mov ebx, 0x5e2e61c2
outsb dx, byte [esi]
fiadd dword [eax - 0x6c]
cmpsd dword [esi], dword es:[edi]
inc ecx
and ebp, ecx
xor dl, dh
mov dword [0xca6f4c70], eax
inc edx
insb byte es:[edi], dx
fmul st(6), st(0)
ror byte [ebx + 0x1c], 1
fstp dword [ebp - 0x2d649d78]
mov esi, 0x538238d2
fdiv st(3), st(0)
jmp 0x485815
movsd dword es:[edi], dword [esi]
pop ebp
lodsb al, byte [esi]
movsd dword es:[edi], dword [esi]
sbb edi, esp
push edx
test eax, 0xe5987589
or edx, esi
sub cl, bl
aas
insd dword es:[edi], dx
test al, 0x65
mov esi, 0x157dbe81
sbb dword [edi], edx
add eax, 0xa18cdd79
jl 0x485836
dec dword [ebx - 0x7a8bc5e3]
clc
mov ebx, dword [0xf885743a]
add al, 0x5e
inc byte [esi + 0x32]
inc ebp
dec byte [edi + eax*4 - 0x1a597588]
dec edx
invalid
Function at 0x4ab7e3
Capabilities:
Encode data using xor

Disassembly:
mov es, word [ebp + 0x59]
inc ebp
mov dh, 0xd9
pop ebp
inc edx
invalid

Function at 0x4ae8d3
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x197a3be]
stosb byte es:[edi], al
cmp al, 0xb5
mov ebp, 0xdca4c3a4
in eax, 0x7e
rcl byte [edi - 0x235459d7], 0x85
invalid

Function at 0x4bb07a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3370
cmp edx, dword [eax]
je 0x4bb09c
add eax, 8
inc ecx
cmp eax, 0x4c3400
jl 0x4bb08d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3370]
jne 0x4bb1ca
mov eax, dword [0x4c7a24]
cmp eax, 1
je 0x4bb1a4
test eax, eax
jne 0x4bb0cd
cmp dword [0x4c32b0], 1
je 0x4bb1a4
cmp edx, 0xfc
je 0x4bb1ca
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb104
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bb790
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb9c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb147
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb9c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf9c0
push edi
call fcn.004bd190
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bb790
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb7a0
lea eax, [ebp - 0xa0]
push 0x4bf9a0
push eax
call fcn.004bb7a0
push dword [esi + 0x4c3374]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb7a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bd104
add esp, 0x2c
pop edi
jmp 0x4bb1ca
lea eax, [ebp + 8]
lea esi, [esi + 0x4c3374]
push 0
push eax
push dword [esi]
call fcn.004bb9c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4f9480
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x41000]
push edi
jmp 0x4f949a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f94a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f9490
mov eax, 1
add ebx, ebx
jne 0x4f94b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f94c4
jne 0x4f94e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f94e3
dec eax
add ebx, ebx
jne 0x4f94d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f94a8
add ebx, ebx
jne 0x4f94df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f9535
xor ecx, ecx
sub eax, 3
jb 0x4f94fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f956a
sar eax, 1
mov ebp, eax
jmp 0x4f9506
add ebx, ebx
jne 0x4f9506
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f94d4
inc ecx
add ebx, ebx
jne 0x4f9514
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f94d4
add ebx, ebx
jne 0x4f9521
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f9516
jne 0x4f9532
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f9516
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f9554
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f9546
jmp 0x4f9496
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f9554
add edi, ecx
jmp 0x4f9496
pop esi
mov edi, esi
mov ecx, 0xb53
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f9572
cmp byte [edi], 6
jne 0x4f9572
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 0x4f9577
lea edi, [esi + 0xf7000]
mov eax, dword [edi]
or eax, eax
je 0x4f95e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xfc10c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xfc15c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f95a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xfc164]
or eax, eax
je 0x4f95e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4f95c1
call dword [esi + 0xfc160]
mov ebp, dword [esi + 0xfc168]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x4f961a
sub esp, 0xffffff80
jmp 0x40d680
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
mov ecx, 0x16714377
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x28d52ae4
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4248ee
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x424a0d
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0x14
push 0
push 0x8538
push 0x74fd
call fcn.0041ad54
pop ecx
pop ecx
call eax
push eax
push 0x8538
push 0x71be
call fcn.0041ad54
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 0x10], 0
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x50]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x8538
push 0x6e7f
call fcn.0041ad54
pop ecx
pop ecx
call eax
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x54]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x8538
push 0x6e7f
call fcn.0041ad54
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx + 0x54]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push dword [eax]
call fcn.0041ad76
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx], eax
lea eax, [ebp - 8]
push eax
push 1
push 0x7c0f
lea eax, [ebp - 4]
push eax
call fcn.00424898
add esp, 0x10
jmp 0x424a37
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x424a37
push 0x129d
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esp, ebp
pop ebp
ret
Function at 0x424a3b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x424a5f
xor eax, eax
jmp 0x424b82
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x424a7d
xor eax, eax
jmp 0x424b82
push 1
push 0x1cd9
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0042480c
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x424aa0
xor eax, eax
jmp 0x424b82
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 0x10]
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x134e
call fcn.004248ee
add esp, 0x1c
push 0
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 4]
push 0x29ff
call fcn.00423d26
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x424b0b
push dword [ebp - 4]
push dword [ebp - 0x14]
push 0x1f4b
push 0x3df2
push 1
push 0x4a73
push 0x4962
call fcn.00423734
add esp, 0x1c
push dword [ebp - 4]
call fcn.004246d1
pop ecx
test eax, eax
jne 0x424b1c
xor eax, eax
jmp 0x424b82
push dword [ebp - 4]
push 1
call fcn.00423347
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x424b6a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x424b47
xor eax, eax
jmp 0x424b82
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x424b60
xor eax, eax
jmp 0x424b82
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x424b7b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x424b7f
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x44b501
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x44b529
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, 0x24
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x44b53d
push 0x129d
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esp, ebp
pop ebp
ret

Function at 0x44b816
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x44b83b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x44b85d
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4843d1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x49236f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a5484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00482284
mov dword [ebp - 0x14], eax
cmp dword [0xa9f070], esi
jne 0x492462
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4923ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x492542
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x492542
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x492542
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa9f070], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa9f074], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa9f078], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa9f080], eax
test eax, eax
je 0x49245f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa9f07c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x492487
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49247a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x49249c
push 4
pop eax
jmp 0x492544
cmp dword [ebp - 0x14], esi
je 0x49249c
push dword [0xa9f070]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x492481
mov eax, dword [0xa9f07c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4924fa
cmp dword [0xa9f080], edi
je 0x4924fa
push eax
call ebx
push dword [0xa9f080]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4924fa
test eax, eax
je 0x4924fa
call ecx
test eax, eax
je 0x4924ef
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4924ef
test byte [ebp - 8], 1
jne 0x4924fa
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x49252a
mov eax, dword [0xa9f074]
cmp eax, edi
je 0x492527
push eax
call ebx
test eax, eax
je 0x492527
call eax
mov esi, eax
test esi, esi
je 0x492527
mov eax, dword [0xa9f078]
cmp eax, edi
je 0x492527
push eax
call ebx
test eax, eax
je 0x492527
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa9f070]
call ebx
test eax, eax
je 0x492542
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x492544
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048172b
mov esp, ebp
pop ebp
ret
Function at 0x40dcb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2530
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x59da54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0040dc40
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x40dd43
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 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 [edi + 8], 0xccccccc
je 0x40dea7
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.004933f4
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e8010]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4e8010]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x40de46
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00493b20
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x40de25
cmp ebx, 0x200
jae 0x40de23
shl ebx, 3
cmp ebx, ecx
jae 0x40de25
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.0040dfb0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040dc40
mov ecx, dword [edi + 8]
mov edx, dword [eax]
jmp 0x40de49
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x40de77
mov dword [ecx + eax*8], esi
jmp 0x40de86
cmp edi, edx
jne 0x40de80
mov dword [ecx + eax*8], esi
jmp 0x40de8a
cmp dword [ecx + eax*8 + 4], ebx
jne 0x40de8a
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
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 sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x40e200
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2558
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x59da54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp - 4], 0
imul edx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp + 8], ebx
xor edx, eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
imul ecx, edx, 0x1000193
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040dc40
mov eax, dword [eax + 4]
test eax, eax
cmove eax, dword [edi + 4]
cmp eax, dword [edi + 4]
jne 0x40e321
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0040dcb0
mov edx, dword [ebp + 0x10]
mov ecx, dword [eax]
test edx, edx
je 0x40e2b6
lock inc dword [edx + 4]
mov edx, dword [ebp + 0x10]
mov esi, dword [ecx + 0x10]
or edi, 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edx
test esi, esi
je 0x40e2e8
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40e2e8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40e2e8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x40e30d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40e30d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40e30d
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 0xc
push str.State_already_exists
lea ecx, [ebp - 0x18]
call fcn.00408db0
push 0x511a84
lea eax, [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x40f9d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x59da54]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40fa8c
cmp byte [esi + 0x3d], 0
je 0x40fa8c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40fa7a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x40fa41
sub eax, 1
je 0x40fa45
sub eax, 2
jne 0x40fa7a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493440
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40fa63
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40fa7a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493440
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493440
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00493440
mov esp, ebp
pop ebp
ret