joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430f92
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x4c403c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0xc]
push str.RtlGetVersion
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x10]
push str.ntdll.dll
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x128], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 9
mov dword [ebp - 0x124], eax
lea edi, [ebp - 0x158]
pop eax
mov ecx, eax
xor ebx, ebx
xor eax, eax
push 0x118
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.0046d670
mov eax, dword [ebp - 0x124]
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
test eax, eax
je 0x431030
lea ecx, [ebp - 0x120]
push ecx
call eax
test eax, eax
jns 0x431045
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4311d2
test esi, esi
je 0x43105a
mov edi, dword [ebp - 0x128]
lea esi, [ebp - 0x120]
push 0x47
pop ecx
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx esi, word [ebp - 0xc]
xor ecx, ecx
cmp dword [ebp - 0x140], 0x21d8
push 2
sete cl
pop edx
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x110], edx
jne 0x431178
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jne 0x4310b7
cmp dword [ebp - 0x118], ebx
jne 0x4311ab
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0x11
jmp 0x4311ab
cmp eax, 6
jne 0x43111d
mov eax, dword [ebp - 0x118]
cmp eax, 3
jne 0x4310d8
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0xf
jmp 0x4311ab
cmp eax, edx
jne 0x4310ed
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0xd
jmp 0x4311ab
cmp eax, 1
jne 0x431102
xor ebx, ebx
cmp byte [ebp - 6], al
setne bl
add ebx, 0xb
jmp 0x4311ab
test eax, eax
jne 0x4311ab
xor ebx, ebx
cmp byte [ebp - 6], 1
push 9
setne bl
pop eax
add ebx, eax
jmp 0x4311ab
cmp eax, 5
jne 0x43116e
mov eax, dword [ebp - 0x118]
cmp eax, edx
jne 0x43115d
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x43113c
push 8
jmp 0x431154
cmp byte [ebp - 6], 1
jne 0x431152
push 9
pop eax
cmp word [ebp - 0x158], ax
jne 0x431152
push 6
jmp 0x431154
push 7
mov ecx, dword [ebp - 0x124]
pop ebx
jmp 0x4311ab
cmp eax, 1
jne 0x431166
push 6
jmp 0x431175
test eax, eax
jne 0x4311ab
push 5
jmp 0x431175
cmp eax, 4
ja 0x4311ab
push 4
pop ebx
jmp 0x4311ab
cmp dword [ebp - 0x110], 1
jne 0x4311ab
cmp dword [ebp - 0x11c], 4
jne 0x4311ab
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x431199
xor ebx, ebx
inc ebx
jmp 0x4311ab
cmp eax, 0xa
jne 0x4311a2
mov ebx, edx
jmp 0x4311ab
push 3
cmp eax, 0x5a
pop edx
cmove ebx, edx
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x4311b7
mov dword [eax], ebx
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x4311c3
mov dword [eax], esi
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x4311cf
mov dword [eax], ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a342
leave
ret
Function at 0x4311e1
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c403c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x431239
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb eax, eax
and dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
pop ebx
je 0x431249
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046a342
leave
ret

Function at 0x431258
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x494f7c
call fcn.0046af26
push 0x110
xor esi, esi
lea eax, [ebp - 0x120]
push esi
push eax
call fcn.0046d670
add esp, 0xc
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x130], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x431365
cmp dword [ebp - 0x120], 5
jbe 0x431365
push 0x20119
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x138]
call fcn.00428829
test eax, eax
jne 0x431365
cmp dword [ebp - 0x120], 6
jb 0x431342
jne 0x4312fd
cmp dword [ebp - 0x11c], 2
jb 0x431342
lea eax, [ebp - 0x128]
push eax
push str.ConsentPromptBehaviorAdmin
lea ecx, [ebp - 0x138]
call fcn.0042889d
lea eax, [ebp - 0x12c]
push eax
push str.PromptOnSecureDesktop
lea ecx, [ebp - 0x138]
call fcn.0042889d
cmp dword [ebp - 0x128], 0
jne 0x43133d
cmp dword [ebp - 0x12c], 0
je 0x431365
xor esi, esi
inc esi
jmp 0x431365
lea eax, [ebp - 0x128]
push eax
push str.EnableLUA
lea ecx, [ebp - 0x138]
call fcn.0042889d
xor eax, eax
cmp eax, dword [ebp - 0x128]
sbb esi, esi
neg esi
lea ecx, [ebp - 0x138]
call fcn.0042887e
mov eax, esi
call fcn.0046aed0
ret
Function at 0x432685
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4c403c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
push 4
pop eax
test edi, edi
mov dword [ebp - 0x18], edi
lea ebx, [edi - 0x380]
cmove ebx, eax
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x432758
push esi
push dword [edi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x432757
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x43274c
push dword [ebx]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x43274c
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43274c
lea eax, [ebp - 0x14]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea esi, [edi + 0x350]
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
push ecx
mov ecx, dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
lea ecx, [ecx + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
lea esi, [ebp - 0x14]
sub dword [ebp - 0x14], eax
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 8], eax
lea eax, [ebp - 0x28]
cmp dword [ebp + 8], 0
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x432743
call fcn.004327fc
jmp 0x432757
push dword [ebx]
call fcn.004327a4
jmp 0x432757
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0046a342
leave
ret 4

Function at 0x432822
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
setne al
pop ebp
ret 4

Function at 0x4328b5
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x4c403c]
xor eax, ebp
mov dword [ebp - 4], eax
test cl, cl
mov edx, 0x4011
mov eax, 0x4110
cmovne eax, edx
push eax
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0x90
push 0x4a4398
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046a342
leave
ret

