joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012f0
Capabilities:
Create service
Get common file path
Persist via windows service
Print debug messages
Set registry value
Start service

Disassembly:
sub esp, 0xa8
mov eax, dword [0x42394c]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebp
push esi
push edi
push str.DgiVecp_install_n
call ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x401331
push str.MDM_::_OpenSCManager_Error__n
call ebx
push 0xf01ff
push str.DgiVecp
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x4013da
push 0x80
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x34]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401363
mov ecx, dword [str.DriversDgiVecp.sys]
mov edx, dword [0x41c4a0]
push 0
push 0
mov dword [eax], ecx
mov ecx, dword [0x41c4a4]
mov dword [eax + 4], edx
mov edx, dword [0x41c4a8]
push 0
push 0
mov dword [eax + 8], ecx
mov ecx, dword [0x41c4ac]
mov dword [eax + 0xc], edx
mov dl, byte [0x41c4b0]
push 0
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], dl
lea eax, [esp + 0x48]
push eax
push 1
push 2
push 1
push 0xf01ff
push str.DgiVecp
push str.DgiVecp
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
test esi, esi
jne 0x4013da
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebp, dword [sym.imp.ADVAPI32.dll_ControlService]
lea ecx, [esp + 0x18]
push ecx
push 4
push esi
call ebp
cmp dword [esp + 0x1c], 4
je 0x401434
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x401407
push str.Could_not_start_Error__n
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
nop
push 0x3e8
call ebx
lea edx, [esp + 0x18]
push edx
push 4
push esi
call ebp
test eax, eax
je 0x40142c
cmp dword [esp + 0x1c], 4
je 0x401434
add edi, 1
cmp edi, 0xa
jl 0x401410
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [esp + 0x14]
push eax
push str.SystemCurrentControlSetServicesDgivEcp
push 0x80000002
mov dword [esp + 0x1c], 0x32
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.TurnAroundDelay
push edx
call esi
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.PreTurnAroundDelay
push ecx
call esi
mov eax, dword [esp + 0x14]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.MinimumStallTime
push eax
mov dword [esp + 0x28], 0x1f40
call esi
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.CurrentInUse
push edx
mov dword [esp + 0x28], 1
call esi
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b062
add esp, 0xa8
ret
Function at 0x4014f0
Capabilities:
Create service
Get common file path
Persist via windows service
Print debug messages
Start service

Disassembly:
sub esp, 0xa0
mov eax, dword [0x42394c]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push edi
push str.Port_Contetion_Driver_install_n
call ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x401530
push str.MDM_::_OpenSCManager_Error__n
call ebx
push 0xf01ff
push str.SSPORT
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x4015e8
push 0x80
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x28]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401562
mov ecx, dword [str.DriversSSPORT.sys]
mov edx, dword [0x41c4f4]
push 0
push 0
push 0
mov dword [eax], ecx
mov ecx, dword [0x41c4f8]
push 0
mov dword [eax + 4], edx
mov edx, dword [0x41c4fc]
push 0
mov dword [eax + 8], ecx
mov ecx, dword [0x41c500]
mov dword [eax + 0xc], edx
lea edx, [esp + 0x3c]
push edx
push 1
push 2
push 1
push 0xf01ff
push str.SSPORT
push str.SSPORT
push edi
mov dword [eax + 0x10], ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
test esi, esi
jne 0x4015e8
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.0040b062
add esp, 0xa0
ret
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_ControlService]
lea eax, [esp + 0x10]
push eax
push 4
push esi
call ebp
cmp dword [esp + 0x14], 4
je 0x401641
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x401616
push str.Could_not_start_Error__n
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov edi, edi
push 0x64
call ebx
lea ecx, [esp + 0x10]
push ecx
push 4
push esi
call ebp
test eax, eax
je 0x401639
cmp dword [esp + 0x14], 4
je 0x401641
add edi, 1
cmp edi, 0xa
jl 0x401620
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [esp + 0xac]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040b062
add esp, 0xa0
ret
Function at 0x40b062
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42394c]
jne 0x40b06c
repz ret
jmp fcn.0040f622

