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

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x4e24e0]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x444091
cmp dword [esp + 0x2f8], 0
je 0x444091
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0044b7d0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x4a9dac
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x444058
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x44404b
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x444019
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44400e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0044b7d0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00443d80
add esp, 0x14
test eax, eax
je 0x44400e
cmp byte [esp + 0x24], 0
je 0x443fd2
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x44400e
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x444001
mov cl, byte [esi + eax]
test cl, cl
je 0x444001
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x443fe6
jmp 0x444005
test edx, edx
jne 0x444006
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x443f30
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x444091
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.0040e920
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0044557a
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0044557a
add esp, 0x2ec
ret

Function at 0x44557a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e24e0]
jne 0x445584
repz ret
jmp fcn.0044e1ab
Function at 0x46e510
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x4ebbc8]
add esi, 0x10
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4ea880]
lea ecx, [esp + 0xc]
call fcn.0041a3c0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x46e55c
lea eax, [ebx + 0x50]
mov dword [esp + 0xc], eax
jmp 0x46e564
mov dword [esp + 0xc], 0
lea esi, [edi + 4]
lea edx, [esp + 0xc]
call int.0041a2a0
mov ecx, dword [ebx + 0x1d4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46e58e
mov edx, dword [ebx + 0x1d4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x1a0]
test eax, eax
je 0x46e5c3
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x804
push eax
call esi
mov eax, dword [ebx + 0x1a0]
push 0
push 0
push 0x10
push eax
call esi
mov dword [ebx + 0x1a0], 0
mov ecx, dword [ebx + 0x19c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add ebx, 0x54
push ebx
call fcn.004773e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46f490
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x30]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x30]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call edi
mov edx, dword [esi + 0x30]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [esi + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esi + 0x30]
push 1
push ecx
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov edx, dword [esi + 0x30]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push edx
call edi
mov esi, dword [esi + 0x30]
call fcn.0048a3b0
test eax, eax
jne 0x46f4fd
mov ecx, esi
call fcn.0048a2d0
pop edi
xor eax, eax
pop esi
ret

