joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563aeb
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x5c0490]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x648]
push str.Tool_GetDriverColorProfilesReg
push ecx
mov esi, edx
mov dword [ebp - 0x64c], eax
call fcn.00401190
add esp, 0xc
push edi
push esi
push str.lpcDriverName___s__cVer___08x
lea edx, [ebp - 0x648]
push 1
push edx
mov dword [ebp - 4], ebx
call fcn.00401410
add esp, 0x14
cmp esi, ebx
jne 0x42b758
push ebx
push str.return___08x
push 2
lea eax, [ebp - 0x648]
push eax
jmp 0x42b8eb
push 0x616
lea edx, [ebp - 0x632]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x634], cx
call fcn.00541d20
add esp, 0xc
mov eax, edi
sub eax, 3
push esi
je 0x42b7b3
sub eax, 2
je 0x42b79b
push str.SystemCurrentControlSetControlPrintEnvironmentsWindows_NT_x86DriversVersion_3
push str._s_s
push 0x30c
lea eax, [ebp - 0x634]
push eax
jmp 0x42b7c9
push str.SystemCurrentControlSetControlPrintEnvironmentsWindows_x64DriversVersion_3
push str._s_s
push 0x30c
lea ecx, [ebp - 0x634]
push ecx
jmp 0x42b7c9
push str.SystemCurrentControlSetControlPrintEnvironmentsWindows_NT_x86DriversVersion_3
push str._s_s
push 0x30c
lea edx, [ebp - 0x634]
push edx
call fcn.0053ca82
add esp, 0x14
lea eax, [ebp - 0x638]
push eax
push 0x20019
push ebx
lea ecx, [ebp - 0x634]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x640], 7
mov dword [ebp - 0x63c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x42b8dc
mov ecx, dword [ebp - 0x638]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x63c]
push edx
push ebx
lea eax, [ebp - 0x640]
push eax
push ebx
push str.ColorProfiles
push ecx
call edi
cmp eax, ebx
jne 0x42b8c9
cmp dword [ebp - 0x63c], ebx
jbe 0x42b8c9
xor ecx, ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x63c]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00448ab7
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x42b8aa
mov edx, dword [ebp - 0x638]
lea eax, [ebp - 0x63c]
push eax
push esi
lea ecx, [ebp - 0x640]
push ecx
push ebx
push str.ColorProfiles
push edx
call edi
test eax, eax
jne 0x42b8a1
mov eax, dword [ebp - 0x64c]
push eax
push esi
call fcn.0042b930
add esp, 8
push esi
call fcn.00448ac2
add esp, 4
mov dword [ebp - 4], ebx
jmp 0x42b8c9
mov ecx, dword [ebp - 0x638]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x638], ebx
push ebx
push str.return___08x
push 2
lea edx, [ebp - 0x648]
push edx
call fcn.00401410
add esp, 0x10
lea ecx, [ebp - 0x648]
mov dword [ebp - 4], 0xffffffff
call fcn.00401370
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0053ca73
mov esp, ebp
pop ebp
ret
Function at 0x4341c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c0490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
test esi, esi
je 0x4342ab
push esi
push ebx
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x434213
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
lea eax, [ebx + 1]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ca73
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x434236
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ca73
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 1
jne 0x4342ab
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00541d20
add esp, 0xc
push str.Global_
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, dword [edi]
mov edx, dword [edx + 0x110]
push 0
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call edx
test eax, eax
je 0x4342ad
pop edi
pop esi
or eax, 0x80000000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ca73
mov esp, ebp
pop ebp
ret 8
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053ca73
mov esp, ebp
pop ebp
ret 8

Function at 0x4342c0
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
push str.h_PrinterDriverUnInstaller_PrevInstance
xor edi, edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x4342f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4342e9
cmp eax, 5
jne 0x4342f8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 2
pop esi
ret
mov eax, edi
pop edi
pop esi
ret

