joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401bcd
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x230
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
xor ebp, ebp
mov ebx, ecx
push ebp
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x228
mov esi, eax
lea eax, [esp + 0x14]
push ebp
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xc], 0x22c
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401c83
jmp 0x401c56
lea edx, [esp + 0x30]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bp
jne 0x401c27
sub edx, ecx
mov ecx, ebx
sar edx, 1
cmp dword [ebx + 0x14], 7
jbe 0x401c40
mov ecx, dword [ebx]
cmp dword [ebx + 0x10], edx
jne 0x401c56
push dword [ebx + 0x10]
lea edx, [esp + 0x34]
call fcn.00406cc3
pop ecx
test eax, eax
je 0x401c68
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401c20
jmp 0x401c83
push dword [esp + 0x14]
push 1
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004078c7
add esp, 0x230
ret

Function at 0x401cde
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, 0x7ffffffe
push ebx
push esi
mov esi, dword [ecx + 0x10]
xor ebx, ebx
sub eax, esi
push edi
mov edi, edx
cmp eax, 0x17
jb 0x401d55
cmp dword [ecx + 0x14], 7
jbe 0x401d02
mov ecx, dword [ecx]
push esi
push ecx
push 0x17
push ecx
push ecx
push dword [ebp - 4]
lea ecx, [ebp - 0x1c]
call fcn.00406c3c
cmp dword [ebp - 8], 7
lea ecx, [ebp - 0x1c]
push ebx
cmova ecx, dword [ebp - 0x1c]
imul eax, edi, 0x20a
push ebx
lea esi, [eax + 0x40f6c8]
push esi
push ecx
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
lea ecx, [ebp - 0x1c]
call fcn.00406165
sub esp, 0x18
mov ecx, esp
push esi
call fcn.0040604f
call fcn.00401ca2
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret
call fcn.00406a0c
int3

Function at 0x401d5b
Capabilities:
Download url
Receive data

Disassembly:
push ecx
cmp dword [ecx + 0x14], 7
push esi
jbe 0x401d65
mov ecx, dword [ecx]
imul eax, edx, 0x20a
lea esi, [eax + 0x40f6c8]
xor eax, eax
push eax
push eax
push esi
push ecx
push eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.0040604f
call fcn.00401ca2
add esp, 0x18
pop esi
pop ecx
ret
Function at 0x403c70
Capabilities:
Create process on windows

Disassembly:
push 0x8c
mov eax, 0x4093c9
call fcn.004088be
xor eax, eax
lea ecx, [ebp - 0x5c]
xor esi, esi
mov word [0x419dfc], ax
call fcn.00402068
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.0040608c
push 0x52
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
pop ecx
call fcn.0040158c
lea ecx, [ebp - 0x28]
call fcn.00406165
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00406165
call fcn.00401d94
test eax, eax
je 0x403d1f
push str.jdk_22_windows_x64_bin.exe
lea ecx, [ebp - 0x28]
call fcn.0040604f
push 0x52
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 2
pop ecx
call fcn.0040158c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406165
push str.https:__download.oracle.com_java_22_latest_jdk_22_windows_x64_bin.exe
lea ecx, [ebp - 0x28]
call fcn.0040604f
push 0x52
pop edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
call fcn.00401d5b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406165
push 0x3c
lea eax, [ebp - 0x98]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea esi, [ebp - 0x98]
mov eax, 0x41a0d8
mov edi, eax
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, 0x419dfc
mov dword [0x41a0d8], 0x3c
push eax
mov dword [0x41a0dc], 0x40
mov dword [0x41a0f4], 5
mov dword [0x41a0e8], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [0x41a110]
test eax, eax
je 0x403d85
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.004061f0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 4
call fcn.00403dc0
lea ecx, [ebp - 0x44]
call fcn.00406165
push 0
push str.LoLSuite
push str.Minecraft_Launcher___Minecraft:_Java_Edition___Installations___Latest___Edit___More_Options___Java_Executable_Path____drive_:Program_FilesJavajdk_22_binjavaw.exe
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.0040889b
ret
Function at 0x404389
Capabilities:
Create process on windows

