joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4081df
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
lea eax, [ebp - 0x9c]
mov byte [ebp - 0x20], 0x2a
push eax
mov byte [ebp - 0x10], 0x67
mov byte [ebp - 0x1f], 0x2f
mov byte [ebp - 0xf], 0x21
mov byte [ebp - 0x1e], 0xed
mov byte [ebp - 0xe], 0x4c
mov byte [ebp - 0x1d], 0x5e
mov byte [ebp - 0xd], 0xa4
mov byte [ebp - 0x1c], 0x49
mov byte [ebp - 0xc], 0x10
mov byte [ebp - 0x1b], 0x26
mov byte [ebp - 0xb], 0x7e
mov byte [ebp - 0x1a], 0x40
mov byte [ebp - 0xa], 0x51
mov byte [ebp - 0x19], 0x19
mov byte [ebp - 9], 0x22
mov byte [ebp - 0x18], 0x40
mov byte [ebp - 8], 0x25
mov byte [ebp - 0x17], 0x40
mov byte [ebp - 7], 0x11
mov byte [ebp - 0x16], 0xe2
mov byte [ebp - 6], 0x2b
mov byte [ebp - 0x15], 0x51
mov byte [ebp - 5], 0x3c
mov byte [ebp - 0x14], 0xaa
mov byte [ebp - 4], 0x46
mov byte [ebp - 0x13], 0xfa
mov byte [ebp - 3], 0x5e
mov byte [ebp - 0x12], 0xdb
mov byte [ebp - 0x11], 0xcb
call fcn.004062e9
lea eax, [ebp - 0x20]
push 0x1c
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00406311
lea eax, [ebp - 0x9c]
push eax
push dword [ebp + 8]
call fcn.004063af
and byte [ebp - 0x27], 0
add esp, 0x18
mov byte [ebp - 0x34], 0x47
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x31], 0x53
mov byte [ebp - 0x30], 0x79
mov byte [ebp - 0x2f], 0x73
mov byte [ebp - 0x2e], 0x74
mov byte [ebp - 0x2d], 0x65
mov byte [ebp - 0x2c], 0x6d
mov byte [ebp - 0x2b], 0x54
mov byte [ebp - 0x2a], 0x69
mov byte [ebp - 0x29], 0x6d
mov byte [ebp - 0x28], 0x65
call fcn.0040320a
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x44]
push ecx
call eax
mov cx, word [ebp - 0x44]
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dl, ch
mov byte [eax], cl
mov cx, word [ebp - 0x42]
mov byte [eax + 1], dl
xor edx, edx
mov byte [eax + 2], cl
mov dl, ch
mov byte [eax + 3], dl
leave
ret
Function at 0x40deee
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x170
mov eax, dword [0x4736b8]
xor eax, ebp
mov dword [ebp + 0x64], eax
push ebx
push edi
push str.c:otlcad_tfodpath.txt
lea ecx, [ebp + 0x2c]
call fcn.004017ad
xor ebx, ebx
push ebx
lea ecx, [ebp + 0x48]
mov dword [ebp + 0x60], 0xf
call fcn.00401668
cmp dword [ebp + 0x44], 0x10
mov eax, dword [ebp + 0x30]
jae 0x40df30
lea eax, [ebp + 0x30]
xor edi, edi
inc edi
push edi
push 0x40
push edi
push eax
lea ecx, [ebp - 0x108]
call fcn.004016fe
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
lea eax, [ebp + eax - 0x108]
mov ecx, dword [eax + 8]
and cl, 6
neg cl
sbb ecx, ecx
not ecx
test eax, ecx
je 0x40e080
push esi
mov esi, 0x47333c
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0040107d
pop ecx
pop ecx
lea ecx, [ebp - 0x108]
call fcn.004014c4
push str.programT_Name.txt
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.00401285
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x48]
call fcn.0040164a
push ebx
push edi
lea ecx, [ebp + 0x10]
call fcn.004014f1
cmp dword [ebp + 0x60], 0x10
mov eax, dword [ebp + 0x4c]
pop esi
jae 0x40dfbc
lea eax, [ebp + 0x4c]
push edi
push 0x40
push edi
push eax
lea ecx, [ebp - 0x7c]
call fcn.004016fe
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 4]
lea eax, [ebp + eax - 0x7c]
mov ecx, dword [eax + 8]
and cl, 6
neg cl
sbb ecx, ecx
not ecx
test eax, ecx
je 0x40e067
lea eax, [ebp - 0x7c]
push 0x473358
push eax
call fcn.0040107d
pop ecx
pop ecx
lea ecx, [ebp - 0x7c]
call fcn.004014c4
call fcn.004014a1
call fcn.0040150f
cmp dword [0x473370], 0x10
mov eax, dword [0x47335c]
jae 0x40e01c
mov eax, 0x47335c
push 0x40
push eax
push 0x462458
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x7c]
call fcn.0040175d
lea ecx, [ebp - 0x108]
call fcn.0040175d
push ebx
push edi
lea ecx, [ebp + 0x48]
call fcn.004014f1
push ebx
push edi
lea ecx, [ebp + 0x2c]
call fcn.004014f1
mov ecx, dword [ebp + 0x64]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00426ee2
add ebp, 0x68
leave
ret 0x10
push 0x40
push 0x462444
push 0x462428
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call fcn.00426e56
push 0x40
push 0x462444
push 0x4623fc
jmp 0x40e073
Function at 0x41d2db
Capabilities:
Terminate process