Function at 0x46fac0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fffc
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x4e24e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.00411220
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x14]
push str._tab
push edx
call dword [0x4a93dc]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.00411220
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jle 0x46fba0
push 0x3d
push ecx
call fcn.00449e02
add esp, 8
cmp eax, ebx
je 0x46fba0
sub eax, dword [ebp - 0x10]
sar eax, 1
cmp eax, 0xffffffff
jle 0x46fba0
lea ecx, [eax + 1]
lea esi, [ebp - 0x18]
lea edx, [ebp - 0x10]
call fcn.0040d7c0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x18]
push 0x4af40c
push esi
call fcn.004479b4
add esp, 8
cmp eax, ebx
je 0x46fc06
push 0x4af414
push esi
call fcn.004479b4
add esp, 8
cmp eax, ebx
je 0x46fc06
push 0x4af41c
push esi
call fcn.004479b4
add esp, 8
cmp eax, ebx
je 0x46fc06
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00402430
push edi
mov ecx, 0x4af424
call fcn.00411220
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fbcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fbf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add esi, 0xfffffff0
mov eax, esi
call fcn.004115b0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x46fbab
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x46fbab
Function at 0x46ff30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a138a
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4e24e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.0041a410
xor ebx, ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0x4c], vtable.WTL::CMessageFilter.0
mov dword [edi + 0x50], vtable.IFontIconCBSimpleImpl_class_CMainDlg_.0
lea esi, [edi + 0x58]
mov dword [edi], vtable.CMainDlg.0
mov dword [edi + 0x2c], vtable.CMainDlg.1.0
mov dword [edi + 0x4c], vtable.CMainDlg.2.0
mov dword [edi + 0x50], vtable.CMainDlg.3.0
mov dword [edi + 0x54], ebx
call fcn.0042ee40
mov ecx, dword [0x4ebbc8]
mov dword [esi], vtable.ATL::CComObject_class_C360BrowserView_.0
mov dword [esi + 0x24], vtable.ATL::CComObject_class_C360BrowserView_.1.0
mov dword [esi + 0x50], vtable.ATL::CComObject_class_C360BrowserView_.2.0
mov dword [esi + 0x68], vtable.ATL::CComObject_class_C360BrowserView_.3.0
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [edi + 0xcc], ebx
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xd8], ebx
mov byte [ebp - 4], 5
mov dword [edi + 0xdc], ebx
mov dword [edi + 0xe0], ebx
mov dword [edi + 0xe4], ebx
mov eax, dword [0x4e768c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e768c
call edx
add eax, 0x10
mov dword [edi + 0xe8], eax
lea eax, [edi + 0xf0]
mov byte [ebp - 4], 6
push eax
mov dword [edi + 0xec], ebx
call fcn.00499170
mov dword [edi + 0x170], ebx
mov dword [edi + 0x174], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x475270
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4e24e0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044b7d0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0044557a
mov esp, ebp
pop ebp
ret
Function at 0x475c60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a02bb
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4e24e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [0x4e768c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e768c
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.0044b7d0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x475d7c
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x475cf0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004114a0
push 0x208
lea edx, [ebp - 0x218]
push 0
push edx
call fcn.0044b7d0
mov ecx, dword [ebp - 0x21c]
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0x4b0bd0
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x475d7c
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x475d51
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.004114a0
lea eax, [ebp - 0x21c]
jmp 0x475daa
mov edx, dword [0x4e768c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e768c
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
mov ebx, 1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], ebx
mov eax, dword [eax]
sub eax, 0x10
call fcn.004115b0
add eax, 0x10
or ebx, 2
mov dword [edi], eax
mov dword [ebp - 4], 0
test bl, 1
je 0x475dea
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475dea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475e13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret
Function at 0x47c9e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x47c9f3
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push esi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x47ca71
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x47ca63
mov eax, dword [ebp + 0x10]
push 0x4e777e
push esi
mov dword [eax], esi
call fcn.00446936
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ecx], eax
test eax, eax
je 0x47ca63
push 0
lea edx, [ebp - 4]
push edx
push esi
push eax
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47ca63
cmp dword [ebp - 4], esi
jne 0x47ca63
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x47ca84
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push esi
call fcn.0047c880
add esp, 0xc
mov bl, al
pop edi
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x483b90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a19d6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4e24e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.0041a410
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], eax
mov dword [ebp - 4], edi
mov dword [esi + 0x50], vtable.CTransparentWnd_class_CFloatButton_.0
mov dword [esi + 0x54], edi
mov byte [esi + 0x5c], 0xff
mov dword [esi + 0x60], edi
mov dword [esi + 0x58], edi
lea ebx, [esi + 0x64]
push ebx
mov byte [ebp - 4], 1
call fcn.00477d60
mov dword [esi + method.IFontIconCBImpl_class_CFloatButton_.virtual_0], vtable.IFontIconCBImpl_class_CFloatButton_.0
mov dword [esi], vtable.CFloatButton.0
mov dword [esi + 0x2c], vtable.CFloatButton.1.0
mov dword [esi + 0x50], vtable.CFloatButton.2.0
mov dword [ebx], vtable.CFloatButton.3.0
mov dword [esi + method.IFontIconCBImpl_class_CFloatButton_.virtual_0], vtable.CFloatButton.4.0
mov dword [esi + 0x1a0], edi
lea ecx, [esi + 0x1a4]
push ecx
mov ecx, str.360InternationSafe_floatbutton.xml
mov byte [ebp - 4], 3
call fcn.0040ea50
mov dword [esi + 0x1a8], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48a2d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4e24e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xff
lea eax, [ebp - 0x103]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x104], 0
call fcn.0044b7d0
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
xor esi, esi
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov ebx, dword [sym.imp.USER32.dll_keybd_event]
test eax, eax
je 0x48a334
test byte [ebp - 0xf2], 0x80
jne 0x48a334
push esi
push 1
push esi
push 0x12
call ebx
mov esi, 1
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, eax
test esi, esi
je 0x48a34b
push 0
push 3
push 0
push 0x12
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044557a
mov esp, ebp
pop ebp
ret