Function at 0x4333f9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [ebp + 8]
shr eax, 0xf
and al, 1
movzx ecx, word [edx + 0xc]
mov edx, ecx
cmp edx, 8
je 0x43343e
cmp edx, 0x52
je 0x43342d
cmp ecx, 0x76
jne 0x43343a
mov ecx, esi
call fcn.00433e49
jmp 0x433445
test al, al
je 0x43343a
mov ecx, esi
call fcn.00433cc5
jmp 0x433445
xor al, al
jmp 0x433447
mov ecx, esi
call fcn.00433d4f
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x4350dd
Capabilities:
Create process on windows

Disassembly:
push 0x8c
mov eax, 0x494550
call fcn.0046af26
mov esi, ecx
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
and dword [ebp - 4], 0
mov ecx, eax
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
lea ecx, [ebp - 0x98]
call fcn.004231e1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
cmp dword [ebp - 0x98], 0
je 0x4351aa
push str.btn_ok
lea ecx, [ebp - 0x98]
call fcn.00429f77
test eax, eax
je 0x43515c
push str.btn_cancel
lea ecx, [ebp - 0x98]
call fcn.00429f77
test eax, eax
jne 0x43516d
xor edi, edi
push edi
push edi
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4351aa
push str.btn_qqgroup
lea ecx, [ebp - 0x98]
call fcn.00429f77
test eax, eax
jne 0x4351aa
mov ecx, dword [edi + 0x108]
xor edi, edi
push 1
push edi
push edi
mov eax, dword [ecx]
call dword [eax + 0xbc]
mov ecx, eax
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x98]
lea ecx, [ecx - 0x10]
call fcn.0042376a
call fcn.0046aed0
ret 4
Function at 0x4387c5
Capabilities:
Accept command line arguments

Disassembly:
push 0x14
mov eax, 0x4959b5
call fcn.0046aef2
push 0x66
pop edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.004231e1
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push str._startby_d
call fcn.004231e1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00427ecc
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
test ecx, ecx
je 0x438836
cmp dword [eax - 0xc], 0
jl 0x438836
push ecx
push eax
call fcn.0046c6e3
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x10]
test ecx, ecx
jne 0x43883b
or ecx, 0xffffffff
jmp 0x43883f
sub ecx, eax
sar ecx, 1
mov eax, dword [eax - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00439d29
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10]
call fcn.00428135
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0042376a
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0042376a
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00439ddd
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
test eax, eax
cmove esi, edi
add ecx, 0xfffffff0
mov dword [ebp - 0x18], esi
call fcn.0042376a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042376a
mov eax, esi
call fcn.0046aebb
ret