Function at 0x415352
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00410e1b
xor ebx, ebx
cmp dword [0x4275c4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x415427
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x415392
xor eax, eax
jmp 0x4154eb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41e5a8
push edi
call esi
cmp eax, ebx
je 0x41538b
push eax
call fcn.00410db8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4275c4], eax
call esi
push eax
call fcn.00410db8
mov dword [esp], 0x41e584
push edi
mov dword [0x4275c8], eax
call esi
push eax
call fcn.00410db8
mov dword [0x4275cc], eax
lea eax, [ebp - 8]
push eax
call fcn.0040e19d
test eax, eax
pop ecx
pop ecx
je 0x4153f5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040f502
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x415427
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00410db8
cmp eax, ebx
pop ecx
mov dword [0x4275d4], eax
je 0x415427
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00410db8
pop ecx
mov dword [0x4275d0], eax
mov eax, dword [0x4275d0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4154a0
cmp dword [0x4275d4], esi
je 0x4154a0
push eax
call fcn.00410e24
pop ecx
call eax
cmp eax, ebx
je 0x41546d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4275d4]
call fcn.00410e24
pop ecx
call eax
test eax, eax
je 0x41546d
test byte [ebp - 0x18], 1
jne 0x4154a0
lea eax, [ebp - 0xc]
push eax
call fcn.0040e1d4
test eax, eax
pop ecx
je 0x415488
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040f502
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x415497
or dword [ebp + 0x10], 0x200000
jmp 0x4154d1
or dword [ebp + 0x10], 0x40000
jmp 0x4154d1
mov eax, dword [0x4275c8]
cmp eax, esi
je 0x4154d1
push eax
call fcn.00410e24
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4154d1
mov eax, dword [0x4275cc]
cmp eax, esi
je 0x4154d1
push dword [ebp - 4]
push eax
call fcn.00410e24
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 [0x4275c4]
call fcn.00410e24
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a53c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x42394c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0041a4d1
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0040b080
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x41a58b
cmp dword [ebp - 0x1c], 5
jb 0x41a5a3
jmp 0x41a59f
cmp dword [ebp - 0x10], 1
jne 0x41a5a3
cmp dword [ebp - 0x1c], 4
ja 0x41a59f
jne 0x41a5a3
cmp dword [ebp - 0x18], 0
jbe 0x41a5a3
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x41ef74
call fcn.0041a3c2
test eax, eax
jge 0x41a5c4
mov byte [0x424d64], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040b062
add ebp, 0x78
leave
ret
Function at 0x1000ec30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c34f5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100f0364]
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.10010d30
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1000ecc3
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], 0xfffffff
jne 0x1000ecd7
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x10], 0
call fcn.100bfe16
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ebx
addsd xmm0, qword [eax*8 + 0x100e5bd0]
cvtdq2pd xmm1, xmm1
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x100e5bd0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x1000ed9e
divss xmm0, xmm3
call fcn.10003bd0
call fcn.100c1c60
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1000ed80
cmp ebx, 0x200
jae 0x1000ed7e
shl ebx, 3
cmp ebx, ecx
jae 0x1000ed80
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.1000ffa0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10010d30
mov edx, dword [eax]
jmp 0x1000eda1
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
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 0x1000edcc
mov dword [ecx + eax*8], esi
jmp 0x1000eddb
cmp edi, edx
jne 0x1000edd5
mov dword [ecx + eax*8], esi
jmp 0x1000eddf
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1000eddf
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
Function at 0x1000ffa0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x1000ffd1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.1000e690
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100100dc
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x10010061
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100100d2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1001009b
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x10010093
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x100100cf
cmp edi, edx
je 0x100100ac
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100100e5
cmp edi, edx
jne 0x100100a0
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x10010010
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100100cf
Function at 0x10010380
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 0x100104d6
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 4]
mov dword [ebp - 4], 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 - 0xc], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.100c0328
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x14]
je 0x10010439
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x100103f7
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x100104cc
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
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 - 0xc]
mov edx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x1001044d
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [edx], eax
jmp 0x10010450
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x100104cc
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
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.100c0328
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x14]
je 0x100104dd
cmp esi, eax
jne 0x100104a7
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
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 + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x10010460
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10012640
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c34f5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100f0364]
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.10010d30
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100126d3
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], 0xfffffff
jne 0x100126e7
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x10], 0
call fcn.100bfe16
mov ecx, dword [ebx]
mov esi, eax
mov edx, dword [ebx + 4]
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ebx
addsd xmm0, qword [eax*8 + 0x100e5bd0]
cvtdq2pd xmm1, xmm1
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x100e5bd0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x100127b0
divss xmm0, xmm3
call fcn.10003bd0
call fcn.100c1c60
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10012792
cmp ebx, 0x200
jae 0x10012790
shl ebx, 3
cmp ebx, ecx
jae 0x10012792
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.1000ffa0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10010d30
mov edx, dword [eax]
jmp 0x100127b3
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
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 0x100127de
mov dword [ecx + eax*8], esi
jmp 0x100127ed
cmp edi, edx
jne 0x100127e7
mov dword [ecx + eax*8], esi
jmp 0x100127f1
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100127f1
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
Function at 0x100128a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
dec edi
mov dword [ebp - 4], edx
mov eax, edi
mov dword [ebp - 0xc], edi
sar eax, 1
mov ebx, ecx
mov dword [ebp - 8], eax
mov ecx, esi
cmp esi, eax
jge 0x100128f2
lea edi, [ecx + ecx]
push dword [ebx + edi*4 + 4]
push dword [ebx + edi*4 + 8]
call fcn.10006f00
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, edi
mov eax, dword [ebx + ecx*4]
mov dword [ebx + esi*4], eax
mov esi, ecx
mov eax, dword [ebp - 8]
cmp ecx, eax
jl 0x100128c4
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, eax
jne 0x10012906
mov eax, dword [ebp + 8]
test al, 1
jne 0x10012906
mov eax, dword [ebx + eax*4 - 4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp edx, esi
jge 0x10012933
nop word [eax + eax]
mov eax, dword [ebp + 0xc]
lea edi, [esi - 1]
sar edi, 1
push dword [eax]
push dword [ebx + edi*4]
call fcn.10006f00
test al, al
je 0x10012933
mov eax, dword [ebx + edi*4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp dword [ebp - 4], edi
jl 0x10012910
mov eax, dword [ebp + 0xc]
pop edi
mov eax, dword [eax]
mov dword [ebx + esi*4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100155b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100f0364]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1001566c
cmp byte [esi + 0x3d], 0
je 0x1001566c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1001565a
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 0x10015621
sub eax, 1
je 0x10015625
sub eax, 2
jne 0x1001565a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bfdfa
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10015643
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 0x1001565a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bfdfa
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bfdfa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100bfdfa
mov esp, ebp
pop ebp
ret