joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a4f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00448be0
mov eax, dword [esi + 0x878]
mov dword [esi + 0x1094], 4
mov ecx, dword [esi + 0x858]
sub ecx, dword [esi + 0x854]
sar ecx, 2
cmp eax, ecx
jae 0x44a535
mov edx, dword [esi + 0x854]
cmp dword [edx + eax*4], 0
lea eax, [edx + eax*4]
je 0x44a535
mov eax, dword [eax]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret

Function at 0x44a840
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4f6cdc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push 0x3fe
mov esi, ecx
push eax
lea ecx, [ebp - 0x402]
push ecx
xor bl, bl
mov word [ebp - 0x404], ax
call fcn.0049eae0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, dword [esi + 0x10a4]
push eax
call fcn.0042d5b0
mov ecx, dword [esi + 0x10a4]
lea edx, [ebp - 0x404]
push edx
call fcn.0040a840
test al, al
je 0x44a8ce
lea eax, [ebp - 0x404]
mov byte [esi + 0xc91], 4
push eax
add esi, 0xc92
push esi
mov bl, 0x10
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f71b
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x404]
push ecx
mov ecx, dword [esi + 0x10a4]
call fcn.0040a800
test al, al
je 0x44a90c
lea edx, [ebp - 0x404]
mov bl, 0x20
push edx
mov ecx, esi
mov byte [esi + 0xc91], bl
call fcn.00449ce0
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f71b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x10a4]
call fcn.0040a880
test al, al
je 0x44a8bc
mov ecx, dword [ebp - 4]
mov al, 4
mov byte [esi + 0xc91], al
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f71b
mov esp, ebp
pop ebp
ret
Function at 0x44a940
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10a8
call fcn.004a1410
mov eax, dword [0x4f6cdc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x402]
push edx
mov dword [ebp - 0x10a8], eax
xor bl, bl
mov word [ebp - 0x404], cx
call fcn.0049eae0
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
mov ecx, esi
call fcn.00449bf0
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x8a2]
push edx
mov word [ebp - 0x8a4], cx
call fcn.0049eae0
add esp, 0xc
lea eax, [ebp - 0x8a4]
push eax
mov ecx, esi
call fcn.0044a560
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0xca2]
push edx
mov word [ebp - 0xca4], cx
call fcn.0049eae0
add esp, 0xc
lea eax, [ebp - 0x8a4]
push eax
lea ecx, [ebp - 0xca4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0xca4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x10a2]
push edx
mov word [ebp - 0x10a4], cx
call fcn.0049eae0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x10a4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
cmp byte [ebp + 0x10], cl
lea edx, [ebp - 0xca4]
sete cl
lea eax, [ebp - 0x10a4]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x44aaa3
lea eax, [ebp - 0x8a4]
mov edx, edi
mov ecx, eax
sub edx, ecx
jmp 0x44aa70
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x44aa70
mov edx, dword [ebp - 0x10a8]
lea eax, [ebp - 0x404]
mov ecx, eax
sub edx, ecx
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x44aa90
mov bl, 1
jmp 0x44aabf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x4a4]
push str.CopyFile_failed:_GetLastError_returned__u_n
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
add esi, 0x4c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0049f71b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44adc0
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x145c
call fcn.004a1410
mov eax, dword [0x4f6cdc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x3fe
mov esi, ecx
push eax
lea ecx, [ebp - 0x1402]
push ecx
mov word [ebp - 0x1404], ax
call fcn.0049eae0
push 0x400
lea edx, [ebp - 0x1004]
push 0
push edx
call fcn.0049eae0
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x402]
push ecx
mov word [ebp - 0x404], ax
call fcn.0049eae0
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0xc02]
push eax
mov word [ebp - 0xc04], dx
call fcn.0049eae0
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x802]
push edx
mov word [ebp - 0x804], cx
call fcn.0049eae0
push 0x44
lea eax, [ebp - 0x145c]
push 0
push eax
call fcn.0049eae0
mov ecx, dword [esi + 0x10a4]
xor eax, eax
add esp, 0x48
mov dword [ebp - 0x145c], 0x44
mov dword [ebp - 0x1414], eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
call fcn.00410060
xor edi, edi
mov dword [ebp - 0x1418], eax
test eax, eax
je 0x44afc9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x1404]
push ecx
mov ecx, dword [esi + 0x10a4]
push edi
call fcn.00413910
lea edx, [ebp - 0x804]
push edx
mov ecx, esi
call fcn.0044a560
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x404]
push ecx
call ebx
push str.InstallerCommonCustomActions_
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0xc04]
push ecx
call ebx
lea edx, [ebp - 0x1404]
push edx
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0xc04]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea edx, [ebp - 0x1414]
push edx
lea eax, [ebp - 0x145c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1004]
push ecx
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x44afbb
mov eax, dword [ebp - 0x1414]
push 0xdbba0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x1414]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1410]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push 0x44
push eax
mov dword [ebp - 0x1414], eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
lea eax, [ebp - 0x145c]
push eax
call fcn.0049eae0
add esp, 0xc
mov dword [ebp - 0x145c], 0x44
inc edi
cmp edi, dword [ebp - 0x1418]
jb 0x44aeb3
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049f71b
mov esp, ebp
pop ebp
ret
Function at 0x44afe0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x4f6cdc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x3fe
mov edi, ecx
push eax
lea ecx, [ebp - 0x402]
push ecx
mov word [ebp - 0x404], ax
call fcn.0049eae0
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0x802]
push eax
mov word [ebp - 0x804], dx
call fcn.0049eae0
push 0x44
lea ecx, [ebp - 0x85c]
push 0
push ecx
call fcn.0049eae0
mov ecx, dword [edi + 0x10a4]
xor eax, eax
add esp, 0x24
lea edx, [ebp - 0x808]
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x810], eax
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0x808], eax
mov eax, dword [ebp + 8]
push edx
push eax
mov dword [ebp - 0x85c], 0x44
call fcn.00419be0
mov eax, dword [ebp - 0x808]
test eax, eax
je 0x44b1b2
push esi
mov esi, dword [eax + 0x18c0]
sub esi, dword [eax + 0x18bc]
sar esi, 2
test esi, esi
je 0x44b1b1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esp, [esp]
lea ecx, [ebp - 0x804]
push ecx
mov ecx, edi
call fcn.0044a560
lea edx, [ebp - 0x804]
push edx
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0x808]
add ecx, 0x404
push ecx
lea edx, [ebp - 0x404]
push edx
call fcn.00433f10
mov eax, dword [ebp - 0x808]
mov ecx, dword [eax + 0x18bc]
mov edx, dword [ecx + esi*4 - 4]
add esp, 8
push edx
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp - 0x808]
mov edx, dword [ecx + 0x18bc]
lea eax, [edx + esi*4 - 4]
mov eax, dword [eax]
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0x85c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
add eax, 0x400
push eax
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x44b1a9
mov edx, dword [ebp - 0x818]
push 0xdbba0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x818]
push eax
call ebx
mov ecx, dword [ebp - 0x814]
push ecx
call ebx
xor eax, eax
push 0x44
push eax
lea edx, [ebp - 0x85c]
push edx
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x810], eax
mov dword [ebp - 0x80c], eax
call fcn.0049eae0
add esp, 0xc
mov dword [ebp - 0x85c], 0x44
dec esi
jne 0x44b0b0
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0049f71b
mov esp, ebp
pop ebp
ret 4
Function at 0x44b1d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x4f6cdc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x3fe
mov edi, ecx
push eax
lea ecx, [ebp - 0x402]
push ecx
mov word [ebp - 0x404], ax
call fcn.0049eae0
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0x802]
push eax
mov word [ebp - 0x804], dx
call fcn.0049eae0
push 0x44
lea ecx, [ebp - 0x85c]
push 0
push ecx
call fcn.0049eae0
mov ecx, dword [edi + 0x10a4]
xor eax, eax
add esp, 0x24
lea edx, [ebp - 0x808]
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x810], eax
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0x808], eax
mov eax, dword [ebp + 8]
push edx
push eax
mov dword [ebp - 0x85c], 0x44
call fcn.00419be0
mov eax, dword [ebp - 0x808]
test eax, eax
je 0x44b3a2
push esi
mov esi, dword [eax + 0x18d0]
sub esi, dword [eax + 0x18cc]
sar esi, 2
test esi, esi
je 0x44b3a1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esp, [esp]
lea ecx, [ebp - 0x804]
push ecx
mov ecx, edi
call fcn.0044a560
lea edx, [ebp - 0x804]
push edx
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0x808]
add ecx, 0x404
push ecx
lea edx, [ebp - 0x404]
push edx
call fcn.00433f10
mov eax, dword [ebp - 0x808]
mov ecx, dword [eax + 0x18cc]
mov edx, dword [ecx + esi*4 - 4]
add esp, 8
push edx
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp - 0x808]
mov edx, dword [ecx + 0x18cc]
lea eax, [edx + esi*4 - 4]
mov eax, dword [eax]
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0x85c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
add eax, 0x400
push eax
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x44b399
mov edx, dword [ebp - 0x818]
push 0xdbba0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x818]
push eax
call ebx
mov ecx, dword [ebp - 0x814]
push ecx
call ebx
xor eax, eax
push 0x44
push eax
lea edx, [ebp - 0x85c]
push edx
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x810], eax
mov dword [ebp - 0x80c], eax
call fcn.0049eae0
add esp, 0xc
mov dword [ebp - 0x85c], 0x44
dec esi
jne 0x44b2a0
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0049f71b
mov esp, ebp
pop ebp
ret 4
Function at 0x44b3c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x105c
call fcn.004a1410
mov eax, dword [0x4f6cdc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x3fe
mov esi, ecx
push eax
lea ecx, [ebp - 0x1002]
push ecx
mov word [ebp - 0x1004], ax
call fcn.0049eae0
push 0x400
lea edx, [ebp - 0xc04]
push 0
push edx
call fcn.0049eae0
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x402]
push ecx
mov word [ebp - 0x404], ax
call fcn.0049eae0
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0x802]
push eax
mov word [ebp - 0x804], dx
call fcn.0049eae0
push 0x44
lea ecx, [ebp - 0x105c]
push 0
push ecx
call fcn.0049eae0
mov ecx, dword [esi + 0x10a4]
xor eax, eax
add esp, 0x3c
mov dword [ebp - 0x105c], 0x44
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0x1010], eax
mov dword [ebp - 0x100c], eax
mov dword [ebp - 0x1008], eax
call fcn.004100b0
xor edi, edi
mov dword [ebp - 0x1018], eax
test eax, eax
je 0x44b595
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x44b4a0
mov ecx, dword [esi + 0x10a4]
lea edx, [ebp - 0x1004]
push edx
push edi
call fcn.00413cd0
lea eax, [ebp - 0x804]
push eax
mov ecx, esi
call fcn.0044a560
lea ecx, [ebp - 0x804]
push ecx
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.InstallerCommonCustomActions_
lea eax, [ebp - 0x404]
push eax
call ebx
lea ecx, [ebp - 0x1004]
push ecx
lea edx, [ebp - 0x404]
push edx
call ebx
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x105c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0xc04]
push edx
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x44b587
mov ecx, dword [ebp - 0x1014]
push 0xdbba0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x1014]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push 0x44
push eax
lea ecx, [ebp - 0x105c]
push ecx
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0x1010], eax
mov dword [ebp - 0x100c], eax
mov dword [ebp - 0x1008], eax
call fcn.0049eae0
add esp, 0xc
mov dword [ebp - 0x105c], 0x44
inc edi
cmp edi, dword [ebp - 0x1018]
jb 0x44b4a0
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049f71b
mov esp, ebp
pop ebp
ret
Function at 0x44c020
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4f6cdc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0x878]
mov eax, dword [esi + 0x854]
lea ecx, [ebx*4]
mov edx, dword [eax + ecx]
add eax, ecx
mov eax, dword [edx + 4]
push edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
dec dword [esi + 0x878]
mov edi, dword [esi + 0x878]
test edi, edi
jle 0x44c089
jmp 0x44c070
mov ecx, dword [esi + 0x854]
lea eax, [ecx + edi*4]
mov ecx, dword [eax]
call fcn.00447d90
test al, al
je 0x44c089
dec edi
test edi, edi
jg 0x44c070
mov dword [esi + 0x878], edi
test edi, edi
je 0x44c150
mov edx, dword [esi + 0x858]
sub edx, dword [esi + 0x854]
sar edx, 2
cmp edi, edx
jae 0x44c150
mov eax, dword [esi + 0x854]
mov ecx, dword [eax + ebx*4]
lea edi, [ebx*4]
call fcn.00447d90
test al, al
jne 0x44c0d2
mov ecx, dword [0x4fcdc8]
call fcn.00466c80
mov ecx, dword [esi + 0x854]
mov eax, dword [esi + 0x878]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
mov eax, dword [ebp - 0x14]
push eax
call edx
mov ecx, dword [esi + 0x854]
mov eax, dword [esi + 0x878]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
push 0
push 0
call eax
test ebx, ebx
jle 0x44c1b0
mov ecx, dword [esi + 0x858]
sub ecx, dword [esi + 0x854]
sar ecx, 2
cmp ebx, ecx
jae 0x44c1b0
mov esi, dword [esi + 0x854]
mov esi, dword [esi + edi]
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f71b
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00448be0
mov eax, dword [esi + 0x878]
mov dword [esi + 0x1094], 4
mov ecx, dword [esi + 0x858]
sub ecx, dword [esi + 0x854]
sar ecx, 2
cmp eax, ecx
jae 0x44c194
mov edx, dword [esi + 0x854]
cmp dword [edx + eax*4], 0
lea eax, [edx + eax*4]
je 0x44c194
mov eax, dword [eax]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f71b
mov esp, ebp
pop ebp
ret
Function at 0x44ccb0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x4f6cdc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0x18], 0
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x810], eax
je 0x44cd1d
lea edx, [ebp - 0x814]
push edx
lea eax, [ebp - 0x80c]
lea ecx, [ebx + 0x3c]
push eax
mov dword [ebp - 0x814], esi
mov dword [ebp - 0x808], ecx
call fcn.0044c9c0
mov eax, dword [ebp - 0x80c]
cmp eax, dword [ebx + 0x40]
je 0x44cd1d
push eax
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp - 0x808]
call fcn.0044c430
lea ebx, [esi + 0x10a0]
push ebx
lea eax, [esi + 0x404]
push eax
mov edx, edi
push edx
push esi
call fcn.0043ffa0
mov ecx, eax
call fcn.0043bde0
test eax, eax
je 0x44ce46
mov eax, edi
push eax
push esi
lea ecx, [ebp - 0x804]
push str.Text_loading_failed_for_package__s_language__d_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx edi, ax
push ebx
lea eax, [esi + 0x404]
push eax
push edi
push esi
mov dword [ebp - 0x808], edi
call fcn.0043ffa0
mov ecx, eax
call fcn.0043bde0
test eax, eax
je 0x44ce2c
push ebx
lea eax, [esi + 0x404]
push eax
mov edi, 0x809
push edi
push esi
call fcn.0043ffa0
mov ecx, eax
call fcn.0043bde0
test eax, eax
je 0x44ce2c
push ebx
lea eax, [esi + 0x404]
push eax
mov edi, 0x409
push edi
push esi
call fcn.0043ffa0
mov ecx, eax
call fcn.0043bde0
test eax, eax
je 0x44ce2c
mov ecx, dword [esi + 0x18a0]
mov edx, dword [esi + 0x18a4]
sub edx, ecx
sar edx, 2
test edx, edx
je 0x44cdf8
mov edi, dword [ecx]
push ebx
lea eax, [esi + 0x404]
push eax
push edi
push esi
call fcn.0043ffa0
mov ecx, eax
call fcn.0043bde0
test eax, eax
je 0x44ce2c
mov eax, dword [ebp - 0x808]
mov ecx, dword [ebp + 0xc]
push edi
push 0x409
push 0x809
push eax
push ecx
push esi
lea edx, [ebp - 0x404]
push str.Text_load_recovery_failed_also_for_package__s._None_of_languages__d___d___d___d_or__d_could_loaded_n
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
xor edi, edi
jmp 0x44ce46
mov eax, dword [ebp + 0xc]
push eax
push edi
lea ecx, [ebp - 0x404]
push str.Text_load_recovery_succeeded._Using__d_languages_instead_of_selected__d._n
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov edx, dword [ebp - 0x810]
mov eax, dword [ebp + 0x10]
push edx
push eax
push esi
call fcn.0043ffa0
mov ecx, eax
call fcn.00439090
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f71b
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4505e0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10b8
call fcn.004a1410
mov eax, dword [0x4f6cdc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10a4]
test ecx, ecx
je 0x4506e1
call fcn.0040a7e0
test al, al
jne 0x4506e1
mov ecx, dword [esi + 0x10a4]
call fcn.00410070
test eax, eax
je 0x4506e1
mov ecx, dword [esi + 0x10a4]
push edi
xor edi, edi
call fcn.00410070
test eax, eax
je 0x4506e0
mov edi, edi
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x402]
push ecx
mov word [ebp - 0x404], ax
call fcn.0049eae0
mov ecx, dword [esi + 0x10a4]
add esp, 0xc
lea edx, [ebp - 0x10b4]
push edx
push edi
call fcn.004139a0
test al, al
je 0x4506cc
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x10b4]
push ecx
mov ecx, dword [esi + 0x880]
lea edx, [ebp - 0x1066]
push edx
call fcn.00404b40
test al, al
je 0x4506cc
lea eax, [ebp - 0x404]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4506a2
sub eax, edx
sar eax, 1
je 0x4506cc
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x404]
push ecx
mov ecx, dword [esi + 0x10a4]
call fcn.0040ba00
mov ecx, dword [esi + 0x10a4]
inc edi
call fcn.00410070
cmp edi, eax
jb 0x450640
pop edi
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0x802]
push eax
mov word [ebp - 0x804], dx
call fcn.0049eae0
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0xc02]
push edx
mov word [ebp - 0xc04], cx
call fcn.0049eae0
add esp, 0x18
lea eax, [ebp - 0xc04]
push eax
mov ecx, esi
call fcn.0044e3b0
lea ecx, [ebp - 0x804]
push ecx
push 0x4ea0
call fcn.0043ffa0
mov ecx, eax
call fcn.004389d0
push 4
lea edx, [ebp - 0x804]
push edx
mov ecx, esi
call fcn.0044ec90
pop esi
cmp eax, 6
jne 0x450824
lea eax, [ebp - 0x10b8]
push eax
push 0x28
mov dword [ebp - 0x10b8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x450824
lea ecx, [ebp - 0xc10]
push ecx
push str.SeShutdownPrivilege
push 0
mov dword [ebp - 0xc14], 1
mov dword [ebp - 0xc08], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x450809
mov eax, dword [ebp - 0x10b8]
push 0
push 0
push 0
lea edx, [ebp - 0xc14]
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4507f4
push 0x30002
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x450824
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Reboot_init_failed__ec___d
lea ecx, [ebp - 0x404]
push ecx
jmp 0x45081c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AdjustTokenPrivileges_failed__ec___d
lea edx, [ebp - 0x404]
push edx
jmp 0x45081c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LookupPrivilegeValue_failed__ec___d
lea eax, [ebp - 0x404]
push eax
call fcn.00433950
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.0049f71b
mov esp, ebp
pop ebp
ret