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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55959b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5d7b20]
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 esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov ebx, ecx
mov ecx, dword [esi]
push eax
push ecx
lea eax, [ebp - 0x23c]
push eax
mov ecx, esi
call fcn.00406d70
mov edx, dword [ebx + 4]
push 0x105
lea ecx, [ebp - 0x21c]
push ecx
xor edi, edi
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x43fbac
lea esp, [esp]
xor eax, eax
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43fb36
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x238]
call fcn.004021b0
lea edx, [ebp - 0x238]
push edx
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00423c70
cmp dword [ebp - 0x224], 8
mov dword [ebp - 4], 0xffffffff
jb 0x43fb8c
mov eax, dword [ebp - 0x238]
push eax
call fcn.00449b7c
add esp, 4
mov edx, dword [ebx + 4]
push 0x105
lea ecx, [ebp - 0x21c]
push ecx
inc edi
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x43fb10
mov eax, edi
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.0053e1ad
mov esp, ebp
pop ebp
ret 4
Function at 0x43fbd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5595db
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5d7b20]
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 esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov ebx, ecx
mov ecx, dword [esi]
push eax
push ecx
lea eax, [ebp - 0x240]
push eax
mov ecx, esi
call fcn.00406d70
mov eax, dword [ebx + 4]
xor edi, edi
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x21c]
push edx
push edi
push eax
mov dword [ebp - 0x23c], 0x105
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x43fd00
lea esp, [esp]
xor ecx, ecx
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43fc76
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x238]
call fcn.004021b0
lea eax, [ebp - 0x238]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00423c70
cmp dword [ebp - 0x224], 8
mov dword [ebp - 4], 0xffffffff
jb 0x43fccc
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00449b7c
add esp, 4
mov ecx, dword [ebx + 4]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x21c]
push eax
inc edi
push edi
push ecx
mov dword [ebp - 0x23c], 0x105
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x43fc50
mov eax, edi
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.0053e1ad
mov esp, ebp
pop ebp
ret 4
Function at 0x43fd20
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559620
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5d7b20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], 1
call fcn.0043f020
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
xor esi, esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.0043f030
mov ebx, eax
cmp ebx, esi
je 0x43fe0d
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0043faa0
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
cmp esi, edi
je 0x43fdc0
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x43fdaa
mov eax, dword [esi]
jmp 0x43fdac
mov eax, esi
mov ecx, dword [ebp - 0x14]
push eax
push ebx
call fcn.0043fd20
and dword [ebp - 0x10], eax
add esi, 0x1c
cmp esi, edi
jne 0x43fda0
lea ecx, [ebp - 0x1c]
call fcn.0043f290
mov eax, dword [ebp + 8]
test eax, eax
je 0x43fde2
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x43fde2
and dword [ebp - 0x10], 1
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x43fe0d
mov esi, ebx
cmp ebx, edi
je 0x43fe04
nop
lea edx, [ebp - 0x20]
push esi
push edx
call fcn.00405d20
add esi, 0x1c
add esp, 8
cmp esi, edi
jne 0x43fdf0
push ebx
call fcn.00449b7c
add esp, 4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0043f640
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x441380
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5d7b20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList_
lea eax, [ebp - 0x40c]
push 0x100
push eax
mov dword [ebp - 0x618], 0
call fcn.0053eeab
push esi
lea ecx, [ebp - 0x40c]
push 0x100
push ecx
call fcn.0053e396
add esp, 0x18
lea edx, [ebp - 0x618]
push edx
lea eax, [ebp - 0x40c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x441426
lea ecx, [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x20c]
push edx
push eax
push eax
mov eax, dword [ebp - 0x618]
push str.ProfileImagePath
push eax
mov dword [ebp - 0x61c], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x441439
mov ecx, dword [ebp - 0x618]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x618]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441450
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x20e], 0x5c
je 0x441483
push 0x56825c
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.0053e396
add esp, 0xc
push str.NTUSER.DAT
lea ecx, [ebp - 0x20c]
push 0x103
push ecx
call fcn.0053e396
push 0x206
lea edx, [ebp - 0x614]
push 0
push edx
call fcn.0053e550
add esp, 0x18
push 0x103
lea eax, [ebp - 0x614]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0x614]
push edx
push esi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret 4
Function at 0x4488f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5d7b20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.kernel32.dll
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4489c0
push esi
push str.GetProductInfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4489a2
push str.GetProcAddress__GetProductInfo___OK__n
push 5
call fcn.00403ab0
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0053e550
add esp, 0x14
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4489a2
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jb 0x4489a2
movzx ecx, word [ebp - 0xa]
lea edx, [ebx + 0x2b0]
push edx
movzx edx, word [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x118]
push edx
push ecx
push eax
call esi
push eax
push str.pfnGetProductInfo___bret___1_d__n
push 5
call fcn.00403ab0
add esp, 0xc
mov edx, dword [ebx + 0x2b0]
push edx
push 0x58aa28
push 5
call fcn.00403ab0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret
Function at 0x449080
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1638
call fcn.0053f7f0
mov eax, dword [0x5d7b20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push str.CheckProcess________________________IN._n
push 5
mov dword [ebp - 0x1630], eax
call fcn.00403ab0
add esp, 8
push 0x104
lea ecx, [ebp - 0x61c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4490d3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret
push ebx
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x414]
push str._spsapi.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x1620], ebx
test ebx, ebx
je 0x4492b6
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push str.EnumProcesses
push ebx
call esi
push str.EnumProcessModules
push ebx
mov edi, eax
call esi
push str.GetModuleBaseNameW
push ebx
mov dword [ebp - 0x1624], eax
call esi
mov ebx, eax
test edi, edi
je 0x44926a
cmp dword [ebp - 0x1624], 0
je 0x44926a
test ebx, ebx
je 0x44926a
lea edx, [ebp - 0x162c]
push edx
push 0x1000
lea eax, [ebp - 0x161c]
push eax
mov dword [ebp - 0x162c], 0
call edi
mov eax, dword [ebp - 0x162c]
shr eax, 2
xor edi, edi
mov dword [ebp - 0x1638], eax
test eax, eax
je 0x44924e
lea esp, [esp]
mov ecx, dword [ebp + edi*4 - 0x161c]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x449241
lea edx, [ebp - 0x1634]
push edx
mov dword [ebp - 0x1628], eax
mov dword [ebp - 0x1634], eax
push 4
lea eax, [ebp - 0x1628]
push eax
push esi
call dword [ebp - 0x1624]
test eax, eax
je 0x44923a
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.0053e550
mov ecx, dword [ebp - 0x1628]
add esp, 0xc
push 0x208
lea eax, [ebp - 0x20c]
push eax
push ecx
push esi
call ebx
lea edx, [ebp - 0x20c]
push edx
push str.CheckProcess__szGetProcessName____1_s___n
push 5
call fcn.00403ab0
mov eax, dword [ebp - 0x1630]
add esp, 0xc
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x44927d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebp - 0x1638]
jb 0x449190
mov eax, dword [ebp - 0x1620]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.CheckProcess_return_FALSE________________________OUT._n
push 5
call fcn.00403ab0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1620]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.CheckProcess_return_TRUE________________________OUT._n
push 5
call fcn.00403ab0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret
Function at 0x4492d0
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.0053f7f0
mov eax, dword [0x5d7b20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0053e550
push 0x400
lea ecx, [ebp - 0x804]
push 0
push ecx
call fcn.0053e550
push str.ServiceStopFromCmdLine________________________IN._n
push 5
call fcn.00403ab0
add esp, 0x20
push 0x200
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.cmd.exe
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp - 0x804]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x44
lea eax, [ebp - 0x1058]
push 0
push eax
call fcn.0053e550
push esi
push str._C_net_stop___s___Y
lea edx, [ebp - 0x1004]
xor ecx, ecx
push 0x400
push edx
mov dword [ebp - 0x1058], 0x44
mov word [ebp - 0x1028], cx
mov dword [ebp - 0x102c], 1
call fcn.00540549
add esp, 0x2c
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1058]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x1004]
push edx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
push esi
push str.ServiceStopFromCmdLine_CreateProcess_bRet___0x_1_lX__.__n
push 2
call fcn.00403ab0
add esp, 0xc
test esi, esi
je 0x449414
mov ecx, dword [ebp - 0x1014]
push edi
push 0xea60
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x1014]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [ebp - 0x1010]
push eax
call edi
pop edi
push str.ServiceStopFromCmdLine________________________OUT._n
push 5
call fcn.00403ab0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret
Function at 0x449440
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a178
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5d7b20]
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 esi, dword [ebp + 8]
call fcn.0044bf0f
mov ecx, dword [eax + 4]
call fcn.0044d311
xor edi, edi
push str.GetServiceStartAndStopStatus________________________IN._n
push 5
mov dword [ebp - 4], edi
mov dword [ebp - 0x30], edi
call fcn.00403ab0
add esp, 8
push 0xf003f
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x38], ebx
cmp ebx, edi
je 0x44953f
push 4
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x449512
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp eax, 1
je 0x4494ed
push 0x64
call ebx
inc esi
cmp esi, 0x96
jb 0x4494c4
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, dword [ebp - 0x38]
jmp 0x449535
mov ecx, dword [ebp - 0x28]
push ecx
push str.GetServiceStartAndStopStatus_QueryServiceStatus___0x_1_lX__.__n
push 2
call fcn.00403ab0
mov edx, dword [ebp - 0x28]
add esp, 0xc
push edi
mov dword [ebp - 0x30], edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, dword [ebp - 0x38]
jmp 0x449535
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.GetServiceStartAndStopStatus_OpenService__:GetLastError_____0x_1_lX__.__n
push 2
call fcn.00403ab0
add esp, 0xc
cmp esi, 0x424
jne 0x449535
mov dword [ebp - 0x30], esi
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, dword [ebp - 0x30]
push edi
push str.GetServiceStartAndStopStatus_bRet___0x_1_lX__.__n
push 2
call fcn.00403ab0
push str.GetServiceStartAndStopStatus________________________OUT._n
push 5
call fcn.00403ab0
add esp, 0x14
lea ecx, [ebp - 0x31]
mov dword [ebp - 4], 0xffffffff
call fcn.0040c110
mov eax, edi
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.0053e1ad
mov esp, ebp
pop ebp
ret
Function at 0x449980
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.0053f7f0
mov eax, dword [0x5d7b20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0053e550
push 0x400
lea ecx, [ebp - 0x804]
push 0
push ecx
call fcn.0053e550
push str.ServiceStartFromCmdLine________________________IN._n
push 5
call fcn.00403ab0
add esp, 0x20
push 0x200
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.cmd.exe
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp - 0x804]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x44
lea eax, [ebp - 0x1058]
push 0
push eax
call fcn.0053e550
push edi
push str._C_net_start___s___Y
lea edx, [ebp - 0x1004]
xor ecx, ecx
push 0x400
push edx
mov dword [ebp - 0x1058], 0x44
mov word [ebp - 0x1028], cx
mov dword [ebp - 0x102c], 1
call fcn.00540549
push 0
push edi
call fcn.00449760
add esp, 0x34
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1058]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x1004]
push edx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
push esi
push str.ServiceStartFromCmdLine_CreateProcess_bRet___0x_1_lX__.__n
push 2
call fcn.00403ab0
add esp, 0xc
test esi, esi
je 0x449ae5
push 1
push edi
call fcn.00449760
mov esi, eax
push esi
push str.ServiceStartFromCmdLine_WaitServiceStatus_bRet___0x_1_lX__.__n
push 2
call fcn.00403ab0
mov ecx, dword [ebp - 0x1014]
add esp, 0x14
push 0xea60
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x1014]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [ebp - 0x1010]
push eax
call edi
push esi
push str.ServiceStartFromCmdLine_bRet___0x_1_lX__.__n
push 2
call fcn.00403ab0
push str.ServiceStartFromCmdLine________________________OUT._n
push 5
call fcn.00403ab0
mov ecx, dword [ebp - 4]
add esp, 0x14
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret
Function at 0x44a62b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5d7b20]
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 0x44a670
push 0x58bf78
push 4
push eax
call fcn.0053eeab
push eax
call fcn.00403de0
add esp, 0x10
jmp 0x44a686
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44a706
push edi
call fcn.00540824
mov edi, dword [eax]
call fcn.00540824
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.00540567
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00540824
cmp dword [eax], 0
je 0x44a6da
call fcn.00540824
push dword [eax]
call fcn.0044a098
pop ecx
jmp 0x44a6e1
call fcn.00540824
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x44a706
cmp dword [ebp - 0x234], esi
jae 0x44a706
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x44a708
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0053e1ad
leave
ret
Function at 0x44ac75
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5d7b20]
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.0044abdc
pop ecx
cmp eax, esi
je 0x44ad5f
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x44ad5f
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.0053e550
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 0x44ad5f
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x44ad5f
cmp esi, 0x14
jge 0x44ad5f
push 0x10
push 0
push edi
call fcn.0053f49b
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x44ad4e
call fcn.00540824
cmp dword [eax], 0x22
je 0x44ad4e
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.005407c7
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x44ad24
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 [0x5d9430], 0
jne 0x44adea
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x44ae13
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0044a62b
pop ecx
pop ecx
test eax, eax
jne 0x44ae15
inc edi
cmp edi, esi
jl 0x44adf0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053e1ad
leave
ret 8

Function at 0x44ce63
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.0044bf0f
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 0x44ce9c
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.0044caa0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8