Function at 0x438beb
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x495a88
call fcn.0046aef2
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x1c], edi
call fcn.004236c6
push eax
lea ecx, [ebp - 0x10]
call fcn.0042341c
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.004263ce
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x438cd1
mov byte [ebp - 4], 2
call fcn.004236c6
push eax
lea ecx, [ebp - 0x18]
call fcn.0042341c
push esi
push str._startby
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push 0x4a60d0
push eax
call fcn.00428614
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push esi
push dword [ebp + 8]
push str._s__s
push eax
call fcn.00428614
add esp, 0x20
mov byte [ebp - 4], 1
lea ecx, [esi - 0x10]
call fcn.0042376a
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.0046d670
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x54], 0x40
mov dword [ebp - 0x4c], str.open
mov dword [ebp - 0x44], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x438cc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x438cd4
push dword [ebp - 0x20]
xor edi, edi
inc edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x438cd4
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042376a
lea ecx, [esi - 0x10]
call fcn.0042376a
mov eax, edi
call fcn.0046aebb
ret
Function at 0x438f95
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x2c
mov eax, 0x495abb
call fcn.0046aef2
mov ebx, dword [0x4c8ac4]
lea eax, [ebp - 0xd]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00460f0b
cmp byte [0x4c919c], 0
je 0x438fdf
mov eax, dword [ebp - 0x1c]
mov dword [0x4c9074], eax
mov eax, dword [ebp - 0x24]
cmp eax, 1
jb 0x438fd2
cmp eax, 2
jbe 0x438fd5
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x20]
cmp ecx, 2
jb 0x438fe4
jmp 0x438fe2
xor eax, eax
inc eax
xor ecx, ecx
push ebx
mov dword [0x4c8ba0], eax
mov dword [0x4c8ba4], ecx
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE____]
mov dword [esp], 0x4a8074
push 0xa0
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x439050
push edi
call dword [sym.imp.DuiLib.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x439049
push edi
call dword [sym.imp.DuiLib.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x439049
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int_]
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, ebx
call fcn.004612de
push 0x3f8
call fcn.0046a4f4
pop ecx
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0043f60a
or dword [ebp - 4], 0xffffffff
mov edi, eax
test edi, edi
je 0x4390ef
push 0x4a5ad0
lea ecx, [ebp - 0x14]
mov dword [edi + 0x3b0], 0x4397aa
call fcn.004231e1
push ebx
push 0x23c
push 0x320
push ebx
push ebx
push ebx
push 0xcf0000
mov dword [ebp - 4], 1
mov ecx, edi
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042376a
push ecx
mov ecx, edi
mov dword [0x4c8fa0], edi
call fcn.0043fcf1
push 5
mov ecx, edi
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::MessageLoop_void_]
xor eax, eax
inc eax
call fcn.0046aebb
ret
Function at 0x4390f5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c403c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43915d
cmp dword [ebp - 0x108], 2
jne 0x43915d
cmp dword [ebp - 0x114], 5
jb 0x43915d
ja 0x439140
cmp dword [ebp - 0x110], 1
jbe 0x43915d
call fcn.0040912e
call fcn.0045cfc0
test al, al
je 0x43915d
mov ecx, str.SeLockMemoryPrivilege
call fcn.00407df6
mov byte [0x4c8971], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046a342
leave
ret

