joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40706a
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x25c
push ebx
mov ebx, dword [esp + 0x268]
push esi
mov esi, dword [esp + 0x268]
push edi
mov edi, ebx
push esi
and edi, 4
call fcn.00406eba
mov dword [esp + 0x14], eax
test bl, 8
je 0x4070ac
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x46f628], eax
jmp 0x407285
push ebp
mov ebp, ebx
and ebp, 1
mov dword [esp + 0x14], ebp
je 0x4070c9
test eax, eax
je 0x407210
test bl, 2
je 0x407218
push esi
push 0x454280
call fcn.004074c5
test ebp, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x4070ec
push 0x40a230
push 0x454280
call ebp
jmp 0x4070f2
push esi
call fcn.004076ba
xor eax, eax
cmp word [esi], ax
jne 0x407103
cmp word [0x454280], 0x5c
jne 0x40710b
push 0x4098b4
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push eax
push 0x454280
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4071f5
push 0x2e
pop eax
cmp word [esp + 0x48], ax
jne 0x407159
cmp word [esp + 0x4a], 0
je 0x4071d7
cmp word [esp + 0x4a], ax
jne 0x407159
cmp word [esp + 0x4c], 0
je 0x4071d7
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x14]
call fcn.004074c5
test byte [esp + 0x1c], 0x10
je 0x407180
mov eax, ebx
and eax, 3
cmp al, 3
jne 0x4071d7
push ebx
push esi
call fcn.0040706a
jmp 0x4071d7
push esi
push 0x40a23c
call fcn.00406f38
pop ecx
pop ecx
push edi
push esi
call fcn.00406e07
push esi
test eax, eax
jne 0x4071d0
test edi, edi
je 0x4071bc
push 0x40a260
call fcn.00406f38
pop ecx
pop ecx
push esi
push 0xfffffffffffffff1
call fcn.00406439
xor eax, eax
push eax
push esi
call fcn.00406927
jmp 0x4071d7
push str.Delete:
call fcn.00406f38
inc dword [0x46f628]
pop ecx
pop ecx
jmp 0x4071d7
push 0xfffffffffffffff2
call fcn.00406439
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x407137
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x14], 0
je 0x407284
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov word [eax - 2], cx
cmp dword [esp + 0x18], ecx
jne 0x407218
push esi
push 0x40a2b8
jmp 0x40726e
push esi
call fcn.00406e51
test eax, eax
je 0x407284
push esi
call fcn.00406dd8
push esi
push 0x40a2e4
call fcn.00406f38
pop ecx
pop ecx
mov eax, edi
or eax, 1
push eax
push esi
call fcn.00406e07
push esi
test eax, eax
jne 0x40727d
test edi, edi
je 0x407269
push 0x40a308
call fcn.00406f38
pop ecx
pop ecx
push esi
push 0xfffffffffffffff1
call fcn.00406439
xor eax, eax
push eax
push esi
call fcn.00406927
jmp 0x407284
push str.RMDir:
call fcn.00406f38
inc dword [0x46f628]
pop ecx
pop ecx
jmp 0x407284
push 0xffffffffffffffe5
call fcn.00406439
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x25c
ret 8
Function at 0x4a1916
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d5b20]
jne 0x4a1920
repz ret
jmp fcn.004a7ba3

Function at 0x4a5100
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d5b20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0049de72
and dword [ebp - 0x14], 0
cmp dword [0x4d8e5c], 0
mov dword [ebp - 0x18], eax
jne 0x4a51b3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4a525b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b00f0
push ebx
call edi
test eax, eax
je 0x4a525b
mov esi, dword [fcn.00499a00]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4d8e5c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4d8e60], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4d8e64], eax
call edi
push eax
call esi
mov dword [0x4d8e6c], eax
test eax, eax
je 0x4a51b3
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4d8e68], eax
mov eax, dword [0x4d8e68]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00499a04]
cmp eax, ecx
je 0x4a520c
cmp dword [0x4d8e6c], ecx
je 0x4a520c
push eax
call esi
push dword [0x4d8e6c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4a520c
test ebx, ebx
je 0x4a520c
call edi
test eax, eax
je 0x4a5203
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4a5203
test byte [ebp - 8], 1
jne 0x4a520c
or dword [ebp + 0x10], 0x200000
jmp 0x4a523f
mov eax, dword [0x4d8e60]
cmp eax, dword [ebp - 0x18]
je 0x4a523f
push eax
call esi
test eax, eax
je 0x4a523f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a523f
mov eax, dword [0x4d8e64]
cmp eax, dword [ebp - 0x18]
je 0x4a523f
push eax
call esi
test eax, eax
je 0x4a523f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4d8e5c]
call esi
test eax, eax
je 0x4a525b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4a525d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1916
leave
ret

