joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4205b7
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push 0x14
mov eax, 0x42831a
call fcn.00427592
and dword [ebp - 0x10], 0
cmp byte [ebp + 8], 0
jne 0x4205e8
push dword [0x447194]
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x4206cf
cmp byte [ebp + 0xc], 0
push 2
pop ebx
jne 0x42060e
push str.____startedafteroptimizationPartial
lea ecx, [ebp - 0x20]
call dword [0x42e8c8]
mov esi, eax
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
jmp 0x420628
push str.____startedafteroptimizationFull
lea ecx, [ebp - 0x1c]
call dword [0x42e8c8]
mov esi, eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.K9PCUhelper.dll_public:_static_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_CSystweakApp::GetAppExePath_void_]
mov edi, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
mov dword [esp], 0x437d8c
call dword [0x42e8c8]
lea ecx, [ebp + 0xc]
push edi
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00414634
lea ecx, [ebp + 8]
push esi
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00414634
add esp, 0x10
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test byte [ebp - 0x10], bl
je 0x420697
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [ebp - 4], 0xa
test byte [ebp - 0x10], 1
je 0x4206aa
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push dword [ebp + 8]
push dword [0x447194]
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.K9PCUhelper.dll_bool___cdecl_RegWriteStringInRegistry_struct_HKEY_____wchar_t_const___wchar_t_const___wchar_t_const__]
add esp, 0x10
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.00427631
ret 8
Function at 0x4207d6
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x10]
push eax
push 0x437d90
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push SysReAllocString
push 4
call dword [sym.imp.USER32.dll_ExitWindowsEx]
call fcn.0040a7cd
push esi
push esi
push 0x10
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
leave
ret

Function at 0x4208fa
Capabilities:
Get common file path