Disassembly:
push 0x8c
mov eax, 0x4093c9
call fcn.004088be
xor eax, eax
lea ecx, [ebp - 0x5c]
xor esi, esi
mov word [0x419dfc], ax
call fcn.00402068
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.0040608c
push 0x52
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
pop ecx
call fcn.0040158c
lea ecx, [ebp - 0x28]
call fcn.00406165
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00406165
push str.dxwebsetup.exe
lea ecx, [ebp - 0x28]
call fcn.0040604f
push 0x52
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 2
pop ecx
call fcn.0040158c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406165
push str.https:__download.microsoft.com_download_1_7_1_1718CCC4_6315_4D8E_9543_8E28A4E18C4C_dxwebsetup.exe
lea ecx, [ebp - 0x28]
call fcn.0040604f
push 0x52
pop edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
call fcn.00401d5b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406165
push 0x3c
lea eax, [ebp - 0x98]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea esi, [ebp - 0x98]
mov eax, 0x41a0d8
mov edi, eax
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, 0x419dfc
mov dword [0x41a0d8], 0x3c
push eax
mov dword [0x41a0dc], 0x40
mov dword [0x41a0f4], 5
mov dword [0x41a0ec], 0x40c0f4
mov dword [0x41a0e8], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [0x41a110]
test eax, eax
je 0x40449f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.004061f0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 4
call fcn.00403dc0
lea ecx, [ebp - 0x44]
call fcn.00406165
call fcn.0040889b
ret
Function at 0x405acf
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push str.GlobalCSAPP
xor ebp, ebp
mov dword [esp + 0x10], edx
push ebp
push ebp
push ebp
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
jne 0x405bc8
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
mov eax, 0x80000000
push ebx
push ebp
push ebp
push 0x82
push 0x186
push eax
push eax
push 0xcb0000
push 0x41a010
push 0x40f600
push ebp
call esi
push ebp
push ebx
push 1
mov edi, eax
mov ebp, str.BUTTON
push edi
push 0x4b
push 0x4b
push 0xa
push 0xa
push 0x50010001
push str.Patch
push ebp
push 0
call esi
push 0
push ebx
push 2
push edi
push 0x4b
push 0x4b
push 0xa
push 0x122
push 0x50010000
push str.Restore
push ebp
xor ebp, ebp
push ebp
call esi
push ebp
push ebx
push ebp
push edi
push 0x16d
push 0xbe
push 0xa
push 0x5a
push 0x50000202
push 0x40ba8c
push str.ComboBox
push ebp
call esi
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
mov esi, 0x40f078
push dword [esi]
push 0
push 0x143
push ebx
call ebp
add esi, 4
cmp esi, 0x40f0a4
jne 0x405b9d
xor esi, esi
push esi
push esi
push 0x14e
push ebx
call ebp
test edi, edi
jne 0x405bf9
xor eax, eax
jmp 0x405c2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405afa
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
push str.LoLSuite
push str.One_instance_is_allowed
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebp
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push ecx
call fcn.00401000
pop ecx
test al, al
je 0x405c18
push dword [esp + 0x10]
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x405c2a
push esi
push str.LoLSuite
push str.This_app_only_runs_on_Windows_10_or_Higher
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x407873
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x40789a
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x40789d
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0040784f
pop esi
leave
ret 8

