joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d7d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d9b1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov al, byte [esp + 0x48]
push ebx
xor ebx, ebx
push esi
push edi
cmp al, bl
mov edi, ecx
mov dword [esp + 0xc], ebx
je 0x48d937
mov esi, dword [esp + 0x50]
push ebp
push 0x4ffb68
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x58]
lea ecx, [esi + 0xc]
push eax
mov dword [esp + 0x50], ebx
mov byte [esp + 0x5c], 0xff
call fcn.00403ee0
mov eax, 1
mov dword [esi + 0x20], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x18], al
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 0x3f800000
lea ebp, [esi + 0x30]
mov dword [esp + 0x4c], eax
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
invalid
pop esi

Function at 0x48eba0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x54
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x238]
test eax, eax
jne 0x48ebb9
xor al, al
pop ebp
add esp, 0x54
ret 8
push ebx
push esi
push edi
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::BeginWaitCursor
mov eax, dword [esp + 0x68]
push 0x4fde9c
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov cl, byte [0x4ffb68]
mov ebx, eax
mov byte [esp + 0x1c], cl
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x74]
add esp, 8
stosw word es:[edi], ax
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x6c]
push str.surface
push eax
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_operator
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
call fcn.004ce042
lea ecx, [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 0
push 0x54
push ebx
call edi
mov eax, dword [ebp + 0x234]
add esp, 0x14
mov esi, dword [eax + 0xb0]
cmp esi, eax
je 0x48ec8b
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push ebx
call fcn.00424710
mov esi, dword [esi + 0xb0]
mov eax, dword [ebp + 0x234]
cmp esi, eax
jne 0x48ec6e
push 0
push 0x50
push ebx
call edi
push ebx
push 1
lea eax, [esp + 0x24]
push 4
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x20
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::EndWaitCursor
pop edi
pop esi
pop ebx
mov al, 1
pop ebp
add esp, 0x54
ret 8
Function at 0x499870
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4dab21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov eax, 0x49742400
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov eax, 0xc9742400
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edi
mov dword [esi], 0x4e573c
mov ecx, dword [esi + 8]
mov byte [esp + 0x14], 2
cmp ecx, edi
je 0x4998e9
mov eax, dword [ecx]
push 3
call dword [eax]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x499902
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x49dbe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4daecb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call sub.MFC42.DLL_CString::CString_2
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [edi + 8]
mov byte [esp + 0x14], 1
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_2
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString_2
lea eax, [edi + 0x10]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [edi + 0x14]
mov byte [esp + 0x14], 4
push ecx
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [edi + 0x18]
mov byte [esp + 0x14], 5
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
lea ecx, [edi + 0x2c]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
push ecx
lea ecx, [esi + 0x2c]
mov dword [esi + 0x28], eax
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [edi + 0x30]
mov byte [esp + 0x14], 6
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
lea edx, [edi + 0x3c]
mov dword [esi + 0x38], ecx
push edx
lea ecx, [esi + 0x3c]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [edi + 0x40]
mov byte [esp + 0x14], 7
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x4c]
lea eax, [edi + 0x50]
lea ecx, [esi + 0x50]
push eax
mov dword [esi + 0x4c], edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [edi + 0x58]
mov byte [esp + 0x14], 8
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x5c]
mov dword [esi + 0x5c], edx
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov ecx, dword [edi + 0x64]
lea edx, [edi + 0x68]
mov dword [esi + 0x64], ecx
push edx
lea ecx, [esi + 0x68]
call sub.MFC42.DLL_CString::CString_2
lea eax, [edi + 0x6c]
lea ecx, [esi + 0x6c]
push eax
mov byte [esp + 0x18], 9
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [edi + 0x70]
mov eax, esi
mov dword [esi + 0x70], ecx
mov edx, dword [edi + 0x74]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x74], edx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4b00a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dbf40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, dword [esp + 0x58]
mov esi, ecx
lea edx, [esp + 0xc]
lea eax, [edi + 4]
lea ecx, [esi + 0x2c]
push eax
push ecx
push edx
call fcn.004b18e0
mov ebx, eax
lea eax, [esi + 0x20]
push edi
lea ecx, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x68], 0
call fcn.004b18e0
add esp, 0x18
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esi + 0x14]
mov byte [esp + 0x58], 1
call fcn.004051f0
lea ecx, [esp + 0x30]
push ebx
push ecx
mov ecx, eax
mov byte [esp + 0x58], 2
call fcn.004051f0
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x3c]
push eax
push edx
mov byte [esp + 0x58], 3
call fcn.004051b0
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 8
Function at 0x4c9bf6
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4de8e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.004ce636
xor eax, eax
mov dword [esi], 0x4ea9d0
mov dword [esi + 0xc0], eax
lea ecx, [esi + 0xc4]
mov dword [esp + 0x10], eax
call dword [sym.imp.XTP9601Lib.dll_public:_void___thiscall_CXTPStatusBar::constructor_void_]
lea ecx, [esi + 0x168]
mov byte [esp + 0x10], 1
call dword [sym.imp.XTP9601Lib.dll_public:_void___thiscall_CXTPDockingPaneManager::constructor_void_]
lea ecx, [esi + 0x1f0]
mov byte [esp + 0x10], 2
call fcn.004ba5d0
lea ecx, [esi + 0x30c]
mov byte [esp + 0x10], 3
call sub.MFC42.DLL_CToolBar::CToolBar
lea ecx, [esi + 0x3ac]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CToolBar::CToolBar
lea ecx, [esi + 0x44c]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CToolBar::CToolBar
lea ecx, [esi + 0x4ec]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CToolBar::CToolBar
lea ecx, [esi + 0x58c]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CToolBar::CToolBar
lea ecx, [esi + 0x62c]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CToolBar::CToolBar
lea ecx, [esi + 0x6cc]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CToolBar::CToolBar
lea ecx, [esi + 0x76c]
mov byte [esp + 0x10], 0xa
call sub.MFC42.DLL_CToolBar::CToolBar
lea eax, [esi + 0x28c]
mov byte [esp + 0x10], 0xb
push eax
push 0x80
mov dword [esi], 0x4ea8c8
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, esi
call fcn.004ca7a0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10007350
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c030
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10083080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.10027d12
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10026c01
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10007690
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
Function at 0x10019590
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c030
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10083080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.10027d12
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10026c01
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10007690
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