Function at 0x434300
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c0490]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
xor edi, edi
mov word [ebp - 0x20c], ax
call fcn.00541d20
add esp, 0xc
push str.Global_
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.gh_Canon_OIP_PrinterDriverCommonMutex
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x20c]
push ecx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x434387
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x434380
cmp eax, 5
jne 0x43439c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ca73
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0053ca73
mov esp, ebp
pop ebp
ret
Function at 0x4343b0
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
mov esi, ecx
test edi, edi
jne 0x4343ec
mov edi, dword [esi + 0x644]
test edi, edi
je 0x4343e6
call fcn.0044b52d
mov dword [eax + 0xc], edi
mov eax, dword [esi + 0x648]
test eax, eax
je 0x4343e6
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x648], ebx
pop edi
pop esi
mov eax, ebx
pop ebx
ret
mov eax, dword [esi + 0x648]
test eax, eax
je 0x434403
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x648], ebx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x43444b
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x648], eax
test eax, eax
je 0x434442
call fcn.0044b52d
mov eax, dword [eax + 8]
mov dword [esi + 0x644], eax
mov esi, dword [esi + 0x648]
call fcn.0044b52d
pop edi
mov dword [eax + 0xc], esi
pop esi
mov eax, ebx
pop ebx
ret
pop edi
pop esi
mov eax, 0x21
pop ebx
ret
pop edi
pop esi
mov eax, 0x20
pop ebx
ret

Function at 0x434460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5c0490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, 1
test esi, esi
je 0x434481
test edi, edi
jne 0x434494
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ca73
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5dc], 0
je 0x4344bb
lea ecx, [ebp - 0x20c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [ebp - 0x20c]
push edx
jmp 0x43451a
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00540033
push 0
push 0
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0053f63d
add esp, 0x2c
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push edi
lea edx, [ebp - 0x20c]
push edx
push 0x594b70
push 0xffffffffffffffff
push 0x104
push esi
call fcn.0053caa0
add esp, 0x18
test eax, eax
js 0x434481
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0053ca73
mov esp, ebp
pop ebp
ret 4
Function at 0x439bb0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5639eb
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5c0490]
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
xor esi, esi
push esi
lea eax, [ebp - 0x42c]
push str.CUNINSTALLERDlg::DeleteSurvivalPrinterRegKey
push eax
mov edi, ecx
call fcn.00401190
add esp, 0xc
push edi
push str.lpszPrinter___s
lea ecx, [ebp - 0x42c]
push 1
push ecx
mov dword [ebp - 4], esi
call fcn.00401410
add esp, 0x10
lea edx, [ebp - 0x424]
push edx
push 0xf003f
push esi
push edi
push SysReAllocString
lea ebx, [esi + 1]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x439d0c
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
mov dword [ebp - 0x430], 0x208
call fcn.00541d20
add esp, 0xc
lea ecx, [ebp - 0x438]
push ecx
mov ecx, dword [ebp - 0x424]
push 0
push 0
push 0
lea edx, [ebp - 0x430]
push edx
lea eax, [ebp - 0x420]
push eax
push esi
push ecx
call edi
inc esi
test eax, eax
je 0x439c90
cmp eax, 0x103
je 0x439cf8
xor ebx, ebx
jmp 0x439ce1
lea edx, [ebp - 0x420]
push edx
call fcn.00439d60
test eax, eax
jne 0x439c3b
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x420]
push eax
push ecx
call fcn.0041dd40
add esp, 8
cmp eax, 1
jne 0x439cfd
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 0x420]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x439cdf
cmp eax, 2
je 0x439cdf
xor ebx, ebx
mov eax, 0x103
xor esi, esi
test eax, eax
je 0x439c3b
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x439d13
mov ebx, 1
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x439d13
cmp eax, 2
je 0x439d13
xor ebx, ebx
push ebx
push str.return___08x
lea edx, [ebp - 0x42c]
push 2
push edx
call fcn.00401410
add esp, 0x10
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], 0xffffffff
call fcn.00401370
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 - 0x10]
xor ecx, ebp
call fcn.0053ca73
mov esp, ebp
pop ebp
ret
Function at 0x444470
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c0490]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.0044b52d
mov esi, dword [eax + 4]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00541d20
add esp, 0xc
push esi
lea esi, [ebp - 0x20c]
mov edi, str.InsCmn.dll
call fcn.00434460
mov edx, esi
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44454e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x44454e
push str.PI_CMN_GetInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 4], eax
test eax, eax
je 0x444515
push pe_nt_image_headers32
call eax
mov dword [ebx + 8], eax
test eax, eax
je 0x444515
mov ecx, dword [eax]
xor esi, esi
call ecx
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ca73
mov esp, ebp
pop ebp
ret
cmp dword [ebx], 0
je 0x44454e
mov eax, dword [ebx + 8]
test eax, eax
je 0x444526
mov edx, dword [eax + 4]
call edx
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
mov eax, 0x22
je 0x444553
pop edi
mov dword [ebx], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ca73
mov esp, ebp
pop ebp
ret
mov eax, 0x22
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0053ca73
mov esp, ebp
pop ebp
ret
Function at 0x44bfde
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0044bc82
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x44c028
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00448b40
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041c5d0
jmp 0x44c033
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0045d230
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x44c039
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00453623
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x44c076
call fcn.0044bc82
mov dword [esi + 0xc], 1
jmp 0x44c07b
call fcn.0044bc82
cmp dword [esi], 0
je 0x44c0c4
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x44c09c
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00448b40
jmp 0x44c0ae
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00405110
push pe_nt_image_headers32
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041c5d0
jmp 0x44c0e8
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x44c0e8
push dword [esi]
push dword [ebp + 8]
call fcn.0045d230
pop esi
pop ebp
ret 0xc