Function at 0x8924b0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x8924ba
pushal
call 0x8924c0
pop ebp
sub ebp, 0x10
sub ebp, 0x4924b0
jmp 0x8924d6
mov eax, 0x4924b0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b1
mov edx, 0x75b82c4d
xor byte [eax], dl
inc eax
dec ecx
jne 0x8924ed
jmp 0x892500
mov byte [eax + 0x4d71c4c6], 0x4d
dec ebp
int3
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x32766e46
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x48a32f53
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x402ca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449988
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x45f050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x414], edi
mov dword [ebp - 4], 0
mov eax, dword [esi]
call dword [eax + 0xc]
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push 0x45877c
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0042b13d
add esp, 0xc
test eax, eax
jne 0x402dc5
push dword [ebp - 0x414]
lea eax, [ebp - 0x410]
push 0x400
push 1
push eax
call fcn.0042b472
mov ecx, eax
add esp, 0x10
test ecx, ecx
je 0x402d61
nop
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 8]
push dword [ebp - 0x414]
lea eax, [ebp - 0x410]
push 0x400
push 1
push eax
call fcn.0042b472
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x402d30
push dword [ebp - 0x414]
call fcn.0042712a
mov eax, dword [esi]
add esp, 4
mov ecx, esi
push edi
call dword [eax]
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x402da6
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402d9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e0f
push edx
push ecx
call fcn.00422cc9
add esp, 8
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.00422c86
mov esp, ebp
pop ebp
ret 0x1c
lea eax, [ebp + 0xc]
mov edx, str.Cannot_read_file__
push eax
lea ecx, [ebp - 0x44c]
call fcn.004065b0
sub esp, 0x14
mov byte [ebp - 4], 1
mov ecx, esp
mov edx, eax
push 0x458780
call fcn.00406610
add esp, 4
lea ecx, [ebp - 0x434]
push 1
call fcn.00402930
push 0x45d824
lea eax, [ebp - 0x434]
push eax
call fcn.0042426b
call fcn.0042b7e2
int3