Disassembly:
jmp 0x41d2db
push ebp
sub esp, 0x5c
lea ebp, [esp - 4]
mov eax, dword [0x4736b8]
xor eax, ebp
mov dword [ebp + 0x5c], eax
push 0x134
mov eax, 0x45cf63
call fcn.00427be0
push 0xf
pop esi
xor edi, edi
push edi
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x58], esi
call fcn.00401668
push edi
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp + 0x20], esi
call fcn.00401668
push edi
lea ecx, [ebp + 0x24]
mov dword [ebp + 0x3c], esi
call fcn.00401668
fld qword [ebp + 0x70]
push str.programD_NameSm.txt
fstp qword [ebp]
lea eax, [ebp - 0x28]
push 0x47333c
push eax
mov byte [ebp - 4], 2
call fcn.00401285
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 3
call fcn.0040164a
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004014f1
cmp dword [ebp + 0x3c], 0x10
mov eax, dword [ebp + 0x28]
jae 0x41d375
lea eax, [ebp + 0x28]
push ebx
push 0x40
pop esi
push esi
push ebx
push eax
lea ecx, [ebp - 0x140]
call fcn.004016fe
mov eax, dword [ebp - 0x140]
mov eax, dword [eax + 4]
lea eax, [ebp + eax - 0x140]
mov ecx, dword [eax + 8]
and cl, 6
neg cl
mov byte [ebp - 4], 4
sbb ecx, ecx
not ecx
test eax, ecx
je 0x41d500
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.0040107d
pop ecx
pop ecx
lea ecx, [ebp - 0x140]
call fcn.004014c4
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
jae 0x41d3d8
lea eax, [ebp + 0xc]
push ebx
push esi
push ebx
push eax
lea ecx, [ebp - 0xb4]
call fcn.004016fe
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 4]
lea eax, [ebp + ecx - 0xb4]
mov edx, dword [eax + 8]
and dl, 6
neg dl
mov byte [ebp - 4], 5
sbb edx, edx
not edx
test eax, edx
je 0x41d4e8
test byte [ebp + ecx - 0xac], bl
jne 0x41d484
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0040107d
cmp dword [ebp + 0x58], 0x10
mov eax, dword [ebp + 0x44]
pop ecx
pop ecx
jae 0x41d436
lea eax, [ebp + 0x44]
push eax
call fcn.0042989c
fldz
pop ecx
push eax
sub esp, 0x20
fstp qword [esp + 0x18]
fld qword [0x462600]
fstp qword [esp + 0x10]
fld qword [ebp]
fstp qword [esp + 8]
fld qword [ebp + 0x68]
fstp qword [esp]
call fcn.0040127b
fld qword [ebp]
mov eax, dword [ebp - 0xb4]
fsub qword [0x462cc8]
mov eax, dword [eax + 4]
add esp, 0x24
test byte [ebp + eax - 0xac], bl
fstp qword [ebp]
je 0x41d418
lea ecx, [ebp - 0xb4]
call fcn.004014c4
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 4
call fcn.0040175d
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
call fcn.0040175d
push edi
push ebx
lea ecx, [ebp + 0x24]
call fcn.004014f1
push edi
push ebx
lea ecx, [ebp + 8]
call fcn.004014f1
push edi
push ebx
lea ecx, [ebp + 0x40]
call fcn.004014f1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5c]
xor ecx, ebp
call fcn.00426ee2
add ebp, 0x60
leave
ret
push esi
push 0x462444
push 0x462e8c
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.00426e56
push esi
push 0x462444
push 0x462e6c
jmp 0x41d4f3
Function at 0x426ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4736b8]
jne 0x426eec
repz ret
jmp fcn.0042b7ef