Function at 0x44cad0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0044b52d
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44cb09
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0044c70d
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x44cb67
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x44cb8b
cmp dword [edi + 0x74], 0
jne 0x44cb8b
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0044b52d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0044cb28
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x453517
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x45355e
call fcn.0044b52d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45355e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x45357a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00453017
mov esi, eax
test edi, edi
je 0x453578
test ebx, ebx
je 0x453578
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x453983
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x55d0d8
call fcn.005405bc
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4539a8
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4539fa
call fcn.00448c3f
push eax
lea ecx, [ebp - 0x10]
call fcn.004052e0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0053f9ef
push eax
call fcn.004040d0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404230
mov eax, esi
call fcn.00540694
ret 8
Function at 0x45706a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5c0490]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x4570af
push 0x56ec78
push 4
push eax
call fcn.0053e407
push eax
call fcn.004040d0
add esp, 0x10
jmp 0x4570c5
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x457145
push edi
call fcn.0054077e
mov edi, dword [eax]
call fcn.0054077e
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0053caa0
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0054077e
cmp dword [eax], 0
je 0x457119
call fcn.0054077e
push dword [eax]
call fcn.004494e8
pop ecx
jmp 0x457120
call fcn.0054077e
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x457145
cmp dword [ebp - 0x234], esi
jae 0x457145
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x457147
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0053ca73
leave
ret
Function at 0x4575ec
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5c0490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.0044eb64
pop ecx
cmp eax, esi
je 0x4576d6
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x4576d6
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.00541d20
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x4576d6
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x4576d6
cmp esi, 0x14
jge 0x4576d6
push 0x10
push 0
push edi
call fcn.00542978
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4576c5
call fcn.0054077e
cmp dword [eax], 0x22
je 0x4576c5
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.0054007f
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x45769b
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5d94a0], 0
jne 0x457761
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x45778a
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0045706a
pop ecx
pop ecx
test eax, eax
jne 0x45778c
inc edi
cmp edi, esi
jl 0x457767
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053ca73
leave
ret 8

Function at 0x45ee1b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5c0490]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x45ee50
xor eax, eax
jmp 0x45eea3
lea eax, [ebp - 0x210]
push eax
call fcn.0054007f
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x45ee81
push 0x5958c8
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0053f97a
add esp, 0xc
test eax, eax
jne 0x45ee4c
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0053f97a
add esp, 0xc
test eax, eax
jne 0x45ee4c
lea eax, [ebp - 0x210]
push eax
call fcn.0044eb64
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0053ca73
leave
ret
Function at 0x464cf7
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004a0771
call fcn.0044af4a
cmp dword [eax + 0x14], 0
jne 0x464d14
mov ecx, esi
pop esi
jmp fcn.004647fc
pop esi
ret

Function at 0x46836e
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00486563
call fcn.0044af4a
cmp dword [eax + 0x14], 0
jne 0x46838b
mov ecx, esi
pop esi
jmp fcn.00467d41
pop esi
ret

Function at 0x4a4043
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4a405d
call fcn.0044b52d
mov esi, dword [eax + 0xc]
push dword [0x5db0f8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4a407b
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4a4073
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4a40a8
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4a4075
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004a3f71
mov esi, eax
jmp 0x4a409a

Function at 0x5225a4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x5225bc
mov edi, dword [esi + 0xc]
jmp 0x5225fc
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x5225d5
call fcn.0045516d
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x5225ea
call fcn.0045516d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x5225fc
call fcn.0045516d
call fcn.0044b52d
cmp dword [eax + 0x3c], 0
je 0x522611
push edi
mov ecx, ebx
call fcn.005213ce
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.005224be
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x52262f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x52263b
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x53ca73
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5c0490]
jne 0x53ca7d
repz ret
jmp fcn.005461e3