Function at 0x48a3b0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
test eax, eax
jne 0x48a3cb
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
jne 0x48a3e5
mov eax, 1
mov esp, ebp
pop ebp
ret
push ebx
push edi
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
cmp edi, ebx
je 0x48a4ba
push 1
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x48a43a
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
push edx
call fcn.0048a360
add esp, 4
test eax, eax
je 0x48a4a0
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x48a480
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
test eax, eax
je 0x48a487
push esi
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push edi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48dc10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x4e24e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov bl, al
shr eax, 3
mov dword [ebp - 0x224], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x230], edx
mov edx, dword [ebp + 0x18]
and al, 1
and bl, 1
push esi
mov esi, dword [ebp + 0xc]
mov dword [edx], 0
mov dword [ebp - 0x228], edx
mov dword [edi], 0
mov byte [ebp - 0x21d], al
test ecx, ecx
jne 0x48dc7b
mov dword [edi], 1
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret
push 0
push ecx
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x48dd13
mov ecx, dword [ebp - 0x224]
cmp eax, dword [ecx]
je 0x48dcb8
mov edx, dword [ebp - 0x228]
push esi
push eax
mov ecx, edi
call fcn.0048d9e0
add esp, 8
test al, al
je 0x48dd13
mov eax, dword [ebp - 0x22c]
cmp byte [ebp - 0x21d], 0
mov edx, dword [ebp - 0x224]
mov dword [edx], eax
je 0x48dcfe
lea ecx, [ebp - 0x224]
push ecx
push 0x1f4
push 0
push 0
push 0
push 0x482
push eax
mov dword [ebp - 0x224], 0
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp dword [ebp - 0x224], 1
jne 0x48dc69
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret
test bl, bl
je 0x48dc69
test esi, esi
je 0x48dc69
xor ebx, ebx
call fcn.0049e4c0
cmp al, 1
jne 0x48de35
push 0x208
lea eax, [ebp - 0x21a]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x21c], dx
call fcn.0044b7d0
mov eax, dword [ebp - 0x230]
add esp, 0xc
cmp eax, ebx
je 0x48dd6f
push eax
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call fcn.00447b75
add esp, 0xc
push 0x40
lea edx, [ebp - 0x288]
push ebx
push edx
call fcn.0044b7d0
add esp, 0xc
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x28c]
push edx
push ebx
push ebx
xor eax, eax
push ebx
push ebx
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov ax, word [ebp + 0x14]
push ebx
mov word [ebp - 0x25c], ax
push ebx
lea eax, [ebp - 0x21c]
push eax
push esi
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x28c], 0x44
mov dword [ebp - 0x260], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x48de06
mov dword [edi], 0x64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x228]
mov dword [ecx], eax
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x23c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov ebx, 2
call esi
mov eax, dword [ebp - 0x240]
push eax
call esi
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret
push esi
call dword [0x4a93e0]
test eax, eax
jne 0x48de66
mov dword [edi], 0x68
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x228]
mov dword [ecx], eax
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop esi
mov eax, ebx
xor ecx, ebp
mov dword [edi], 2
pop ebx
call fcn.0044557a
mov esp, ebp
pop ebp
ret
Function at 0x48eb90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4e24e0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044b7d0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x48ebe6
mov eax, 1
cmp dword [ebp - 0x110], eax
je 0x48ebe8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret

Function at 0x48ec00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4e24e0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0044b7d0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x48ec57
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret
push 0x4be220
lea eax, [ebp - 0x20c]
push eax
call dword [0x4a93c8]
test eax, eax
je 0x48ec47
push 0x4be234
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret

Function at 0x48f1d0
Capabilities:
Terminate process

Disassembly:
cmp eax, 0xffffffff
jne 0x48f1d8
xor al, al
ret
push esi
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, 0xffffffff
je 0x48f20d
test esi, esi
je 0x48f20d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
test eax, eax
je 0x48f207
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
ret