Function at 0x436cc5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00429f3f
xor ebx, ebx
cmp dword [0x4764d4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x436d9a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x436d05
xor eax, eax
jmp 0x436e5e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x436cfe
push eax
call fcn.00429edc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4764d4], eax
call esi
push eax
call fcn.00429edc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4764d8], eax
call esi
push eax
call fcn.00429edc
mov dword [0x4764dc], eax
lea eax, [ebp - 8]
push eax
call fcn.00426b61
test eax, eax
pop ecx
pop ecx
je 0x436d68
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00427547
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x436d9a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00429edc
cmp eax, ebx
pop ecx
mov dword [0x4764e4], eax
je 0x436d9a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00429edc
pop ecx
mov dword [0x4764e0], eax
mov eax, dword [0x4764e0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x436e13
cmp dword [0x4764e4], esi
je 0x436e13
push eax
call fcn.00429f48
pop ecx
call eax
cmp eax, ebx
je 0x436de0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4764e4]
call fcn.00429f48
pop ecx
call eax
test eax, eax
je 0x436de0
test byte [ebp - 0x18], 1
jne 0x436e13
lea eax, [ebp - 0xc]
push eax
call fcn.00426c10
test eax, eax
pop ecx
je 0x436dfb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00427547
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x436e0a
or dword [ebp + 0x10], 0x200000
jmp 0x436e44
or dword [ebp + 0x10], 0x40000
jmp 0x436e44
mov eax, dword [0x4764d8]
cmp eax, esi
je 0x436e44
push eax
call fcn.00429f48
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x436e44
mov eax, dword [0x4764dc]
cmp eax, esi
je 0x436e44
push dword [ebp - 4]
push eax
call fcn.00429f48
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4764d4]
call fcn.00429f48
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0xf792915
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x732b231f
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x1003fa40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cb8a1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100e800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [edx]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0xf
mov dword [ebp - 4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0xf
mov byte [ebp - 4], 1
lea edi, [esi + 0x424]
mov word [esi + 0xc1], 0
mov ebx, 0x80
mov byte [esi + 0xc3], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0x400], 0
mov dword [esi + 0x404], 0
mov dword [esi + 0x408], 0
mov dword [esi + 0x40c], 0
mov dword [esi + 0x410], 0
mov dword [esi + 0x414], 0
mov dword [esi + 0x418], 0
mov dword [esi + 0x41c], 0
mov byte [esi + 0x420], 0
nop dword [eax]
mov ecx, edi
call fcn.100363d0
add edi, 0x30
sub ebx, 1
jne 0x1003fbe0
lea edi, [esi + 0x1c24]
mov ebx, 0x80
nop word [eax + eax]
mov ecx, edi
call fcn.100363d0
add edi, 0x30
sub ebx, 1
jne 0x1003fc00
push dword [ebp - 0x10]
mov ecx, esi
mov byte [esi + 0x3424], bl
mov dword [esi + 0x3428], ebx
mov dword [esi + 0x342c], ebx
mov dword [esi + 0x3430], ebx
mov dword [esi + 0x3434], ebx
mov dword [esi + 0x3438], ebx
mov dword [esi + 0x343c], ebx
mov byte [esi + 0x344d], bl
mov byte [esi + 0x3458], bl
mov byte [esi + 0x3744], bl
mov dword [esi + 0x3748], ebx
mov dword [esi + 0x374c], ebx
mov dword [esi + 0x3750], ebx
mov dword [esi + 0x3754], ebx
mov dword [esi + 0x3758], ebx
mov dword [esi + 0x375c], ebx
mov byte [esi + 0x3764], bl
mov dword [esi + 0x3774], ebx
mov byte [esi + 0x377a], bl
mov dword [esi + 0x377c], ebx
mov dword [esi + 0x3780], ebx
call fcn.10036510
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 0x10046c80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cbcf5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100e800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul edi, ecx, 0x1000193
push edi
push esi
push eax
call fcn.10047e00
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10046dab
cmp dword [0x101b5100], 0xfffffff
jne 0x10046d0a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x101b50fc
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.100c8fc1
mov ebx, eax
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 0x18], ebx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [0x101b5100]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100dcfc0]
mov eax, dword [0x101b5114]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100dcfc0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x101b50f8]
jbe 0x10046da0
call fcn.10047840
push edi
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10047e00
mov ecx, dword [eax]
jmp 0x10046da3
mov ecx, dword [ebp - 0x14]
push ebx
push ecx
push edi
call fcn.100478c0
add eax, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10046f30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100e800c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10046fec
cmp byte [esi + 0x3d], 0
je 0x10046fec
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10046fda
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 0x10046fa1
sub eax, 1
je 0x10046fa5
sub eax, 2
jne 0x10046fda
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c8fa5
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10046fc3
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 0x10046fda
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c8fa5
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c8fa5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100c8fa5
mov esp, ebp
pop ebp
ret
Function at 0x100471c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x10047316
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.100c94d3
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x10047279
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10047237
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x1004730c
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1004728d
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x10047290
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1004730c
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.100c94d3
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x1004731d
cmp esi, eax
jne 0x100472e7
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x100472a0
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10047930
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x1004795c
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x101b50fc]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x101b5104
lea eax, [edi + edi]
push eax
call fcn.1003de60
mov ecx, dword [0x101b50fc]
lea ebx, [edi - 1]
mov dword [0x101b5110], ebx
mov dword [0x101b5114], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x10047a9e
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x101b5104]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [eax + edi*8]
mov dword [ebp - 4], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x100479f6
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x10047a69
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x10047a30
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x10047a28
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x10047a69
mov edi, eax
cmp dword [ebp - 4], eax
je 0x10047a46
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x10047a7a
cmp dword [ebp - 4], eax
jne 0x10047a37
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
je 0x10047a9e
mov ebx, dword [0x101b5110]
jmp 0x100479a3
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x10047a69
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4