Disassembly:
push 0x21c
mov eax, 0x42967a
call fcn.004275fb
call dword [sym.imp.K9PCUhelper.dll_enum_ASO_SUPPORTED_LANG___cdecl_GetCurSelLang_void_]
test eax, eax
je 0x42091a
xor al, al
jmp 0x4209f5
lea eax, [ebp - 0x218]
push eax
xor esi, esi
push esi
push esi
push 0x10
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x228]
call dword [0x42e8c8]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.K9PCUhelper.dll_int___cdecl_STGetExecutablePath_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____]
pop ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call dword [0x42e8d8]
push str.Template
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 2
call dword [0x42e8c8]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.K9PCUhelper.dll_enum_PCO_ERROR_CODES___cdecl_STPathAppend_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 1
push esi
push esi
push 1
push dword [ebp - 0x228]
mov ecx, edi
push dword [ebp - 0x220]
call fcn.00420bf7
lea ecx, [ebp - 0x220]
mov bl, al
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov al, bl
call fcn.00427645
ret
Function at 0x42174a
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
sub esp, 0xe40
lea ebp, [esp - 4]
mov eax, dword [0x445028]
xor eax, ebp
mov dword [ebp + 0xe40], eax
push 0x14
mov eax, 0x42820a
call fcn.00427592
mov edi, 0x42fde8
push edi
lea ecx, [ebp - 0x10]
call dword [0x42e8c8]
mov eax, dword [ebp + 0xe4c]
xor ebx, ebx
dec eax
mov dword [ebp - 4], ebx
cmp eax, 7
ja case.default.0x42178e
jmp dword [eax*4 + 0x4218de]
push str.eStartScanRpcFunc
jmp 0x4217cb
push str.eStopScanRpcFunc
jmp 0x4217cb
push str.eStartCleanRpcFunc
jmp 0x4217cb
push str.eStopCleanRpcFunc
jmp 0x4217cb
push str.eViewScanResultsFunc
jmp 0x4217cb
push str.eExitScanServerAppFunc
jmp 0x4217cb
push str.eSkipStepFunc
jmp 0x4217cb
push str.eIsAppRunningInHiddenModeFunc
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.K9PCUhelper.dll_public:_static_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_CSystweakApp::GetAppExePath_void_]
mov byte [ebp - 4], 1
mov dword [esp], 0xe3e
lea eax, [ebp]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp dword [ebp - 0x14], ebx
je 0x42181c
mov eax, dword [ebp - 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x421801
sub eax, edx
sar eax, 1
je 0x42181c
push dword [ebp - 0x14]
lea eax, [ebp]
call fcn.00421506
lea eax, [ebp + 0x416]
push eax
lea ecx, [ebp - 0x1c]
call dword [0x42e8c8]
lea ecx, [ebp + 0x410]
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040b294
lea ecx, [ebp - 0x18]
push str.K9PCUSystemProtector.exe
push ecx
mov esi, eax
mov byte [ebp - 4], 3
call fcn.00404852
add esp, 0x10
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4218d7
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
je 0x4218d7
push 1
push edi
push eax
push dword [ebp - 0x18]
push 0x434458
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xe40]
xor ecx, ebp
call fcn.00426b86
add ebp, 0xe44
leave
ret 4
xor esi, esi
jmp 0x421895
Function at 0x426b86
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445028]
jne 0x426b90
repz ret
jmp fcn.004270be
Function at 0x1000cf30
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x1000cfab
mov esi, dword [esp + 0x10]
mov ecx, 1
mov edx, dword [esi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x1000cf65
push edi
mov ecx, esi
call fcn.1000ea10
mov edx, dword [esi]
push edi
push edx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x1000cf8d
mov ecx, dword [esi]
test ecx, ecx
je 0x1000cf91
push dword [ecx - 8]
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x1000cfab
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x1000cfab
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
push 0x80070057
call fcn.1000cb10
int3

Function at 0x1000d5e0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push dword [esp + 0x10]
push dword [ecx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x1000d66d
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x1000d6cb
mov esi, dword [esp + 0x14]
mov ecx, 1
mov edx, dword [esi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x1000d628
push edi
mov ecx, esi
call fcn.1000ea10
mov edx, dword [esi]
push edi
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x1000d64f
mov ecx, dword [esi]
test ecx, ecx
je 0x1000d653
push dword [ecx - 8]
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x1000d6cb
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x1000d6cb
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
lea edx, [eax - 0x10]
mov edi, dword [edx]
je 0x1000d6c3
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x1000d6a3
cmp dword [eax - 8], 0
jl 0x1000d6cb
mov dword [eax - 0xc], 0
xor ecx, ecx
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov word [eax], cx
xor eax, eax
ret 8
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000d6b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
push 0x80070057
call fcn.1000cb10
int3
Function at 0x1000e430
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x8c
push 0xffffffffffffffff
push 0x102b4b73
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1036900c]
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0x94]
mov dword [ebp - 0x1c], edi
mov dword [ebp + 0x84], 0
mov dword [ebp + 0x84], 0
mov dword [ebp - 4], 0
push dword [edi]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x84
push 0
lea eax, [ebp]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp], 0
mov byte [ebp - 4], 1
test esi, esi
jle 0x1000e59a
mov byte [ebp - 4], 2
lea eax, [esi + 1]
mov ecx, 2
mul ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
test edx, edx
ja 0x1000e5f2
jb 0x1000e4fd
cmp eax, 0xffffffff
ja 0x1000e5f2
cmp eax, 0x80
jbe 0x1000e516
push eax
lea ecx, [ebp]
call fcn.1000e9e0
mov dword [ebp - 4], 1
jmp 0x1000e53b
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x1000e53b
mov ecx, dword [ebp]
test ecx, ecx
jne 0x1000e560
mov byte [ebp - 4], cl
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x1000e555
lea ecx, [ebp]
call fcn.1000e8e0
mov dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x1000e5cd
lea eax, [esi + 1]
push eax
push ecx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1000e59a
mov byte [ebp - 4], al
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x1000e584
lea ecx, [ebp]
call fcn.1000e8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x84]
call fcn.1000e870
xor eax, eax
jmp 0x1000e5cd
push dword [ebp]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
xor ebx, ebx
test esi, esi
je 0x1000e5b0
test eax, eax
setne bl
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x1000e5c4
lea ecx, [ebp]
call fcn.1000e8e0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x88]
xor ecx, ebp
call fcn.102af895
lea esp, [ebp + 0x8c]
pop ebp
ret 4
push 0x80070216
call fcn.1000cb10
int3
Function at 0x1001d7a0
Capabilities:
Get file size

Disassembly:
sub esp, 0x24
mov eax, dword [0x1036900c]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
push edi
mov dword [esp + 0x14], eax
mov edi, ecx
lea eax, [esp + 0x24]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
test ecx, ecx
ja 0x1001d7fa
jb 0x1001d7ee
cmp eax, esi
jae 0x1001d7fa
mov eax, esi
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
push 0
push eax
push ecx
push dword [esp + 0x20]
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 8], eax
test eax, eax
jne 0x1001d82c
call fcn.1001d720
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.102af895
add esp, 0x24
ret 0x18
mov ecx, ebx
test esi, esi
jne 0x1001d838
mov esi, dword [esp + 0x20]
sub esi, ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
push 0
mov dword [edi + 4], esi
push dword [edi + 4]
mov dword [edi + 0x18], eax
push ecx
push edx
push eax
push dword [edi + 8]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [edi], eax
test eax, eax
jne 0x1001d891
call fcn.1001d720
push dword [edi + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.102af895
add esp, 0x24
ret 0x18
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.102af895
add esp, 0x24
ret 0x18
Function at 0x1001daf0
Capabilities:
Get file size
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102b6c8f
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1036900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
push 0x40
call fcn.102af8b4
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 2
cmp dword [0x1036e9f0], 0
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
jne 0x1001dbbb
mov eax, dword [0x1036e8f4]
test eax, eax
je 0x1001db99
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1036e9f0], 0
jne 0x1001dbab
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [0x1036e9f0], eax
mov eax, dword [0x1036e8f4]
test eax, eax
je 0x1001dbbb
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1001dbd6
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov dword [edi], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102af895
mov esp, ebp
pop ebp
ret 4

Function at 0x1001e980
Capabilities:
Access peb ldr_data

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
push 0xffffffffffffffff
push 0x102b6eb8
mov eax, dword fs:[0]
push eax
push ebx
push ecx
push esi
mov eax, dword [0x1036900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esi], 0x82080000
mov dword [esi + 4], 0
xorps xmm0, xmm0
mov dword [esi + 8], 0
mov word [esi + 0xc], ax
mov byte [esi + 0x20], al
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov byte [esi + 0x44], al
push 0x18
movups xmmword [esi + 0x10], xmm0
call fcn.102af8b4
add esp, 4
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x48], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1001f080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102b7079
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1036900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 0x14
mov dword [ebp - 0x20], edi
call fcn.102af8b4
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 8
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
push 8
push 0x48
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x1000000
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [ebp - 0x14], 0
setne al
mov byte [esi + 0x10], al
mov dword [ebp - 4], 0xffffffff
push 0x34
mov dword [edi], esi
call fcn.102af8b4
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [esi], vtable.RC::RCWindowHookerProc.0
mov byte [ebp - 4], 2
mov dword [esi], vtable.RC::RCWndShadow::TWndHook.0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 4], esi
mov dword [esi + 0x30], edi
mov dword [ebp - 4], 4
mov byte [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 byte [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102af895
mov esp, ebp
pop ebp
ret
Function at 0x100210d0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
mov eax, dword [0x1036900c]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x10371af0]
test eax, eax
jne 0x1002117f
push edi
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0x102de168
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x1002116a
push esi
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x10021169
push esi
push edi
push dword [esp + 0x14]
push 0x102de168
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10021162
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x102de164
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10021162
mov eax, dword [esp + 8]
movzx eax, word [eax + 0xa]
mov dword [0x10371af0], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov eax, dword [0x10371af0]
mov ecx, 6
test eax, eax
pop edi
cmove eax, ecx
mov dword [0x10371af0], eax
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.102af895
add esp, 0x10
ret

Function at 0x10026b50
Capabilities:
Read file on windows

Disassembly:
push dword [ecx + 4]
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
ret 8
Function at 0x1003c160
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102bafd9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1036900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov dword [ebp - 0x10], esi
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.102af8b4
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 3
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
push 8
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.102af8b4
mov dword [esi], eax
add esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 6
lea ecx, [edi + 0x40]
mov dword [edi + 0x34], 0
mov word [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call fcn.10029c70
mov byte [ebp - 4], 7
movaps xmm0, xmmword [0x102ff880]
movups xmmword [edi + 0xa0], xmm0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
xorps xmm0, xmm0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x2c], ecx
mov ecx, dword [ebp - 0x14]
mov byte [edi + 0xc0], 0
mov dword [edi + 0x30], ecx
mov dword [ebp - 4], 0xffffffff
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 0x10067fd0
Capabilities:
Read file on windows

Disassembly:
push dword [ecx + 4]
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
ret 8