joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bda76
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x683746
call fcn.0062921c
sub esp, 0x2c
mov eax, ecx
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 8]
mov dword [eax], 0x6e2f00
mov dword [ecx], 1
xor edx, edx
mov dword [ebp - 0x10], ecx
lea ecx, [eax + 0xc]
mov byte [ecx], dl
mov dword [ebp - 0x14], ecx
lea ecx, [eax + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], edx
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], ecx
jb 0x5bdabf
mov ecx, dword [ecx]
push ebx
push esi
push edi
mov byte [ecx], dl
lea esi, [eax + 0x28]
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 8], edx
lea edi, [eax + 0x34]
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 8], edx
lea ebx, [eax + 0x40]
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
push str.refreshTime
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040a58f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.005bee3a
xor esi, esi
mov byte [ebp - 4], 4
push esi
push 1
lea ecx, [ebp - 0x38]
call fcn.0040abbf
push str.enable
lea ecx, [ebp - 0x38]
call fcn.0040a58f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.005bee3a
push esi
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040abbf
push str.countryList
lea ecx, [ebp - 0x38]
call fcn.0040a58f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 7
push eax
mov ecx, ebx
call fcn.005bee3a
push esi
push 1
lea ecx, [ebp - 0x38]
call fcn.0040abbf
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5bf416
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
lea eax, [ebp - 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
push eax
push esi
lea ecx, [edi + 0x30]
call fcn.0057d79d
mov edx, dword [edi + 0x78]
mov eax, dword [ebp + 8]
mov ebx, dword [edx + eax*4]
movzx eax, si
push eax
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfe
lea ecx, [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push str._A_HREF__s___s__A_
push eax
call fcn.004607f4
mov ecx, eax
add esp, 0x10
cmp dword [ecx + 0x14], 8
jb 0x5bf482
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
xor esi, esi
sub eax, dword [ebp - 0xc]
push esi
push dword [0x79fb18]
push esi
push ebx
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x50010000
push ecx
push 0x691b30
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp + 0x14]
push esi
push 1
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call fcn.0042386b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5c0fd6
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6839af
call fcn.0062921c
push ecx
mov eax, dword [0x7a16d8]
push esi
test eax, eax
je 0x5c0ffc
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [0x7a16d8]
jmp 0x5c103f
push 0x204
call fcn.006291e1
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5c101d
mov ecx, eax
call fcn.005bf198
mov esi, eax
jmp 0x5c101f
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
push 0
push 0x13
call fcn.0057ddf9
push esi
call fcn.005c0292
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0xffffffff
je 0x5c104f
push dword [ebp + 8]
mov ecx, esi
call fcn.005c1992
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x5c5046
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x5c5066
push dword [esp + 8]
call fcn.005c58a8
push 0
mov dword [esi + 0x14], eax
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
Function at 0x5c6580
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x54
mov eax, 0x683c6e
call fcn.0062921c
sub esp, 0x44
call fcn.00596b53
test al, al
je 0x5c66f5
cmp byte [0x7a1790], 0
jne 0x5c66f5
push ebx
push esi
lea eax, [ebp + 0x40]
push eax
call fcn.005c524b
mov eax, dword [ebp + 0x40]
xor ebx, ebx
cmp dword [ebp + 0x54], 8
mov dword [ebp - 4], ebx
jae 0x5c65c7
lea eax, [ebp + 0x40]
push str.BitTorrentAntivirus.exe
push eax
mov esi, 0x68f8c4
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.004607f4
add esp, 0x10
cmp dword [ebp + 0x2c], 8
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 1
jae 0x5c65ef
lea eax, [ebp + 0x18]
push eax
call fcn.00455ae5
test al, al
jne 0x5c662c
cmp dword [ebp + 0x54], 8
mov eax, dword [ebp + 0x40]
jae 0x5c6605
lea eax, [ebp + 0x40]
push str.VirusGuard.exe
push eax
lea eax, [ebp]
push esi
push eax
call fcn.004607f4
add esp, 0x10
lea ecx, [ebp + 0x18]
push eax
call fcn.004232e6
push ebx
push 1
lea ecx, [ebp]
call fcn.0042386b
push edi
xor eax, eax
lea edi, [ebp + 0x30]
stosd dword es:[edi], eax
push 0x44
pop esi
push esi
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
push eax
call fcn.0062e010
mov ecx, dword [ebp + 0x40]
add esp, 0xc
cmp dword [ebp + 0x54], 8
mov dword [ebp - 0x50], esi
jae 0x5c6656
lea ecx, [ebp + 0x40]
cmp dword [ebp + 0x2c], 8
mov eax, dword [ebp + 0x18]
jae 0x5c6662
lea eax, [ebp + 0x18]
lea edx, [ebp + 0x30]
push edx
lea edx, [ebp - 0x50]
push edx
push ecx
push ebx
push 0x4008
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x5c66ce
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [0x764180]
call fcn.0047f44c
mov esi, dword [ebp + 0x30]
mov edi, eax
cmp esi, 0xffffffff
je 0x5c66d1
push 0x1388
push esi
call dword [sym.imp.USER32.dll_WaitForInputIdle]
call fcn.005c50d6
test eax, eax
je 0x5c66ce
cmp dword [edi + 0x80], 0xd
jbe 0x5c66ce
push 0xafc2
push ebx
push 0x406
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp + 0x30]
pop edi
test esi, esi
jne 0x5c66d9
or esi, 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x18]
call fcn.0042386b
push ebx
push 1
lea ecx, [ebp + 0x40]
call fcn.0042386b
mov eax, esi
pop esi
pop ebx
jmp 0x5c66f8
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
lea esp, [ebp + 0x58]
pop ebp
ret
Function at 0x5c8a3e
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x689336
call fcn.0062921c
sub esp, 0x30
push ebx
push esi
push str.http:__
lea ecx, [ebp - 0x24]
call fcn.00424ff1
xor ebx, ebx
push 1
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x5c8ae8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x5c8ae8
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x5c8ae2
push 4
push str.http
push esi
call fcn.0064272f
add esp, 0xc
test eax, eax
je 0x5c8aae
push 4
push str.feed
push esi
call fcn.0064272f
add esp, 0xc
test eax, eax
jne 0x5c8ae2
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5c8ab3
sub ecx, edx
cmp ecx, 0x12c
jae 0x5c8ae2
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.004785a1
push eax
lea ecx, [ebp - 0x24]
call fcn.004232e6
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0042386b
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
sub esp, 0x18
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.00423207
call fcn.005c8942
push ebx
push 1
lea ecx, [ebp - 0x24]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5ca2b2
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x683f9f
call fcn.0062921c
push ecx
mov eax, dword [0x7a18c0]
test eax, eax
je 0x5ca2d1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x5ca310
push esi
push 0xbc
call fcn.006291e1
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5ca2f3
mov ecx, eax
call fcn.005c9350
mov esi, eax
jmp 0x5ca2f5
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
push 0
push 0x25
call fcn.0057ddf9
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5cbec2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
push 0x25
mov edi, ecx
call esi
cwde
push 0x27
mov dword [ebp - 4], eax
call esi
cwde
push 0x26
mov dword [ebp - 8], eax
call esi
cwde
push 0x28
mov dword [ebp - 0xc], eax
call esi
cmp byte [edi + 0x14], 1
movsx ebx, ax
jne 0x5cbf36
test byte [ebp - 4], 1
je 0x5cbf09
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.005cbe79
test byte [ebp - 8], 1
je 0x5cbf1a
push 0
push 1
mov ecx, edi
call fcn.005cbe79
test byte [ebp - 0xc], 1
je 0x5cbf29
push 1
mov ecx, edi
call fcn.005cc294
test bl, 1
jne 0x5cbf32
test ebx, ebx
jns 0x5cbf36
mov byte [edi + 0x15], 0xa
cmp byte [edi + 0x16], 0
jne 0x5cbf50
inc byte [edi + 0x15]
cmp byte [edi + 0x15], 0xa
jb 0x5cbf50
mov ecx, edi
mov byte [edi + 0x15], 0
call fcn.005cbc5f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5cc2d5
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x684000
call fcn.0062921c
push ecx
mov eax, dword [0x7a1900]
test eax, eax
je 0x5cc2f4
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x5cc344
push ebx
push esi
mov ebx, 0x1cc
push ebx
call fcn.006291e1
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x5cc326
push ebx
push 0
push esi
call fcn.0062e010
add esp, 0xc
mov ecx, esi
call fcn.005cb437
mov esi, eax
jmp 0x5cc328
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
push 0
push 0x1e
call fcn.0057ddf9
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5cccaa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
call fcn.0045ecfb
push dword [edi + 4]
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x44]
mov dword [edi + 0x34], edx
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [edi]
mov esi, eax
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push esi
call dword [edx + 0x24]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [edi + 0x108], 0
je 0x5ccd43
push 0x50
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x5ccd1d
mov esi, dword [edi + 4]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
jne 0x5ccd1d
xor byte [edi + 0x126], 1
lea ecx, [edi + 0x110]
call fcn.005cbec2
mov eax, dword [edi + 0x128]
cmp eax, dword [edi + 0x10c]
je 0x5ccd43
mov ecx, edi
mov dword [edi + 0x10c], eax
call fcn.005cc4cf
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5ccdd5
Capabilities:
Hide graphical window