Function at 0x1001a070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1001a13d
sub eax, 1
jne 0x1001a15e
mov eax, dword [0x100854e0]
mov ecx, eax
inc eax
mov dword [0x100854e0], eax
test ecx, ecx
jne 0x1001a15e
push esi
push edi
call fcn.1001dd90
mov esi, eax
lea edi, [esi + 0x28]
mov dword [ebp + 0xc], esi
push edi
push 0
push esi
push 0x10026230
push 0
push 0
mov dword [esi + 0x24], 0
mov dword [edi], 0
call fcn.1003649d
add esp, 0x18
mov dword [esi + 0x24], eax
test eax, eax
je 0x1001a108
cmp dword [edi], 0
je 0x1001a108
push ebx
xor edi, edi
lea ebx, [esi + 8]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, 1
je 0x1001a107
mov esi, dword [ebp + 0xc]
inc edi
cmp edi, 0xa
jb 0x1001a0e0
pop ebx
call fcn.100256e0
mov esi, eax
lea ecx, [esi + 8]
push ecx
push 0
push esi
push 0x10025810
push 0
push 0
call fcn.1003649d
add esp, 0x18
mov dword [esi + 4], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov eax, 1
pop ebp
ret 0xc
sub dword [0x100854e0], 1
jne 0x1001a15e
call fcn.100256e0
mov ecx, eax
call fcn.10025750
call fcn.1001dd90
mov ecx, eax
call fcn.10026180
mov eax, 1
pop ebp
ret 0xc
Function at 0x1001a660
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x1001a692
jl 0x1001a685
test ecx, ecx
jne 0x1001a692
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1001a752
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10007110
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1001a6fe
jg 0x1001a6bd
test esi, esi
je 0x1001a6fe
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x1001a6d5
mov eax, dword [esp + 0x10]
jl 0x1001a6cf
cmp eax, esi
jae 0x1001a6d5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.100295e0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x1001a71f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1001a73b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x1001a6a4
jl 0x1001a73b
test ecx, ecx
jne 0x1001a6a4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x10]
sbb esi, edx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x1001a790
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x1001a790
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.100295e0
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x1001a7f9
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1001a7b6
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x1001a7e4
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.100346b2
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x1001a7f9
cmp edi, eax
ja 0x1001a7c2
test edi, edi
je 0x1001a7f9
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.100346b2
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10020b10
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 0x10020c66
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.10027e5c
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x10020bc9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10020b87
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x10020c5c
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 0x10020bdd
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x10020be0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x10020c5c
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.10027e5c
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x10020c6d
cmp esi, eax
jne 0x10020c37
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 0x10020bf0
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 0x10021070
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x100211ca
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], 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.10020ca0
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 0x1002119d
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 - 0x10], edx
cmp edi, esi
jne 0x10021123
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10021193
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1002115d
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10021155
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
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 - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x10021190
cmp edi, edx
je 0x1002116d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100211a6
cmp edi, edx
jne 0x10021161
mov ebx, dword [eax + 4]
mov dword [ebp - 4], 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 - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x100210d2
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 - 4], 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 - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10021190
push str.invalid_hash_bucket_count
call fcn.10026a30
int3
Function at 0x1002784a
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 0x10027871
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10027874
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.10027826
pop esi
leave
ret 8

Function at 0x100379fe
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10037a3d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10037a3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10037a3d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10037a3d
cmp dword [ecx + 0x74], 0xe
jbe 0x10037a3d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1003ebe0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1007588c
push 0x10075884
push str.FlsAlloc
push 0x1f
call fcn.1003ea0b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003ec14
push dword [ebp + 8]
mov ecx, esi
call dword [0x10071364]
call esi
jmp 0x1003ec1a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1003ec5e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1007589c
push 0x10075894
push str.FlsGetValue
push 0x21
call fcn.1003ea0b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003ec95
push dword [ebp + 8]
mov ecx, esi
call dword [0x10071364]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1003ec9d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100758a4
push 0x1007589c
push str.FlsSetValue
push 0x22
call fcn.1003ea0b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003ecd7
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10071364]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]