joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481f98
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x98
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0x78], esi
push edi
mov edi, ecx
jne 0x481fb9
mov eax, 0x8876086c
jmp 0x4820ac
cmp dword [ebp + 0x7c], esi
je 0x48203b
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x18], 2
je 0x48201b
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 0x78]
push esi
push 0xfde9
call ebx
mov dword [ebp + 0x6c], eax
add eax, 3
and eax, 0xfffffffc
call fcn.00486320
mov dword [ebp + 0x7c], esp
push esi
push esi
push dword [ebp + 0x6c]
push dword [ebp + 0x7c]
push 0xffffffffffffffff
push dword [ebp + 0x78]
push esi
push 0xfde9
call ebx
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x7c], esi
cmp dword [ebp + 0x7c], esi
je 0x48203b
push esi
push 0x10000000
push 3
push esi
push 1
push DirectSoundCreate
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x482054
push esi
push 0x10000000
push 3
push esi
push 1
push DirectSoundCreate
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [edi], eax
je 0x48209a
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
je 0x48209a
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [edi + 0xc], eax
je 0x48209a
cmp eax, esi
je 0x4820a7
push esi
push esi
push esi
push 4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [edi + 8], eax
jne 0x4820aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x4820ac
mov dword [edi + 8], esi
xor eax, eax
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8

Function at 0x484c9e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4be944]
jne 0x484ca8
repz ret
jmp fcn.00489cd4
Function at 0x48f82d
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4bf2f0]
je 0x48f848
inc edi
cmp edi, 0x17
jb 0x48f839
cmp edi, 0x17
jae 0x48f9c8
push ebp
push 3
call fcn.00499399
cmp eax, 1
pop ecx
je 0x48f994
push 3
call fcn.00499399
test eax, eax
pop ecx
jne 0x48f87c
cmp dword [0x4be9ec], 1
je 0x48f994
cmp ebx, 0xfc
je 0x48f9c7
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x6decb8
push ebp
call fcn.0048bf6e
add esp, 0xc
test eax, eax
je 0x48f8b2
push esi
push esi
push esi
push esi
push esi
call fcn.00485873
add esp, 0x14
push 0x104
mov esi, 0x6decd1
push esi
push 0
mov byte [0x6dedd5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x48f8f6
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0048bf6e
add esp, 0xc
test eax, eax
je 0x48f8f6
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00485873
add esp, 0x14
push esi
call fcn.00489be0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x48f93b
push esi
call fcn.00489be0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x6defcc
push 0x4b10dc
sub ecx, eax
push ecx
push eax
call fcn.0048d739
add esp, 0x14
test eax, eax
je 0x48f93b
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00485873
add esp, 0x14
jmp 0x48f93d
xor esi, esi
push 0x4b10d8
push ebx
push ebp
call fcn.0049181b
add esp, 0xc
test eax, eax
je 0x48f95d
push esi
push esi
push esi
push esi
push esi
call fcn.00485873
add esp, 0x14
push dword [edi*8 + 0x4bf2f4]
push ebx
push ebp
call fcn.0049181b
add esp, 0xc
test eax, eax
je 0x48f97f
push esi
push esi
push esi
push esi
push esi
call fcn.00485873
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004991dc
add esp, 0xc
jmp 0x48f9c7
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x48f9c7
cmp ebp, 0xffffffff
je 0x48f9c7
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4bf2f4]
push dword [esi]
call fcn.00489be0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4991dc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0048b7d5
xor ebx, ebx
cmp dword [0x6df2ac], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4992b2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x499392
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b4818
push edi
call esi
cmp eax, ebx
je 0x499392
push eax
call fcn.0048b767
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x6df2ac], eax
call esi
push eax
call fcn.0048b767
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6df2b0], eax
call esi
push eax
call fcn.0048b767
mov dword [0x6df2b4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0048e406
test eax, eax
pop ecx
pop ecx
je 0x499280
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00485873
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4992b2
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0048b767
cmp eax, ebx
pop ecx
mov dword [0x6df2bc], eax
je 0x4992b2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0048b767
pop ecx
mov dword [0x6df2b8], eax
mov eax, dword [0x6df2b8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x499337
cmp dword [0x6df2bc], ecx
je 0x499337
push eax
call fcn.0048b7de
push dword [0x6df2bc]
mov esi, eax
call fcn.0048b7de
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x499337
cmp edi, ebx
je 0x499337
call esi
cmp eax, ebx
je 0x499304
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x499304
test byte [ebp - 0x18], 1
jne 0x499337
lea eax, [ebp - 0x10]
push eax
call fcn.0048e43d
test eax, eax
pop ecx
je 0x49931f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00485873
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x49932e
or dword [ebp + 0x10], 0x200000
jmp 0x499372
or dword [ebp + 0x10], 0x40000
jmp 0x499372
mov eax, dword [0x6df2b0]
cmp eax, dword [ebp - 8]
je 0x499372
push eax
call fcn.0048b7de
cmp eax, ebx
pop ecx
je 0x499372
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x499372
mov eax, dword [0x6df2b4]
cmp eax, dword [ebp - 8]
je 0x499372
push eax
call fcn.0048b7de
cmp eax, ebx
pop ecx
je 0x499372
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6df2ac]
call fcn.0048b7de
cmp eax, ebx
pop ecx
je 0x499392
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x499394
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002a600
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac4cd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x100c9040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0xa50
call fcn.100a9e78
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea edi, [eax + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edi
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x100b86b8
mov esi, dword [esi]
mov dword [edi + 0xc], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
movups xmmword [edi + 0x88], xmm0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0xf
mov byte [edi + 0x88], 0
push fcn.10029d80
push fcn.10029e10
push 0x41
push 0x18
lea eax, [edi + 0xa0]
mov byte [ebp - 4], 1
push eax
call fcn.100aa308
mov byte [ebp - 4], 2
mov ecx, edi
mov word [edi + 0x6b9], 0
mov byte [edi + 0x6bb], 0
push esi
mov dword [edi + 0x6b8], 0
mov dword [edi + 0x9f4], 0
mov dword [edi + 0x9f8], 0
mov dword [edi + 0x9fc], 0
mov byte [edi + 0xa00], 0
mov dword [edi + 0xa04], 0
mov byte [edi + 0xa08], 0
mov dword [edi + 0xa0c], 0
mov dword [edi + 0xa10], 0
mov dword [edi + 0xa14], 0
mov dword [edi + 0xa18], 0
mov dword [edi + 0xa1c], 0
mov dword [edi + 0xa20], 0
mov word [edi + 0xa30], 0
mov byte [edi + 0xa32], 0
call fcn.100239a0
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movq qword [ecx], xmm0
mov dword [ecx + 4], 0
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10032510
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100c9040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x100325cc
cmp byte [esi + 0x3d], 0
je 0x100325cc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100325ba
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 0x10032581
sub eax, 1
je 0x10032585
sub eax, 2
jne 0x100325ba
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9e5c
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100325a3
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 0x100325ba
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9e5c
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9e5c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100a9e5c
mov esp, ebp
pop ebp
ret
Function at 0x10034570
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac9e5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100c9040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x1013d310
call fcn.10037500
mov ecx, dword [0x10137b50]
test ecx, ecx
je 0x1003471e
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov edi, eax
test edi, edi
je 0x1003471e
mov eax, dword [edi + 0x14]
mov ebx, 0x811c9dc5
mov esi, dword [edi + 8]
xor ecx, ecx
mov dword [ebp - 0x1c], eax
inc ecx
cmp byte [esi + ecx], 0
jne 0x100345d1
xor edx, edx
test ecx, ecx
je 0x100345f1
nop
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x100345e0
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp - 0x10], ebx
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr ebx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, ebx
imul esi, eax, 0x1000193
lea eax, [ebp - 0x10]
push esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100387c0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1003470d
cmp dword [0x1013d318], 0xfffffff
je 0x10034730
mov dword [ebp - 0x24], 0x1013d314
mov dword [ebp - 4], eax
push 0x10
mov dword [ebp - 0x20], eax
call fcn.100a9e78
mov ecx, dword [ebp - 0x10]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x1013d318]
mov eax, dword [0x1013d32c]
inc ecx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100bebe0]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100bebe0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x1013d310]
seta al
test al, al
je 0x100346f4
call fcn.10038530
push esi
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100387c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
jmp 0x100346f7
mov ecx, dword [ebp - 0x18]
push ebx
push ecx
push esi
mov dword [ebp - 0x20], 0
call fcn.100385b0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xc], ecx
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x100345c1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x10035110
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x100dc99c], 0
push ebx
push esi
push edi
je 0x1003529e
mov ecx, dword [0x10137b58]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1003529e
mov ecx, dword [0x10137be0]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x1003529e
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 0x10035170
xor edx, edx
test ecx, ecx
je 0x10035199
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10035180
cmp edi, 0x5ff56dc5
je 0x100351a8
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x1003529e
mov ecx, dword [ebp - 4]
jmp 0x10035154
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x1003529e
mov edx, dword [edi + 0x88]
test edx, edx
je 0x1003529e
movss xmm1, dword [0x100be8e0]
xor ebx, ebx
cmp edx, 4
jl 0x1003526b
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 0x1003520c
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10035227
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10035242
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10035255
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x100351f1
cmp ebx, edx
jl 0x1003526f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x1003529e
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 0x10035293
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x10035280
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10037a60
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 0x10037bb6
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.100aa2d7
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x10037b19
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10037ad7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x10037bac
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 0x10037b2d
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x10037b30
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x10037bac
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.100aa2d7
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x10037bbd
cmp esi, eax
jne 0x10037b87
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 0x10037b40
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 0x10038620
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebx + 8]
cmp ecx, eax
jbe 0x1003865e
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 [0x1013d314]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1013d31c
lea eax, [edi + edi]
push eax
call fcn.1002a230
lea eax, [edi - 1]
mov dword [0x1013d32c], edi
mov dword [0x1013d328], eax
mov eax, dword [0x1013d314]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10038788
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
mov edx, dword [0x1013d31c]
imul edi, edi, 0x1000193
and edi, dword [0x1013d328]
lea edx, [edx + edi*8]
mov dword [ebp - 0x10], edx
cmp dword [edx], esi
jne 0x100386f9
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1003877e
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1003873c
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10038734
mov edx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov dword [edx], ecx
mov edi, dword [ecx + 4]
mov edx, dword [ebp - 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1003877e
mov esi, dword [ebp - 0x10]
cmp dword [esi], edx
je 0x10038752
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10038793
mov esi, dword [ebp - 0x10]
cmp dword [esi], edx
jne 0x10038743
mov esi, dword [eax + 4]
mov dword [ebp - 4], esi
mov dword [esi], ecx
mov edi, dword [ecx + 4]
mov dword [ebp - 0xc], edi
mov esi, dword [ebp - 0xc]
mov dword [edi], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], esi
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov esi, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x100386a3
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov edx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov dword [edx], ecx
mov edi, dword [ecx + 4]
mov edx, dword [ebp - 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0xc]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x1003877b
Function at 0x1003bf10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad01e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x100c9040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x1003c0df
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
mov byte [ebp + esi - 0x14], al
inc esi
mov ah, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xf], ah
mov byte [ebp - 0xd], ch
mov byte [ebp - 0xe], cl
cmp esi, 3
jne 0x1003c015
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
and ah, 0x3f
mov cl, ch
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ah
shl cl, 2
add cl, al
xor esi, esi
mov byte [ebp - 0x16], cl
nop dword [eax + eax]
cmp dword [0x101361a4], 0xf
mov ecx, 0x10136190
movzx eax, byte [ebp + esi - 0x18]
cmova ecx, dword [0x10136190]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.10029fc0
inc esi
cmp esi, 4
jl 0x1003bfe0
mov edx, dword [ebp - 0x20]
xor esi, esi
mov ch, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1003bf83
mov dword [ebp + 8], esi
test esi, esi
je 0x1003c0df
mov eax, esi
cmp esi, 3
jge 0x1003c051
cmp eax, 3
jae 0x1003c0f2
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x1003c035
mov dl, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
jmp 0x1003c054
mov dl, byte [ebp - 0xf]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, dl
mov byte [ebp - 0x17], cl
shr al, 6
and dl, 0x3f
add ch, al
mov byte [ebp - 0x15], dl
lea eax, [esi + 1]
mov byte [ebp - 0x16], ch
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x1003c0bd
xor esi, esi
nop
cmp dword [0x101361a4], 0xf
mov ecx, 0x10136190
movzx eax, byte [ebp + esi - 0x18]
cmova ecx, dword [0x10136190]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.10029fc0
inc esi
cmp esi, dword [ebp - 0x20]
jl 0x1003c090
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x1003c0df
mov eax, 3
sub eax, esi
mov dword [ebp + 8], eax
nop dword [eax]
push 0x3d
mov ecx, edi
call fcn.10029fc0
sub dword [ebp + 8], 1
jne 0x1003c0d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100aa4ac
int3