Disassembly:
jmp 0x5ccdda
mov eax, 0x67f62b
call fcn.0062921c
push ecx
mov eax, dword [0x7a1d4c]
test eax, eax
je 0x5ccdf9
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x5cce3e
push 0x30
call fcn.006291e1
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5cce15
mov ecx, eax
call fcn.005ccd60
jmp 0x5cce17
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, eax
push 0
push 0x183
mov dword [0x7a1d4c], eax
call fcn.0057ddf9
mov eax, dword [0x7a1d4c]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5ce18e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
mov byte [ebp - 4], 0
je 0x5ce1b9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x5ce1b5
mov byte [ebp - 4], 1
test al, 0x10
jne 0x5ce1b9
mov byte [ebp - 4], 0
push dword [ebp - 4]
mov ecx, esi
push 0x51d
call fcn.0057de4e
push dword [ebp - 4]
mov ecx, esi
push 0x51e
call fcn.0057de4e
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5ceb13
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6842b8
call fcn.0062921c
push ecx
push esi
push 0xe0
call fcn.006291e1
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5ceb46
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 8]
call fcn.005ce865
mov esi, eax
jmp 0x5ceb48
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
push 0
push 0xfd
call fcn.0057ddf9
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x5cf070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10b8
call section..text
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi + 0xc]
cmp dword [eax + 8], 0xfffffffe
je 0x5cf093
cmp dword [eax + 8], 0xfffffffc
jne 0x5cf0e2
add eax, 0xc
push 0x10b8
push eax
lea eax, [ebp - 0x10b8]
push eax
call fcn.0062bfc0
add esp, 0xc
push 0x5d4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 0xc]
cmp dword [ecx], eax
jne 0x5cf0e2
cmp dword [ebp - 0x10b4], 0
jne 0x5cf0e2
push 5
xor ecx, ecx
lea eax, [ebp - 0x1048]
push ecx
push ecx
push eax
push 0x68f02c
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5d1945
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x210
push ebp
push edi
push dword [esp + 0x21c]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
lea eax, [esp + 8]
push eax
push dword [esp + 0x220]
push edi
call fcn.0057c26d
mov ecx, dword [esp + 0x220]
test ecx, ecx
jne 0x5d1994
push 0xfe
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x224]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x14]
xor ebp, ebp
sub eax, dword [esp + 0xc]
push ebp
push dword [0x79fb18]
push ebp
push edi
push eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x244]
push dword [esp + 0x24]
or eax, 0x50010000
push eax
push ecx
push 0x691b30
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
mov eax, dword [esp + 0x224]
test eax, eax
jne 0x5d19f1
push ebp
push ebp
push 0x31
push dword [esp + 0x228]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push eax
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, edi
pop edi
pop ebp
add esp, 0x210
ret 0x10
Function at 0x5d24ff
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x684671
call fcn.0062921c
mov eax, dword [0x7a21f8]
sub esp, 0x1c
test eax, eax
je 0x5d2523
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x5d25ca
cmp byte [0x7a21d0], 0
jne 0x5d2542
push 0x6e5b24
push 0x7a21d4
call fcn.00465f19
mov byte [0x7a21d0], 1
push 0x2ac
call fcn.006291e1
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5d2561
mov ecx, eax
call fcn.005d128a
jmp 0x5d2563
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, eax
push 0
push 0xf8
mov dword [0x7a21f8], eax
call fcn.0057ddf9
call fcn.0048e151
push eax
push 0x6fa
call fcn.0057b788
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004607f4
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x5d259f
mov eax, dword [eax]
push eax
mov eax, dword [0x7a21f8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0042386b
mov eax, dword [0x7a21f8]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5d2daf
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp dword [eax], ecx
je 0x5d2dcd
push 5
push ecx
push ecx
add eax, 0x7c
push eax
push 0x68f02c
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret 4
Function at 0x5d4464
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x30]
cmp eax, 1
je fcn.005d279e
test eax, eax
jne 0x5d4475
inc eax
push 0
push 3
push eax
mov dword [ecx + 0x30], eax
call fcn.005d449a
ret 4

