joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45db6c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45dd17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45dcf8
mov dl, 1
mov eax, dword [0x4130c4]
call fcn.00403474
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404278
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45dce7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044b4ac
test al, al
je 0x45dcda
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45dd28
lea eax, [ebp - 0x254]
call fcn.00409548
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45dcda
xor eax, eax
push ebp
push 0x45dcd3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45dd60
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45dcbc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044e8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45dcbc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dcda
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45dbdd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00417508
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dd1e
lea eax, [ebp - 0x260]
call fcn.00404278
ret

Function at 0x45e64c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x502be0]
cmp byte [eax + 0xa5], 0
jne 0x45e6bd
cmp dword [0x502bf8], 0
jne 0x45e67e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45e608
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x502bf8], eax
cmp dword [0x502bf4], 0
jne 0x45e699
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x502bf4], eax
cmp dword [0x502bfc], 0
jne 0x45e6bd
push esp
push 0
push 0
push 0x45e5ac
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x502bfc], eax
pop edx
ret
Function at 0x45e7b4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45e7cb
add esp, 0xfffffff0
call fcn.004037c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b9d0
mov eax, dword [0x501b6c]
cmp word [eax + 2], 0
jne 0x45e7f3
mov eax, dword [0x501b6c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ff34
mov eax, dword [0x501c60]
cmp word [eax + 2], 0
jne 0x45e80d
mov eax, dword [0x501c60]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046012c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412b1c]
call fcn.00403474
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412b1c]
call fcn.00403474
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41dfa4]
call fcn.00425934
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45e994
mov eax, dword [0x501a4c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425d40
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4606dc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x501a4c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cd54
test eax, eax
je 0x45e902
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408f28
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cd7c
test eax, eax
je 0x45e916
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004044e8
mov eax, dword [0x5018c0]
cmp byte [eax], 0
jne 0x45e94a
mov eax, ebx
call fcn.0045eabc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004608b8
mov eax, ebx
call fcn.0046127c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e98a
call fcn.00403820
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ed3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x502be0]
cmp dword [eax + 0x30], 0
je 0x45ede6
cmp dword [ebx + 0x94], 0
jne 0x45ede0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45eccc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45ede0
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 0x45eda6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45ede0
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.004150dc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45edb5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45f948
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 0x45f97d
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.00404368
jmp 0x45f98a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042cc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x460a94
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460ad5
mov eax, esi
call fcn.00446a94
test al, al
je 0x460ad5
mov eax, dword [ebx + 0x84]
call fcn.00446790
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x460ad5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446790
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x464f74
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x464fa2
mov eax, ebx
call fcn.00465a28
cmp dword [ebx + 0x40], 0
je 0x464f9b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x465013
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x465005
cmp dword [ebx + 8], 0
je 0x464fc4
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 0x464fd6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x465005
cmp dword [ebx + 8], 0
je 0x464fb7
cmp eax, 3
je 0x464fe9
dec eax
jne 0x464fb7
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 0x464fb7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x464fb7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x465031
cmp dword [ebx + 0x14], 0xcc
je 0x465031
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.0046503c
pop ebx
ret
Function at 0x499520
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.0049950c
test eax, eax
jne 0x499541
mov eax, esi
call fcn.00404278
jmp 0x4995d2
mov eax, ebx
call fcn.00499668
test al, al
je 0x499587
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.00404368
test edi, edi
je 0x49957e
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4995d2
mov eax, esi
call fcn.00404278
jmp 0x4995d2
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x4995cb
mov eax, dword [ebp + 0x208]
call fcn.00415e34
test eax, eax
jle 0x4995b9
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.0042fd18
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.004042cc
jmp 0x4995d2
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x210]
call fcn.004042cc
jmp 0x4995d2
mov eax, esi
call fcn.00404278
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49b294
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.00406368
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret

Function at 0x49d7e8
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 0x49d8a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404984
mov eax, dword [0x501e00]
cmp dword [eax], 2
jne 0x49d857
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404bcc
mov eax, dword [ebx]
call fcn.00404af0
push eax
mov eax, dword [ebx]
call fcn.00404ae0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404af0
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404bcc
jmp 0x49d889
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.004090d8
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404ad0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d8a9
lea eax, [ebp - 0x3f0]
call fcn.00404278
ret
Function at 0x4a845c
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, 0x502e5c
test esi, esi
jne 0x4a8476
xor eax, eax
jmp 0x4a8578
cmp dword [ebp], 0
jne 0x4a8481
call fcn.004a83ec
xor ebx, 0xffffffff
cmp edi, 8
jb 0x4a8551
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 0x4a848d
test edi, edi
jbe 0x4a8573
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 0x4a8555
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c7b78
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 0x4c7d34
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00424334
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.004525a8
call fcn.004b522c
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x4c7bfc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x68]
call fcn.0041f134
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00424334
mov eax, dword [eax + 0xc]
pop edx
call fcn.0041f13c
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.0041f01c
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.00408f84
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.00424334
call fcn.0041fea4
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.0041f090
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.0041f0cc
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.0041f0cc
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.0041f0cc
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.0041f134
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.00424334
mov eax, dword [eax + 0xc]
pop edx
call fcn.0041efc8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00424334
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 + 0xa0]
mov edx, dword [ecx + edx*4 + 0xb0]
call fcn.0041ee0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7d3b
lea eax, [ebp - 4]
call fcn.00404278
ret
Function at 0x4ca08c
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x4ca09c
call sub.user32.dll_FindWindowA
ret

Function at 0x4e2c4c
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 0x4e2c64
mov eax, ebx
call fcn.004e24e4
cmp dword [ebx + 0x68], 0
jne 0x4e2c71
mov eax, ebx
call fcn.004e2440
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x4e2e24
cmp dword [ebx + 0x68], 0
je 0x4e2e24
mov eax, esi
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.004e22b0
lea eax, [esp + 0x14]
xor edx, edx
call fcn.004e4864
cmp eax, dword [esp]
je 0x4e2cf3
lea eax, [esp + 0x14]
xor edx, edx
call fcn.004e4878
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x4e2ccf
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.004e4864
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x4e2ce8
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4e2d06
mov eax, dword [eax + 0x10]
call fcn.00446790
mov esi, eax
jmp 0x4e2d09
mov esi, dword [ebx + 0x50]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4e2d1e
or esi, 0xffffffff
jmp 0x4e2d28
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.0043f718
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.0043f73c
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.0043f764
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.0043f788
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00406384
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.00446790
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.00446790
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.00446790
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.00424334
call fcn.0041fea4
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00446790
push eax
mov eax, dword [0x501968]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.00446790
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 0x4e3064
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.00402eb8
lea eax, [esp + 0x38]
push eax
call sub.kernel32.dll_GetSystemInfo
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x4e3250
push 0
push 0x4e3258
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4e3250
push 0
push 0x4e3268
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4e3250
push 0
push 0x4e3278
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4e3250
push 0
push 0x4e3288
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebp, eax
test ebp, ebp
je 0x4e3250
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageA
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x4e3250
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 0x4e3250
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x4e3250
push 0x40
push 0x1000
push 0x1000
push 0
push edi
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x4e3250
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x4e323c
inc ebx
push esi
push ebx
push 0x417
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x4e3232
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 0x4e3232
test byte [esp + 0x1d], 0xd
jne 0x4e3232
mov al, byte [esp + 0x1c]
and al, 8
cmp al, 8
je 0x4e3232
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 0x4e3232
cmp dword [esp + 0xc], 0
je 0x4e3232
mov eax, dword [0x501c40]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
cmp eax, dword [esp + 0x10]
jne 0x4e3232
push esi
push ebx
push 0x41d
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x4e320e
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 0x4e323c
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.004063c8
jmp 0x4e323c
cmp ebx, dword [esp + 4]
jl 0x4e3172
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 0x4e4c64
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 [0x501c40]
mov eax, dword [eax]
call fcn.0045fc88
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, esi
jb 0x4e4c6f
pop esi
pop ebx
ret
Function at 0x4e51d0
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.00408be0
test al, al
je 0x4e5257
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00402eb8
or esi, 0x100
test esi, esi
jns 0x4e520b
call fcn.004033e4
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00404738
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4e5257
mov dl, 1
mov eax, dword [0x41dfa4]
call fcn.00425934
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.00425d40
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4e5257
mov eax, esp
call fcn.0040da2c
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret