joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aa33
Capabilities:
Get common file path

Disassembly:
push 0x220
mov eax, 0x41939a
call fcn.0041792a
mov esi, ecx
cmp byte [esi + 0x30], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x224], eax
je 0x40aa8e
mov esi, 0x80004004
push esi
push str.ScreenRecorder::App::RecorderControl::Initialize
push 0x123
push str.screenrecorder_app_recordercontrol.cpp
push str._s__d_:__s__hr__0x_0.8X_
call fcn.00401a76
add esp, 0x14
mov eax, esi
jmp 0x40ab8d
and dword [ebp - 4], 0
mov eax, dword [0x41ac54]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push eax
call fcn.0041623d
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40aad2
lea eax, [ebp - 0x21c]
push eax
lea ecx, [esi + 0xc]
call fcn.0041427a
push str..mp4
lea eax, [ebp - 0x220]
push eax
call fcn.00415fd1
push dword [ebp - 0x220]
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.0041427a
lea ecx, [ebp - 0x220]
call fcn.00414920
mov ecx, dword [edi]
call fcn.00401987
push eax
push dword [edi]
lea ecx, [esi + 8]
call fcn.0040188d
mov edi, eax
test edi, edi
jns 0x40ab37
push edi
push str.ScreenRecorder::App::RecorderControl::Initialize
push 0x13f
push str.screenrecorder_app_recordercontrol.cpp
push str._s__d_:__s__hr__0x_0.8X_
call fcn.00401a76
add esp, 0x14
mov eax, edi
jmp 0x40ab8d
mov edx, dword [ebp - 0x22c]
lea eax, [esi + 4]
mov ecx, dword [esi]
push eax
mov eax, dword [ebp - 0x224]
push dword [eax]
mov eax, dword [ebp - 0x228]
push dword [eax]
push dword [esi + 8]
call fcn.00401e5b
mov esi, eax
test esi, esi
jns 0x40aa87
push esi
push str.ScreenRecorder::App::RecorderControl::Initialize
push 0x141
jmp 0x40aa75
call fcn.0041787b
ret 0xc

Function at 0x40ae43
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor edi, edi
lea eax, [ebp - 8]
push edi
mov esi, ecx
mov dword [ebp - 8], edi
push edi
push eax
mov dword [ebp - 4], edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x40ae96
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x10]
call fcn.00416080
test al, al
je 0x40ae96
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, 0x600000
adc eax, edi
cmp eax, dword [ebp - 4]
jb 0x40ae96
ja 0x40ae92
cmp ecx, dword [ebp - 8]
jbe 0x40ae96
mov al, 1
jmp 0x40ae98
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ae9e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edi, dword [ebp + 8]
test eax, eax
jne 0x40aed2
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x40af4d
lea eax, [edi + 4]
mov dword [edi + 8], 1
push eax
xor eax, eax
push eax
push ebx
push 0x40afea
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi], eax
test eax, eax
jne 0x40af08
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x40af4d
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x14]
push 0xffffffffffffffff
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
jne 0x40af42
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x40af49
test eax, eax
jne 0x40af49
mov esi, dword [edi + 8]
test esi, esi
jns 0x40af57
or edx, 0xffffffff
mov ecx, edi
call fcn.0040af8a
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b9c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x40b9d3
push 0xd
pop eax
jmp 0x40ba17
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x40b9e6
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x40b9de
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40ba1e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x41aecc]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
mov ebx, ecx
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
push esi
or eax, 0x2001f
mov dword [esp + 0x1c], ecx
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x18]
call fcn.0040b962
jmp 0x40ba76
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.0040ba1e
mov esi, eax
test esi, esi
jne 0x40baca
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x40ba68
cmp dword [esp + 0xc], esi
je 0x40bab9
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.0040b86c
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x40badb
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00416d17
mov esp, ebp
pop ebp
ret 4
Function at 0x40bde7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x419474
call fcn.0041792a
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
and dword [ebp - 0x430], 0
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
and dword [ebp - 4], 0
and dword [ebp - 0x42c], 0
and dword [ebp - 0x418], 0
mov dword [ebp - 0x428], ecx
push 0x60
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040b662
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x40be64
push 2
mov ecx, esi
call fcn.0040b662
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x40be64
call fcn.0040b71f
mov esi, eax
jmp 0x40bf69
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40be87
call fcn.0040b71f
jmp 0x40bf5c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x40be7d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x40beba
mov esi, 0x8007000e
jmp 0x40bf5e
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
test edx, edx
jne 0x40beee
cmp eax, 0xffffffff
ja 0x40beee
cmp eax, 0x400
jbe 0x40bee0
push eax
lea ecx, [ebp - 0x418]
call fcn.0040f306
jmp 0x40bf0a
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x40bf0a
push 0x80070216
call fcn.004017be
mov eax, 0x40befe
ret
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x40beb0
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x40be7d
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0040c9cd
mov esi, eax
test edi, edi
je 0x40bf69
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40bf82
lea ecx, [ebp - 0x418]
call fcn.0040f205
mov eax, esi
call fcn.0041787b
ret 0x10
Function at 0x412496
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x424d50], eax
test eax, eax
je 0x4124e3
push esi
lea eax, [ebp - 4]
push eax
push edi
push 0x424d20
push 0x4124e8
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x4124e0
push dword [0x424d50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x424d50], edi
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4125da
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [0x42473c], 0
je 0x4125f2
mov eax, dword [0x424740]
jmp 0x4126c2
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwarePoliciesMicrosoftSecurity
push reloc.AppVIsvSubsystems32.dll_Ordinal_1
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x412641
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
push 0x424740
push esi
push esi
push dword [0x4242e4]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412641
cmp dword [ebp - 8], 4
je 0x41269b
mov eax, dword [ebp - 4]
mov dword [ebp - 4], esi
test eax, eax
je 0x412652
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftSecurity
push reloc.AppVIsvSubsystems32.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4126a3
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
push 0x424740
push esi
push esi
push dword [0x4242e4]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4126a3
cmp dword [ebp - 8], 4
jne 0x4126a3
mov esi, dword [0x424740]
jmp 0x4126a9
mov dword [0x424740], esi
cmp dword [ebp - 4], 0
mov byte [0x42473c], 1
je 0x4126bf
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4126c6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.CLSID
push SysReAllocString
mov dword [ebp - 8], ebx
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x412758
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 0x20019
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call edi
test eax, eax
jne 0x41274e
push 4
pop edi
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x41a424
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41274e
cmp dword [ebp + 8], edi
jne 0x41274e
mov edi, dword [ebp - 0xc]
cmp edi, 3
ja 0x41274e
cmp dword [ebp - 4], ebx
je 0x41275a
push dword [ebp - 4]
call esi
jmp 0x41275a
cmp dword [ebp - 4], ebx
je 0x412758
push dword [ebp - 4]
call esi
mov edi, ebx
cmp dword [ebp - 8], ebx
je 0x412764
push dword [ebp - 8]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41359a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x41aecc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0x208
push eax
push 0
push 2
push esi
push str.SoftwareMicrosoftOffice16.0CommonFilesPaths
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x413603
cmp dword [ebp - 0x210], 4
jb 0x413603
test edi, edi
lea eax, [ebp - 0x20c]
cmovne esi, edi
push esi
push eax
call fcn.004136bd
jmp 0x413605
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00416d17
mov esp, ebp
pop ebp
ret 8

Function at 0x413617
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x41aecc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0x208
push eax
push 0
push 2
push str.CommonFilesDir
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4136aa
mov ecx, dword [ebp - 0x210]
cmp ecx, 4
jb 0x4136aa
shr ecx, 1
push 0xffffffffffffffff
cmp word [ebp + ecx*2 - 0x210], 0x5c
sete al
lea eax, [eax*2 + str.Microsoft_SharedOffice16_]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
add esp, 0x10
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004136bd
jmp 0x4136ac
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00416d17
mov esp, ebp
pop ebp
ret 4