Function at 0x5d650e
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
push ebx
push ebx
or dword [esi], 0xffffffff
push 3
push ebx
push 3
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5d653b
xor eax, eax
jmp 0x5d656f
push ebx
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
push 0xc
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x2d1080
push edi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x5d6560
mov eax, dword [ebp - 8]
mov dword [esi], eax
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
cmp dword [esi], 0xffffffff
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5d858a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 8]
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x5d85b2
xor al, al
jmp 0x5d868f
push edi
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
test edi, edi
je 0x5d85dc
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x5d85e3
xor al, al
jmp 0x5d868e
push ebp
push edi
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov dword [esi + 0x10], eax
test eax, eax
je 0x5d868b
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
xor ebp, ebp
test eax, eax
je 0x5d867f
push edi
push ebx
push eax
call fcn.0062bfc0
add esp, 0xc
mov dword [esp + 0x1c], ebp
lea eax, [esp + 0x1c]
push eax
push ebp
push dword [esi + 0x10]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x5d8676
push ebp
push dword [esp + 0x20]
call fcn.005d849b
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5d8676
mov eax, dword [ecx + 8]
mov dword [ecx + 8], ebp
mov ecx, dword [esi + 4]
test eax, eax
jne 0x5d8669
call fcn.005a59f2
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
call fcn.005a4ce6
mov dword [esi + 0xc], eax
mov al, 1
jmp 0x5d868d
test ecx, ecx
je 0x5d8673
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], ebp
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov dword [esi + 0x10], ebp
xor al, al
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x5e131a
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x25c
push esi
push 0
push 2
mov dword [esp + 0x3c], 0x22c
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x5e1424
lea eax, [esp + 0x34]
push eax
push esi
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
jne 0x5e1358
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x5e1424
push ebx
mov ebx, dword [esp + 0x26c]
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ebp, ebp
lea eax, [esp + 0x64]
push eax
call fcn.005e12e4
test eax, eax
jne 0x5e13f7
push dword [esp + 0x48]
push eax
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x5e1396
push eax
call edi
jmp 0x5e13f7
push 0x104
lea eax, [esp + 0x68]
push eax
imul eax, ebp, 0x20c
add eax, ebx
push eax
call fcn.00424a07
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push 0x28
push eax
push ebp
call sub.PSAPI.DLL_GetProcessMemoryInfo
test eax, eax
je 0x5e13df
imul ecx, dword [esp + 0x10], 0x20c
mov eax, dword [esp + 0x24]
mov dword [ecx + ebx + 0x208], eax
jmp 0x5e13ef
imul eax, dword [esp + 0x10], 0x20c
and dword [eax + ebx + 0x208], 0
push ebp
call edi
mov ebp, dword [esp + 0x10]
inc ebp
lea eax, [ebp + 1]
imul eax, eax, 0x20c
add eax, ebx
cmp eax, dword [esp + 0x270]
jae 0x5e141e
lea eax, [esp + 0x40]
push eax
push esi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x5e136a
push esi
call edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x25c
ret 8
Function at 0x5e3e57
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x680fcc
call fcn.0062921c
push ecx
push esi
push 0x64
call fcn.006291e1
pop ecx
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 4], esi
test eax, eax
je 0x5e3e86
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 8]
call fcn.005e383e
mov esi, eax
mov eax, dword [esi + 0x30]
mov ecx, esi
or dword [ebp - 4], 0xffffffff
push dword [eax + 4]
push 0xf
call fcn.0057d4b4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x5eef24
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push edi
push dword [esp + 0x14]
mov esi, ecx
mov byte [esp + 0xf], 0
push dword [esp + 0x14]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
jne 0x5eef4f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor al, al
jmp 0x5eefc3
push ebx
push edi
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x5eef64
xor al, al
jmp 0x5eefc2
push ebp
push ebx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebp, eax
test ebp, ebp
je 0x5eefb6
cmp dword [esp + 0x20], 0
push edi
push dword [esi + 0x24]
jne 0x5eef8b
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
jmp 0x5eefb1
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jl 0x5eefb6
push ecx
push ebp
push dword [esp + 0x28]
call fcn.0062bfc0
add esp, 0xc
mov byte [esp + 0x13], 1
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov al, byte [esp + 0x13]
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret 0x10

Function at 0x5ef34e
Capabilities:
Hide graphical window

Disassembly:
push 0x6b0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x5ef3e7
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, ecx
mov eax, dword [edx + 8]
cmp eax, 0x6b0
je 0x5ef45d
cmp eax, 0x6b1
je 0x5ef414
cmp eax, 0x6b3
je 0x5ef414
mov ecx, 0x748
cmp eax, ecx
je 0x5ef438
jbe 0x5ef480
cmp eax, 0x74b
ja 0x5ef480
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x5ef480
cmp dword [ecx + 8], 0x701
jne 0x5ef480
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
mov dword [esi + 0x58], eax
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x10]
mov dword [esi + 0x5c], eax
jmp 0x5ef480
mov eax, dword [edx + 0xc]
test eax, eax
je 0x5ef480
cmp dword [eax + 8], 0xfffffffe
jne 0x5ef480
push 5
xor ecx, ecx
add eax, 0x7c
push ecx
push ecx
push eax
push 0x68f02c
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x5ef480
mov eax, dword [edx + 0xc]
test eax, eax
je 0x5ef480
cmp dword [eax + 8], 0xfffffffe
jne 0x5ef480
xor ecx, ecx
mov dword [esi + 0x54], 2
push ecx
push ecx
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
ret 4