Function at 0x408326
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x408365
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x408365
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x408365
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x408365
cmp dword [ecx + 0x74], 0xe
jbe 0x408365
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1002da10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bbd31
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x100d8040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edx]
xorps xmm0, xmm0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x7c], 0
mov dword [ecx + 0x80], 0
mov dword [ecx + 0x84], 0
movups xmmword [ecx + 0x90], xmm0
mov dword [ecx + 0xa0], 0
mov dword [ecx + 0xa4], 0xf
mov dword [ebp - 0x10], ecx
mov byte [ecx + 0x90], 0
mov dword [ebp - 4], 0
movups xmmword [ecx + 0xa8], xmm0
mov dword [ecx + 0xb8], 0
mov dword [ecx + 0xbc], 0xf
mov byte [ecx + 0xa8], 0
mov byte [ebp - 4], 1
mov word [ecx + 0xc1], 0
mov byte [ecx + 0xc3], 0
mov dword [ecx + 0xc0], 0
mov dword [ecx + 0x400], 0
mov dword [ecx + 0x404], 0
mov dword [ecx + 0x408], 0
mov dword [ecx + 0x40c], 0
mov dword [ecx + 0x410], 0
mov dword [ecx + 0x414], 0
mov dword [ecx + 0x418], 0
mov dword [ecx + 0x41c], 0
mov byte [ecx + 0x420], 0
push eax
mov byte [ecx + 0x3424], 0
mov dword [ecx + 0x3428], 0
mov dword [ecx + 0x342c], 0
mov dword [ecx + 0x3430], 0
mov dword [ecx + 0x3434], 0
mov dword [ecx + 0x3438], 0
mov dword [ecx + 0x343c], 0
mov byte [ecx + 0x344d], 0
mov byte [ecx + 0x3458], 0
mov byte [ecx + 0x3744], 0
mov dword [ecx + 0x3748], 0
mov dword [ecx + 0x374c], 0
mov dword [ecx + 0x3750], 0
mov dword [ecx + 0x3754], 0
mov dword [ecx + 0x3758], 0
mov dword [ecx + 0x375c], 0
mov byte [ecx + 0x3764], 0
mov dword [ecx + 0x3774], 0
mov byte [ecx + 0x377a], 0
mov dword [ecx + 0x377c], 0
mov dword [ecx + 0x3780], 0
call fcn.10024550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1002dfe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov ebx, ecx
dec eax
push edi
mov edi, edx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0xc]
mov esi, edi
sar eax, 1
mov ecx, edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp edi, eax
jge 0x1002e03e
nop dword [eax]
lea esi, [ecx + ecx]
push dword [ebx + esi*4 + 4]
push dword [ebx + esi*4 + 8]
call fcn.10027960
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, esi
mov eax, dword [ebx + ecx*4]
mov dword [ebx + edi*4], eax
mov edi, ecx
mov eax, dword [ebp - 0xc]
cmp ecx, eax
jl 0x1002e010
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, ecx
cmp ecx, eax
jne 0x1002e055
mov eax, dword [ebp - 0x10]
test al, 1
jne 0x1002e055
mov eax, dword [ebx + eax*4 - 4]
mov edi, dword [ebp - 0x14]
mov dword [ebx + ecx*4], eax
cmp esi, edi
jge 0x1002e0a0
nop dword [eax]
push dword [edx]
lea esi, [edi - 1]
sar esi, 1
push dword [ebx + esi*4]
call fcn.10027960
test al, al
je 0x1002e091
mov eax, dword [ebx + esi*4]
mov edx, dword [ebp - 4]
mov dword [ebx + edi*4], eax
mov edi, esi
cmp dword [ebp - 8], esi
jl 0x1002e060
mov eax, edx
mov eax, dword [eax]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10035130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100d8040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x100351ec
cmp byte [esi + 0x3d], 0
je 0x100351ec
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100351da
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 0x100351a1
sub eax, 1
je 0x100351a5
sub eax, 2
jne 0x100351da
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b92dc
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100351c3
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 0x100351da
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b92dc
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b92dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100b92dc
mov esp, ebp
pop ebp
ret
Function at 0x10037910
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x100f1308], 0
push ebx
push esi
push edi
je 0x10037a9e
mov ecx, dword [0x10239154]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10037a9e
mov ecx, dword [0x102391dc]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x10037a9e
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10037970
xor edx, edx
test ecx, ecx
je 0x10037999
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10037980
cmp edi, 0x5ff56dc5
je 0x100379a8
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x10037a9e
mov ecx, dword [ebp - 4]
jmp 0x10037954
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x10037a9e
mov edx, dword [edi + 0x88]
test edx, edx
je 0x10037a9e
movss xmm1, dword [0x100cdd50]
xor ebx, ebx
cmp edx, 4
jl 0x10037a6b
mov ecx, dword [edi + 0x7c]
lea esi, [edx - 4]
shr esi, 2
add ecx, 0x1078
inc esi
lea ebx, [esi*4]
movss xmm0, dword [ecx - 0xc60]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10037a0c
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10037a27
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10037a42
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10037a55
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x100379f1
cmp ebx, edx
jl 0x10037a6f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x10037a9e
imul ecx, ebx, 0x420
add ecx, 0x418
add ecx, dword [edi + 0x7c]
sub edx, ebx
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10037a93
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x10037a80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10037e20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1023e220]
sub esp, 0xc
push ebx
push esi
push edi
test al, 1
jne 0x10037ea1
or eax, 1
mov dword [0x1023e220], eax
mov ebx, dword [0x10239150]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x10037e99
nop word [eax + eax]
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10037e60
xor edx, edx
test ecx, ecx
je 0x10037e8d
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10037e70
cmp esi, 0xa9bf35
je 0x10037f23
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10037e50
mov eax, dword [0x1023e220]
xor ebx, ebx
mov dword [0x1023e21c], ebx
test al, 2
jne 0x10037f0d
or eax, 2
mov dword [0x1023e220], eax
mov ecx, dword [0x10239150]
mov ebx, dword [ecx + 0x30]
test ebx, ebx
je 0x10037f05
nop word [eax + eax]
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10037ed0
xor edx, edx
test ecx, ecx
je 0x10037ef9
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10037ee0
cmp esi, 0xe5abc68c
je 0x10037f2d
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10037ec0
mov eax, dword [0x1023e220]
xor ebx, ebx
mov dword [0x1023e218], ebx
test al, 4
jne 0x10037f78
or eax, 4
mov dword [0x1023e220], eax
mov eax, dword [0x10239150]
mov ebx, dword [eax + 0x30]
jmp 0x10037f6c
mov eax, dword [0x1023e220]
jmp 0x10037e9b
mov eax, dword [0x1023e220]
jmp 0x10037f07
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [edi + ecx], 0
jne 0x10037f40
xor edx, edx
test ecx, ecx
je 0x10037f69
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10037f50
cmp esi, 0xadc3dc05
je 0x10037f70
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10037f34
mov dword [0x1023e210], ebx
jmp 0x10037f7e
mov ebx, dword [0x1023e210]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1023e218]
fstp dword [ebp - 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
call dword [ebp - 4]
mov ecx, dword [0x1023e21c]
fstp dword [ebp - 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
call dword [ebp - 4]
movss xmm0, dword [ebp - 8]
sub esp, 8
divss xmm0, dword [ebp - 0xc]
fstp dword [ebp - 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
add esp, 8
fstp dword [0x100db960]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10039850
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc475
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100d8040]
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.1003ac00
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1003997b
cmp dword [0x1023e0e0], 0xfffffff
jne 0x100398da
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x1023e0dc
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.100b92f8
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 [0x1023e0e0]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ce010]
mov eax, dword [0x1023e0f4]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ce010]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x1023e0d8]
jbe 0x10039970
call fcn.1003a9a0
push edi
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1003ac00
mov ecx, dword [eax]
jmp 0x10039973
mov ecx, dword [ebp - 0x14]
push ebx
push ecx
push edi
call fcn.1003aa20
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 0x10039be0
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 0x10039d36
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.100b980a
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x10039c99
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10039c57
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x10039d2c
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 0x10039cad
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x10039cb0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x10039d2c
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 - 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.100b980a
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x10039d3d
cmp esi, eax
jne 0x10039d07
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 0x10039cc0
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