Function at 0x405e80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449cb0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x45f050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00422c99
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0040d1f1
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 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
Function at 0x4073a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
je 0x4073ca
mov edx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4073b4
pop edi
mov eax, edx
pop esi
ret
mov eax, dword [esp + 8]
pop esi
ret
Function at 0x4084e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
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 0x408512
jl 0x408505
test ecx, ecx
jne 0x408512
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 0x4085d2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00404ed0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x40857e
jg 0x40853d
test esi, esi
je 0x40857e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x408555
mov eax, dword [esp + 0x10]
jl 0x40854f
cmp eax, esi
jae 0x408555
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.004242e0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x40859f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x4085bb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x408524
jl 0x4085bb
test ecx, ecx
jne 0x408524
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
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]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x408611
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x408611
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.004242e0
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
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x408680
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x408637
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x408669
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0042b472
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x408694
cmp edi, eax
ja 0x408645
test ecx, ecx
je 0x408680
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0042b472
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
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 0x409950
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a065
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x45f050]
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], 0x10
jb 0x40998b
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x4099a9
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x409997
push esi
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.0040a1d0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4099c6
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x409b35
cmp dword [0x461a00], 0x4924924
je 0x409b4b
mov dword [ebp - 0x20], 0x4619fc
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x1c], 0
call fcn.00422c99
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push dword [ebp - 0x10]
lea ecx, [edi + 8]
call fcn.00404190
mov dword [edi + 0x20], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov dword [ebp - 4], 1
mov ecx, dword [0x461a00]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x458e00]
mov eax, dword [0x461a14]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x458e00]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x4619f8]
comiss xmm1, xmm0
jbe 0x409ae2
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.004485c0
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00449730
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x461a14]
cmp eax, ecx
jae 0x409ac4
cmp eax, 0x200
jae 0x409ac2
shl eax, 3
cmp eax, ecx
jae 0x409ac4
mov eax, ecx
push eax
call fcn.00409d40
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040a1d0
mov ecx, dword [0x461a00]
mov edx, dword [eax]
jmp 0x409ae5
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc ecx
mov dword [0x461a00], ecx
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [0x461a04]
mov dword [ebp - 0x10], eax
mov eax, dword [0x461a10]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x4619fc]
jne 0x409b19
mov dword [ecx + eax*8], edi
jmp 0x409b2b
cmp esi, edx
jne 0x409b22
mov dword [ecx + eax*8], edi
jmp 0x409b2f
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x409b2f
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.0040d079
int3
Function at 0x409d40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push ebp
push esi
mov esi, 1
mov eax, esi
shl eax, cl
mov ecx, dword [esp + 0x20]
push edi
cmp ecx, eax
ja 0x409f0e
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [0x4619fc]
push eax
mov dword [esp + 0x14], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x461a04
lea eax, [esi + esi]
push eax
call fcn.00409660
mov edi, dword [0x4619fc]
lea eax, [esi - 1]
mov ecx, dword [esp + 0x10]
mov dword [0x461a10], eax
mov dword [0x461a14], esi
mov edi, dword [edi]
mov eax, edi
cmp edi, ecx
je 0x409ee4
nop dword [eax]
cmp dword [edi + 0x1c], 0x10
lea ebx, [edi + 8]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
jb 0x409dc9
mov edx, dword [ebx]
mov dword [esp + 0x14], edx
xor edx, edx
mov ebp, 0x811c9dc5
cmp dword [ebx + 0x10], edx
jbe 0x409df6
mov ecx, dword [esp + 0x14]
nop dword [eax]
movzx esi, byte [edx + ecx]
inc edx
xor esi, ebp
imul ebp, esi, 0x1000193
cmp edx, dword [ebx + 0x10]
jb 0x409de0
mov ecx, dword [esp + 0x10]
and ebp, dword [0x461a10]
mov edx, dword [0x461a04]
lea ebp, [edx + ebp*8]
mov edx, dword [ebp]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], edx
cmp edx, ecx
jne 0x409e1f
mov dword [ebp], edi
mov dword [ebp + 4], edi
jmp 0x409eda
mov esi, dword [ebp + 4]
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
jb 0x409e2e
mov edx, dword [esi + 8]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x409e38
mov ecx, dword [ebx]
push dword [esi + 0x18]
push edx
mov edx, dword [ebx + 0x10]
call fcn.00407320
add esp, 8
test al, al
je 0x409e72
mov ebx, dword [esi]
mov eax, dword [esp + 0x18]
cmp ebx, edi
je 0x409e6d
mov esi, dword [edi + 4]
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 dword [ebp + 4], edi
jmp 0x409ed6
mov ebp, esi
cmp dword [esp + 0x14], esi
je 0x409eb4
nop word [eax + eax]
mov esi, dword [esi + 4]
mov ebp, esi
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
jb 0x409e91
mov edx, dword [esi + 8]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x409e9b
mov ecx, dword [ebx]
push dword [esi + 0x18]
push edx
mov edx, dword [ebx + 0x10]
call fcn.00407320
add esp, 8
test al, al
jne 0x409eee
cmp dword [esp + 0x14], esi
jne 0x409e80
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x18]
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 ecx, dword [esp + 0x1c]
mov dword [ecx], edi
mov ecx, dword [esp + 0x10]
mov edi, eax
cmp eax, ecx
jne 0x409db0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x18]
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 0x409ed6
push str.invalid_hash_bucket_count
call fcn.0040d079
int3
Function at 0x40ac90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebx, edx
mov dword [esp + 0xc], esi
cmp dword [edx + 0x14], 0x10
push edi
jb 0x40acad
mov ebx, dword [edx]
mov ebp, dword [edx + 0x10]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebp, ebp
je 0x40acd1
nop dword [eax + eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebp
jb 0x40acc0
push edi
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0040a1d0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x40ad03
cmp ecx, dword [0x4619fc]
je 0x40ad03
add ecx, 0x20
push ecx
mov ecx, esi
call fcn.00404190
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
push 0x15
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push str.Error_code_not_found.
mov byte [esi], 0
call fcn.00405030
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x40b6b0
Capabilities:
Create process on windows

Disassembly:
cmp byte [0x4619f4], 0
je 0x40b6e3
cmp dword [0x45fbf4], 0x10
mov eax, 0x45fbe0
push 0xa
cmovae eax, dword [0x45fbe0]
push 0
push 0x458693
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret