joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465318
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x532be4]
cmp dword [eax + 0x30], 0
je 0x4653c2
cmp dword [ebx + 0x94], 0
jne 0x4653bc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4652a8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4653bc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x465382
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4653bc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004198dc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x465391
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x465f20
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x465f55
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404870
jmp 0x465f62
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047d4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46712c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46716d
mov eax, esi
call fcn.0044ce88
test al, al
je 0x46716d
mov eax, dword [ebx + 0x84]
call fcn.0044cb84
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46716d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044cb84
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46b634
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46b662
mov eax, ebx
call fcn.0046c0e8
cmp dword [ebx + 0x40], 0
je 0x46b65b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46b6d3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46b6c5
cmp dword [ebx + 8], 0
je 0x46b684
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46b696
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46b6c5
cmp dword [ebx + 8], 0
je 0x46b677
cmp eax, 3
je 0x46b6a9
dec eax
jne 0x46b677
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46b677
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46b677
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46b6f1
cmp dword [ebx + 0x14], 0xcc
je 0x46b6f1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046b6fc
pop ebx
ret
Function at 0x481f00
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4166f8]
call fcn.0040513c
xor eax, eax
push ebp
push 0x482044
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5305e0], 0
jne 0x481f53
mov ecx, dword [0x531210]
mov dl, 1
mov eax, dword [0x407f2c]
call fcn.0040cee0
call fcn.00404110
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403358
mov eax, ebx
call fcn.00404fe8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x482054
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004063c8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404ff8
test eax, eax
jle 0x481feb
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x481fe4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404a08
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004049f0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408e10
test eax, eax
jne 0x481fe4
mov ebx, 0x15
jmp 0x481ff0
mov ebx, 0x10
jmp 0x481ff0
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5305e0]
call fcn.00481e58
mov eax, dword [ebp - 8]
call fcn.00481e58
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004063e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48204b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004047a4
lea eax, [ebp - 0x10]
mov edx, dword [0x4166f8]
call fcn.0040520c
ret

Function at 0x482f80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x482ff1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x530618]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x482fdb
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00482f70
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x482d48]
call fcn.00483018
mov dword [0x53067c], eax
mov eax, dword [ebp - 4]
call fcn.00482f20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482ff8
lea eax, [ebp - 8]
call fcn.004063c8
ret
Function at 0x4831d0
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffea0
push 0x4001
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x48325c
call sub.shell32.dll_SHGetFileInfoA
mov dword [0x530610], eax
cmp dword [0x530610], 0
je 0x483252
cmp dword [0x530614], 0
jne 0x483252
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47ffb4]
call fcn.004805d8
mov dword [0x530614], eax
mov edx, dword [0x530610]
mov eax, dword [0x530614]
call fcn.0045346c
mov eax, dword [0x530614]
mov byte [eax + 0x42], 1
mov dl, 1
mov eax, dword [0x530614]
call fcn.00481090
push 0xffffffffffffffff
mov eax, dword [0x530614]
call fcn.004534a8
push eax
call sub.comctl32.dll_ImageList_SetBkColor
add esp, 0x160
ret
Function at 0x49f148
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.0049f134
test eax, eax
jne 0x49f169
mov eax, esi
call fcn.00404780
jmp 0x49f1fa
mov eax, ebx
call fcn.0049f290
test al, al
je 0x49f1af
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.00404870
test edi, edi
je 0x49f1a6
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x49f1fa
mov eax, esi
call fcn.00404780
jmp 0x49f1fa
mov ebp, dword [ebx + 0x70]
test ebp, ebp
je 0x49f1f3
mov eax, dword [ebp + 0x208]
call fcn.0041a634
test eax, eax
jle 0x49f1e1
mov eax, dword [ebx + 0x70]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.00437a38
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.004047d4
jmp 0x49f1fa
mov eax, esi
mov edx, dword [ebx + 0x70]
mov edx, dword [edx + 0x210]
call fcn.004047d4
jmp 0x49f1fa
mov eax, esi
call fcn.00404780
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a0e9c
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.00406bc0
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret

Function at 0x4a3250
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a330a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404e8c
mov eax, dword [0x531a40]
cmp dword [eax], 2
jne 0x4a32bf
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004050d4
mov eax, dword [ebx]
call fcn.00404ff8
push eax
mov eax, dword [ebx]
call fcn.00404fe8
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404ff8
mov edx, eax
dec edx
mov eax, ebx
call fcn.004050d4
jmp 0x4a32f1
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409dc0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404fd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3311
lea eax, [ebp - 0x3f0]
call fcn.00404780
ret
Function at 0x4acb6c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x532eac
test esi, esi
jne 0x4acb86
xor eax, eax
jmp 0x4acc88
cmp dword [ebp], 0
jne 0x4acb91
call fcn.004acafc
xor ebx, 0xffffffff
cmp edi, 8
jb 0x4acc61
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x4acb9d
test edi, edi
jbe 0x4acc83
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x4acc65
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4cc818
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffc4
mov esi, dword [ebp + 8]
add esi, 0xffffffbc
xor eax, eax
push ebp
push 0x4cc9d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042979c
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
call fcn.00458a20
call fcn.004b9840
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x4cc89c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x68]
call fcn.00423df8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042979c
mov eax, dword [eax + 0xc]
pop edx
call fcn.00423e00
mov eax, dword [ebp + 8]
mov dword [eax - 0x50], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423ce0
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.00409c50
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
push 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042979c
call fcn.00424bc4
push eax
call sub.gdi32.dll_GetObjectA
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423d54
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423d90
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423d90
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423d90
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423df8
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectA
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042979c
mov eax, dword [eax + 0xc]
pop edx
call fcn.00423c8c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042979c
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x54]
mov ecx, edx
shl edx, 6
add edx, ecx
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x9c]
mov edx, dword [ecx + edx*4 + 0x74]
call fcn.00423ad0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc9d8
lea eax, [ebp - 4]
call fcn.00404780
ret
Function at 0x4e65a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x4e65c0
mov eax, ebx
call fcn.004e5e54
cmp dword [ebx + 0x68], 0
jne 0x4e65cd
mov eax, ebx
call fcn.004e5dec
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004e5c6c
lea eax, [esp + 0x14]
xor edx, edx
call fcn.004e80ac
cmp eax, dword [esp]
je 0x4e663b
lea eax, [esp + 0x14]
xor edx, edx
call fcn.004e80c0
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x4e6617
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.004e80ac
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x4e6630
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x4e6656
push 3
mov eax, dword [esi + 0x10]
call fcn.0044cb84
push eax
call sub.user32.dll_GetWindow
mov esi, eax
jmp 0x4e6663
push 3
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.00445ad4
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.00445af8
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.00445b20
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.00445b44
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00406bdc
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0044cb84
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0044cb84
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0044cb84
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.0042979c
call fcn.00424bc4
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0044cb84
push eax
mov eax, dword [0x531308]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.0044cb84
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e6980
Capabilities:
Allocate or change rwx memory
Find taskbar
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp], eax
mov eax, dword [esp]
xor ecx, ecx
mov edx, 0x10
call fcn.00403358
lea eax, [esp + 0x38]
push eax
call sub.kernel32.dll_GetSystemInfo
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x4e6b6c
push 0
push 0x4e6b74
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4e6b6c
push 0
push 0x4e6b84
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4e6b6c
push 0
push 0x4e6b94
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4e6b6c
push 0
push 0x4e6ba4
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebp, eax
test ebp, ebp
je 0x4e6b6c
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageA
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x4e6b6c
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push ebp
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x4e6b6c
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x4e6b6c
push 0x40
push 0x1000
push 0x1000
push 0
push edi
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x4e6b6c
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x4e6b58
inc ebx
push esi
push ebx
push 0x417
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x4e6b4e
lea eax, [esp + 0xc]
push eax
push 0x18
lea eax, [esp + 0x1c]
push eax
push esi
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4e6b4e
test byte [esp + 0x1d], 0xd
jne 0x4e6b4e
mov al, byte [esp + 0x1c]
and al, 8
cmp al, 8
je 0x4e6b4e
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push eax
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4e6b4e
cmp dword [esp + 0xc], 0
je 0x4e6b4e
mov eax, dword [0x531784]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
cmp eax, dword [esp + 0x10]
jne 0x4e6b4e
push esi
push ebx
push 0x41d
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x4e6b2a
lea eax, [esp + 0xc]
push eax
push 0x10
mov eax, dword [esp + 8]
push eax
push esi
push edi
call sub.kernel32.dll_ReadProcessMemory
cmp dword [esp + 0xc], 0
je 0x4e6b58
lea eax, [esp + 0x28]
push eax
push ebp
call sub.user32.dll_GetWindowRect
mov eax, dword [esp]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
call fcn.00406c20
jmp 0x4e6b58
cmp ebx, dword [esp + 4]
jl 0x4e6a8e
push 0x8000
push 0
push esi
push edi
call sub.kernel32.dll_VirtualFreeEx
push edi
call sub.kernel32.dll_CloseHandle
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4e84c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [0x531784]
mov eax, dword [eax]
call fcn.00466260
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, esi
jb 0x4e84cf
pop esi
pop ebx
ret
Function at 0x4e8a44
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00409890
test al, al
je 0x4e8acb
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00403358
or esi, 0x100
test esi, esi
jns 0x4e8a7f
call fcn.004038ac
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00404c40
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4e8acb
mov dl, 1
mov eax, dword [0x422c44]
call fcn.0042adc0
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.0042b1cc
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4e8acb
mov eax, esp
call fcn.0040ea6c
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x4f6f8c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4f6fdd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4f6fc4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4f6fb4
jmp 0x4f6fdd
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4f6fc5
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50a290
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1a0], edx
mov esi, eax
xor eax, eax
push ebp
push 0x50a3e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x50a2dc
cmp dword [ebp - 0x8c], 1
je 0x50a2e0
xor ebx, ebx
jmp 0x50a2e2
mov bl, 1
mov dl, 1
mov eax, dword [0x4372e8]
call fcn.004373b8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50a3bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.00437458
test bl, bl
je 0x50a31f
mov edx, 0x50a3f8
mov eax, dword [ebp - 4]
call fcn.004374bc
jmp 0x50a32c
mov edx, 0x50a42c
mov eax, dword [ebp - 4]
call fcn.004374bc
lea ecx, [ebp - 0x1a0]
mov edx, 0x50a464
mov eax, dword [ebp - 4]
call fcn.004376ec
mov edx, dword [ebp - 0x1a0]
lea eax, [esi + 0x1c]
call fcn.004047d4
lea ecx, [ebp - 0x1a4]
mov edx, 0x50a47c
mov eax, dword [ebp - 4]
call fcn.004376ec
mov edx, dword [ebp - 0x1a4]
lea eax, [esi + 0x20]
call fcn.004047d4
mov eax, dword [ebp - 4]
call fcn.00437428
cmp dword [esi + 0x1c], 0
jne 0x50a3a6
mov dword [ebp - 8], 0xff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x19c]
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [esi + 0x1c]
lea edx, [ebp - 0x19c]
mov ecx, pe_nt_image_headers32
call fcn.004049f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a3c3
mov eax, dword [ebp - 4]
call fcn.00403970
ret