Function at 0x416687
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4166b6
xor eax, eax
jmp 0x4166df
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x416764
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x41aecc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x208
push esi
push 0
push eax
mov dword [ebp - 0x214], 1
call sub.VCRUNTIME140.dll_memset
mov edx, 0x4247e8
mov dword [ebp - 0x210], esi
add esp, 0xc
mov eax, edx
xor ecx, ecx
cmp dword [eax], 0
je 0x4167c5
add eax, 0x14
inc ecx
cmp eax, 0x424810
jl 0x4167b0
jmp 0x41691c
imul esi, ecx, 0x14
add esi, edx
je 0x41691c
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416900
cmp dword [ebp - 0x214], 1
jne 0x416900
cmp word [ebp - 0x20c], ax
je 0x416900
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x416900
shr eax, 1
mov dword [ebp - 0x210], eax
cmp eax, 0x104
jae 0x416847
add eax, eax
cmp eax, 0x208
jae 0x41692f
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
jmp 0x41684d
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.00416d04
mov dword [esi], eax
test eax, eax
je 0x416900
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._GetPerfhostHookVersion_0
push eax
call edi
test eax, eax
jne 0x41687a
mov eax, dword [ebp + 0x10]
jmp 0x41687c
call eax
mov dword [esi + 4], eax
cmp eax, 1
jne 0x4168a0
push str._InitPerf_4
push dword [esi]
call edi
push str._PerfCodeMarker_12
push dword [esi]
mov dword [esi + 8], eax
call edi
push str._UnInitPerf_4
jmp 0x4168d4
cmp eax, 2
jne 0x4168b5
push str._InitPerf_4
push dword [esi]
call edi
push str._PerfCodeMarker_8
jmp 0x416892
cmp eax, 3
jne 0x4168de
push str._InitPerf_v3_4
push dword [esi]
call edi
push str._PerfCodeMarker_v3_8
push dword [esi]
mov dword [esi + 8], eax
call edi
push str._UnInitPerf_v3_4
push dword [esi]
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
je 0x416900
cmp dword [esi + 0x10], 0
je 0x416900
cmp dword [esi + 0xc], 0
je 0x416900
push dword [0x424854]
push esi
call fcn.0041672b
test eax, eax
jns 0x41691c
cmp dword [esi], 0
je 0x41690d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [esi], 0
and dword [esi + 8], 0
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416d17
mov esp, ebp
pop ebp
ret 0xc
call fcn.0041771a
int3
Function at 0x416d24
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x41aecc], eax
je 0x416d46
cmp dword [0x41aecc], ebx
jne 0x416dda
push edi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x41aecc
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
test edi, edi
push eax
push dword [ebp - 4]
cmovne ebx, edi
mov edi, 0x41aecc
push 4
push edi
mov dword [0x41aecc], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push edi
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov eax, dword [0x41aecc]
not eax
mov dword [0x4243d8], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417015
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x421dc0
call fcn.00417964
push 1
call fcn.004173af
pop ecx
test al, al
jne 0x416ebe
push 7
call fcn.00417ad7
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041737a
mov byte [ebp - 0x24], al
mov eax, dword [0x424890]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x416eb7
test eax, eax
jne 0x416f28
mov dword [0x424890], ecx
push 0x41a404
push 0x41a3ec
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x416f0b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41700f
push 0x41a3e8
push 0x41a3bc
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x424890], 2
jmp 0x416f2d
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0041750c
pop ecx
call fcn.00417acb
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x416f5d
push esi
call fcn.0041747f
pop ecx
test al, al
je 0x416f5d
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00417d06
call esi
call fcn.00417ad1
mov esi, eax
cmp dword [esi], edi
je 0x416f7b
push esi
call fcn.0041747f
pop ecx
test al, al
je 0x416f7b
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.00417bec
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.00417c1f
test al, al
jne 0x416fb4
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x416fbd
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.00417529
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x41700f
call fcn.004179aa
ret
call fcn.00416d24
jmp 0x416e9f
Function at 0x10001190
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1008c224]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x5a
push 0x400
call esi
test eax, eax
je 0x100011f1
push 0xa
lea ecx, [ebp - 0x2c]
push ecx
push 0x59
push 0x400
call esi
test eax, eax
je 0x100011f1
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x2c]
push eax
push str._S__S
call sub.glib_2.0.dll_g_strdup_printf
add esp, 0xc
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004e3f2
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Couldnt_retrieve_user_locale_data__error___u.
call fcn.10050cd0
push 0x1005d78c
call sub.glib_2.0.dll_g_strdup
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.1004e3f2
mov esp, ebp
pop ebp
ret

Function at 0x100030e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
cmp dword [0x1008cccc], 0
push esi
je 0x10003105
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
call fcn.10003680
add esp, 8
jmp 0x10003103
mov eax, dword [0x1008ccd0]
test eax, eax
jne 0x10003149
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push eax
push 0
call sym.vmtools.dll_Str_Vasprintf
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10003144
mov ecx, dword [0x1008ccbc]
push esi
push 0x1005de4c
push 4
push ecx
call sub.glib_2.0.dll_g_log
push esi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0x14
call fcn.10001b50
cmp eax, 1
jne 0x1000318e
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push eax
lea ecx, [ebp - 0x400]
push 0x400
push ecx
call sym.vmtools.dll_Str_Vsnprintf
add esp, 0x10
lea edx, [ebp - 0x400]
push edx
push str.Recursive_panic:__s_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
call fcn.10001b50
push str.Recursive_panic__giving_up._n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 8
push 0xffffffffffffffff
call dword [sym.imp.MSVCR90.dll_exit]
int3