Function at 0x439169
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c403c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov byte [0x4c8972], 0
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4391cb
cmp dword [ebp - 0x108], 2
jne 0x4391cb
cmp dword [ebp - 0x114], 6
jb 0x4391cb
mov ecx, str.SeRestorePrivilege
mov byte [0x4c8972], 1
call fcn.00407df6
mov ecx, str.SeCreateSymbolicLinkPrivilege
call fcn.00407df6
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046a342
leave
ret
Function at 0x43924b
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push 0x14c
mov eax, 0x495b40
call fcn.0046af26
xor edi, edi
push edi
push edi
push edi
push 0x438e91
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x4c8ad0
call fcn.004095c2
mov byte [0x4c8973], al
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43945e
cmp dword [ebp - 0x114], 2
jne 0x43945e
call fcn.0043e067
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call fcn.00438cef
cmp eax, 0x40047
mov dword [0x4c8acc], eax
push str.IsWow64Process
sbb al, al
inc al
push str.kernel32.dll
mov byte [0x4c4b80], al
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4392fe
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov ecx, 0xc8
call fcn.00404298
push edi
call dword [sym.imp.ole32.dll_OleInitialize]
lea ecx, [ebp - 0x148]
call fcn.00402a89
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], edi
call fcn.00402a89
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x130]
call fcn.00402ad0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x130]
call fcn.0045e0fc
mov byte [ebp - 4], 1
push dword [ebp - 0x130]
call fcn.0046a358
pop ecx
pop ecx
lea ecx, [ebp - 0x148]
call fcn.00401ab6
lea ecx, [ebp - 0x13c]
call fcn.00402a89
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 3
call fcn.00402a89
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x13c]
lea ecx, [ebp - 0x148]
call fcn.0045e0fc
pop ecx
lea ecx, [ebp - 0x13c]
call fcn.00401ab6
lea ecx, [ebp - 0x130]
call fcn.00401ab6
mov esi, dword [ebp - 0x130]
mov edx, 0x4a80f4
mov ecx, esi
call fcn.00402475
test al, al
je 0x4393e7
lea eax, [esi + 4]
mov ecx, 0x4c8b8c
push eax
call fcn.00402bcc
cmp dword [ebp - 0x138], 0
je 0x439401
lea eax, [ebp - 0x13c]
mov ecx, 0x4c8b80
push eax
call fcn.00402c3b
call fcn.004390f5
call fcn.00439169
mov edx, 0x4c8fb4
mov ecx, 0xbba
call fcn.0043e22b
call fcn.00438f95
call fcn.0040c9cb
mov dword [0x4c8ac8], edi
call dword [sym.imp.ole32.dll_OleUninitialize]
push esi
call fcn.0046a358
push dword [ebp - 0x13c]
call fcn.0046a358
push dword [ebp - 0x158]
call fcn.0046a358
push dword [ebp - 0x148]
call fcn.0046a358
add esp, 0x10
xor eax, eax
jmp 0x43946b
mov ecx, str.Unsupported_Windows_version
call fcn.00439218
xor eax, eax
inc eax
call fcn.0046aed0
ret
Function at 0x43e371
Capabilities:
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0x496209
call fcn.0046aef2
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
cmp si, cx
jne 0x43e4aa
mov eax, ecx
xor ebx, ebx
shr cx, 0xa
and eax, 0x3ff
movzx esi, cx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ecx, eax
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x20]
call fcn.0043e279
lea ecx, [ebp - 0x38]
call fcn.0043e02a
mov ecx, esi
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
xor eax, eax
test ebx, ebx
cmove eax, ecx
cmp eax, esi
jae 0x43e433
mov eax, dword [edi + eax*4]
mov dword [ebp - 0x10], eax
cmp dword [eax + 4], 0
je 0x43e433
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402b57
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
push dword [eax]
call fcn.00402e87
push str..txt
lea ecx, [ebp - 0x2c]
call fcn.00402e87
push ecx
push dword [ebp - 0x2c]
call fcn.0040207b
test al, al
jne 0x43e443
mov byte [ebp - 4], 1
push dword [ebp - 0x2c]
call fcn.0046a358
pop ecx
mov ecx, dword [ebp - 0x14]
inc ebx
cmp ebx, 2
jb 0x43e3d5
push dword [ebp - 0x38]
call fcn.0046a358
jmp 0x43e49e
mov eax, dword [ebp - 0x10]
mov ecx, 0x4c8fe4
push dword [eax]
call fcn.00402d61
push dword [ebp - 0x2c]
call fcn.0046a358
pop ecx
push dword [ebp - 0x38]
call fcn.0046a358
jmp 0x43e47e
dec esi
mov ebx, dword [edi + esi*4]
test ebx, ebx
je 0x43e47f
push dword [ebx]
call fcn.0046a358
pop ecx
push 0xc
push ebx
call fcn.0046a469
pop ecx
pop ecx
test esi, esi
jne 0x43e465
jmp 0x43e4a3
dec esi
mov ebx, dword [edi + esi*4]
test ebx, ebx
je 0x43e49f
push dword [ebx]
call fcn.0046a358
pop ecx
push 0xc
push ebx
call fcn.0046a469
pop ecx
pop ecx
test esi, esi
jne 0x43e485
push edi
call fcn.0046a358
pop ecx
call fcn.0046aebb
ret
Function at 0x43f50a
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x495a88
call fcn.0046aef2
xor edi, edi
mov dword [ebp - 0x1c], edi
call fcn.004236c6
push eax
lea ecx, [ebp - 0x10]
call fcn.0042341c
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.0043f472
pop ecx
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43f5ec
mov byte [ebp - 4], 2
call fcn.004236c6
push eax
lea ecx, [ebp - 0x18]
call fcn.0042341c
push ebx
push str._startby
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
push 0x4a60d0
push eax
call fcn.00428614
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push esi
push str._update
push str._s__s
push eax
call fcn.00428614
add esp, 0x20
mov byte [ebp - 4], bl
lea ecx, [esi - 0x10]
call fcn.0042376a
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.0046d670
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x54], 0x40
mov dword [ebp - 0x4c], str.open
mov dword [ebp - 0x44], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x43f5df
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43f5ef
push dword [ebp - 0x20]
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43f5ef
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042376a
lea ecx, [esi - 0x10]
call fcn.0042376a
mov eax, edi
call fcn.0046aebb
ret