joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cb9b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4cbb46
mov ecx, dword [esi + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push ecx
call edi
mov edx, dword [esi + 0xe8f8]
xor eax, eax
test edx, edx
sete al
push eax
lea ecx, [esi + 0x28]
mov dword [esi + 0xe8f8], eax
call fcn.004d40c0
mov eax, dword [esi + 0xe8f8]
test eax, eax
je 0x4cbaca
mov edx, dword [esi + 4]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsZoomed]
push edx
call ebp
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esi + 0xeb88], eax
lea eax, [esi + 0xeb8c]
push eax
push ecx
call ebx
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call edi
mov dword [esi + 0xeb84], eax
and eax, 0xff3bffff
push eax
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 4]
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
push edx
call fcn.004a4c00
add esp, 0x10
test eax, eax
jne 0x4cba6f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call ebx
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
sub edi, ecx
mov ecx, dword [esi + 4]
push ecx
sub ebx, eax
call ebp
test eax, eax
je 0x4cbaa7
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
push 0x60
push ebx
push edi
push edx
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 4]
push 3
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 0
push 0x190
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop ebp
pop ebx
jmp 0x4cbb35
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0xeb84]
mov eax, dword [esi + 4]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0xeb90]
mov edx, dword [esi + 0xeb98]
mov ecx, dword [esi + 0xeb8c]
sub edx, eax
push 0x60
push edx
mov edx, dword [esi + 0xeb94]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0xeb88]
test eax, eax
je 0x4cbb29
mov ecx, dword [esi + 4]
push 3
push ecx
jmp 0x4cbb2f
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 1
push 0
push eax
call fcn.004ee520
add esp, 0xc
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4cbdd0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 6
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
pop edi
pop esi
ret
Function at 0x4d1c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f8788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004edfd0
lea edi, [esi + 0x24]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.004de0e0
mov dword [esi + 0x28], 0x4fdcb4
mov dword [esi], 0x4fdca0
mov dword [edi], 0x4fdc9c
mov dword [esi + 0x28], 0x4fdc88
or eax, 0xffffffff
mov ecx, 5
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x74], eax
mov dword [esi + 0xa80], eax
mov edx, 1
mov dword [esi + 0xaa8], eax
mov dword [esi + 0xab0], eax
mov dword [esi + 0xab8], eax
mov dword [esi + 0xa88], ecx
mov dword [esi + 0xa8c], ecx
mov dword [esi + 0xad4], eax
mov dword [esi + 0x68], ebx
mov ecx, 0x220
xor eax, eax
lea edi, [esi + 0x7c]
mov word [esi + 0xa00], bx
mov word [esi + 0xa40], bx
mov word [esi + 0x940], bx
mov word [esi + 0x9c0], bx
mov word [esi + 0x980], bx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x93c], ebx
mov dword [esi + 0xa84], ebx
mov dword [esi + 0xa94], ebx
mov dword [esi + 0xa98], ebx
mov dword [esi + 0xa9c], ebx
mov dword [esi + 0xaa0], ebx
mov dword [esi + 0xaa4], edx
mov dword [esi + 0xa90], ebx
mov dword [esi + 0xabc], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], edx
rep stosd dword es:[edi], eax
lea ecx, [esi + 0xac4]
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0xac0], edx
mov dword [ecx], eax
pop edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x64], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4d42c0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x93c]
test eax, eax
jle 0x4d433e
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x8fc]
lea eax, [esp + 0x14]
push 0x104
push eax
mov eax, dword [edi]
mov ecx, eax
mov word [esp + 0x1c], 0
shl ecx, 4
add ecx, eax
mov edx, dword [esi + ecx*8 + 0x100]
push edx
call ebp
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4d434d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x93c]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4d42f1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret 4
mov ecx, dword [esp + 0x10]
pop edi
mov eax, dword [esi + ecx*4 + 0x8fc]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esi + edx*8 + 0x100]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4
Function at 0x4d4380
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x93c]
test eax, eax
jle 0x4d43fe
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x8fc]
lea eax, [esp + 0x14]
push 0x104
push eax
mov eax, dword [edi]
mov ecx, eax
mov word [esp + 0x1c], 0
shl ecx, 4
add ecx, eax
mov edx, dword [esi + ecx*8 + 0x100]
push edx
call ebp
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4d440d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x93c]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4d43b1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret 4
mov ecx, dword [esp + 0x10]
pop edi
mov eax, dword [esi + ecx*4 + 0x8fc]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esi + edx*8 + 0xfc]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4
Function at 0x4da090
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x18be8], edi
je 0x4da18b
push edi
call fcn.004d72b0
cmp eax, 0xffffffff
jne 0x4da116
cmp dword [esi + 0x18bcc], edi
je 0x4da0e5
cmp dword [esi + 0x18bd0], edi
je 0x4da0e5
mov eax, dword [esi + 0x210c]
push 1
push 1
push 0xfc7
push eax
mov dword [esi + 0x18bcc], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.004d7e30
jmp 0x4da18b
mov ecx, dword [esi + 0x210c]
push edi
push 1
push 0xfc7
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.0041bda0
mov edx, dword [eax + 4]
push edi
push 0x7534
push 0x405
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4da18b
cmp dword [esi + 0x18bec], edi
jne 0x4da169
mov eax, dword [esi + 0x215c]
cmp dword [eax], edi
je 0x4da169
cmp dword [esi + 0x1e64], 0xffffffff
je 0x4da169
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x4da169
cmp dword [esi + 0x2160], edi
jne 0x4da18b
push 1
mov ecx, esi
call fcn.004d90c0
test eax, eax
je 0x4da161
mov dword [esi + 0x2164], 1
jmp 0x4da18b
mov dword [esi + 0x2164], edi
jmp 0x4da18b
mov ecx, dword [esi + 0x210c]
push edi
push 2
push 0xfc7
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.004d5a90
mov dword [esi + 0x18be8], edi
mov dword [esi + 0x2160], edi
mov dword [esi + 0x1e64], 0xffffffff
pop edi
pop esi
ret 4
Function at 0x4dc970
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
test eax, eax
mov esi, ecx
jl 0x4dcaca
mov eax, dword [esi + 4]
push ebx
push ebp
push edi
mov edi, dword [esi + 0x3328]
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
mov eax, dword [esi + 0x3324]
xor ebx, ebx
mov dword [esi + 0x3328], 0xffffffff
test eax, eax
jbe 0x4dca25
lea edi, [esi + 0xd40]
cmp ebx, dword [esp + 0x18]
jne 0x4dca01
mov eax, dword [edi - 8]
test eax, eax
jne 0x4dca01
mov ecx, dword [edi - 0x21c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 1
lea ecx, [esi + 0x3350]
call fcn.004e5df0
mov dword [esi + 0x3328], ebx
mov edx, dword [edi - 0x214]
lea eax, [edi - 0x210]
push edx
push eax
push 0x1503
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4dca10
mov ecx, dword [edi - 0x21c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x3324]
inc ebx
add edi, 0x280
cmp ebx, eax
jb 0x4dc9b5
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x3328]
je 0x4dca55
cmp edi, 0xffffffff
je 0x4dca55
lea edx, [edi + edi*4]
shl edx, 7
mov ecx, dword [edx + esi + 0xb2c]
lea eax, [edx + esi]
add eax, 0xb30
push ecx
push eax
push 0x1504
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x3328]
pop edi
pop ebp
cmp eax, 0xffffffff
pop ebx
jne 0x4dca90
mov edx, dword [esi + 0xb24]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0xd40]
lea ecx, [esi + 0x3350]
push eax
push 1
call fcn.004e5df0
mov dword [esi + 0x3328], 0
mov eax, dword [esi + 0x5198]
cmp eax, 1
jne 0x4dcab2
mov edx, dword [esi + 4]
lea ecx, [esi + 0x51ac]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
cmp eax, 2
jne 0x4dcaca
mov ecx, dword [esi + 4]
lea eax, [esi + 0x51bc]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
Function at 0x4dd630
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
cmp edi, 0xffffffff
mov dword [esp + 0xc], esi
je 0x4dd728
cmp edi, dword [esi + 0x3324]
jae 0x4dd728
mov eax, dword [esi + 4]
push ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [edi + edi*4]
push eax
shl ecx, 7
add esi, ecx
mov dword [esp + 0x14], eax
mov edi, dword [esi + 0xd8c]
mov edx, dword [esi + 0xd84]
mov ebx, dword [esi + 0xd90]
mov ecx, dword [esi + 0xd88]
sub edi, edx
sub ebx, ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x10]
push ebx
push edi
push edx
mov ebp, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebp
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
call fcn.004dd160
mov edx, dword [esi + 0xd88]
mov eax, dword [esi + 0xd84]
mov esi, dword [esp + 0x10]
push 0xcc0020
push 0
push 0
push ebp
push ebx
push edi
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x14]
push esi
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x4dd730
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
cmp edi, 0xffffffff
mov dword [esp + 8], esi
je 0x4dd862
cmp edi, dword [esi + 0x3324]
jae 0x4dd862
mov eax, dword [esi + 4]
push ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [edi + edi*4]
push eax
shl ecx, 7
add esi, ecx
mov dword [esp + 0x18], eax
mov ebx, dword [esi + 0xd9c]
mov edx, dword [esi + 0xd94]
mov ebp, dword [esi + 0xda0]
mov ecx, dword [esi + 0xd98]
sub ebx, edx
sub ebp, ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x14]
push ebp
push ebx
push edx
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x28], ebx
mov ecx, dword [ecx + 0x5134]
mov dword [esp + 0x20], eax
cmp ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebp
je 0x4dd7fa
call fcn.004843f0
test eax, eax
je 0x4dd7fa
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
mov ecx, dword [eax + 0x5134]
push 0
push 0
push 0
lea edx, [esp + 0x38]
push 1
push edx
push edi
call fcn.00483a00
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push edi
call fcn.004ddc00
mov eax, dword [esi + 0xd98]
mov ecx, dword [esi + 0xd94]
mov esi, dword [esp + 0x14]
push 0xcc0020
push 0
push 0
push edi
push ebp
push ebx
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x18]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x10]
push esi
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x4ddf30
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4ddf52
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb1c], eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x4e0180
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f8aa6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004e86a0
lea ebp, [esi + 0xeec]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.004cd590
lea ecx, [esi + 0x2f74]
mov byte [esp + 0x18], 1
mov dword [esi + 0xef0], 0x4fdcb4
call fcn.004d1220
lea ecx, [esi + 0x3f38]
xor eax, eax
mov dword [esi], 0x4fdd90
mov dword [esi + 4], 0x4fdd7c
mov dword [esi + 0x28], 0x4fdd78
mov dword [esi + 0x30], 0x4fdd68
mov dword [ebp], 0x4fdd50
mov dword [esi + 0xef0], 0x4fdd3c
mov dword [esi + 0x3f60], edi
mov dword [esi + 0xf04], 0x78
mov dword [esi + 0xf08], 0xa
mov dword [esi + 0xef8], edi
mov word [esi + 0xf1c], di
mov word [esi + 0x1f1c], di
mov dword [esi + 0xf10], edi
mov dword [esi + 0xf14], 0xff0000
mov dword [esi + 0x2f6c], edi
mov dword [esi + 0x2f70], edi
mov dword [esi + 0x2f64], edi
mov dword [esi + 0xef4], edi
mov dword [esi + 0x3f28], edi
mov dword [esi + 0x2f68], edi
mov dword [esi + 0x3f30], edi
mov dword [esi + 0x3f34], 0xffffffff
mov dword [esi + 0x3f2c], edi
mov dword [ecx], eax
xor edx, edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea eax, [esi + 0x3f48]
xor ecx, ecx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
lea edx, [esi + 0x3f64]
mov eax, 0x64
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x3f58], edi
mov dword [esi + 0xf00], eax
mov dword [esi + 0xefc], eax
mov dword [esi + 0xf18], edi
mov dword [esi + 0xf0c], 0x808080
mov dword [esi + 0x3f5c], 5
mov dword [esi + 0x4c], 1
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4e0320
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f8ae1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0xeec]
mov dword [esi], 0x4fdd90
mov dword [esi + 4], 0x4fdd7c
mov dword [esi + 0x28], 0x4fdd78
mov dword [esi + 0x30], 0x4fdd68
mov dword [edi], 0x4fdd50
mov dword [esi + 0xef0], 0x4fdd3c
lea ecx, [esi + 0x2f74]
mov dword [esp + 0x18], 1
call fcn.004d12e0
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004cd5c0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004e86f0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4e1151
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2f6c]
test eax, eax
je 0x4e1164
call fcn.004e12f0
mov eax, dword [esi + 0xefc]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jl 0x4e1267
mov ecx, dword [esi + 0xf00]
cmp eax, ecx
jg 0x4e1267
test ecx, ecx
je 0x4e1267
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
mov ecx, dword [esi + 0x2f68]
test ecx, ecx
mov dword [esi + 0xefc], eax
je 0x4e1209
lea edi, [esi + 0x2f74]
push eax
push 0x64
push 0
mov ecx, edi
call fcn.004d1300
mov eax, dword [esi + 0xefc]
mov ecx, dword [esi + 0xf00]
cmp eax, ecx
jge 0x4e1267
test edi, edi
je 0x4e11dc
lea eax, [esi + 0x2f78]
jmp 0x4e11de
xor eax, eax
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4e1267
test edi, edi
je 0x4e1200
mov ecx, dword [esi + 0x2f7c]
lea eax, [esi + 0x2f78]
push 5
jmp 0x4e1264
xor eax, eax
push 5
mov ecx, dword [eax + 4]
jmp 0x4e1264
mov edx, dword [esi + 0x3f28]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x640000
push 0
push 0x401
push edx
call edi
mov eax, dword [esi + 0xefc]
mov ecx, dword [esi + 0x3f28]
push 0
push eax
push 0x402
push ecx
call edi
mov edx, dword [esi + 0xefc]
mov eax, dword [esi + 0xf00]
cmp edx, eax
jge 0x4e1267
mov eax, dword [esi + 0x3f28]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4e1267
mov ecx, dword [esi + 0x3f28]
push 5
push ecx
call ebx
cmp dword [esi + 0xefc], 0xffffffff
jne 0x4e12ae
mov eax, dword [esi + 0x2f68]
test eax, eax
je 0x4e12a3
lea edx, [esi + 0x2f74]
test edx, edx
je 0x4e1296
lea eax, [esi + 0x2f78]
push 0
mov eax, dword [eax + 4]
push eax
call ebx
pop edi
pop esi
pop ebx
ret
xor eax, eax
push eax
mov eax, dword [eax + 4]
push eax
call ebx
pop edi
pop esi
pop ebx
ret
mov ecx, dword [esi + 0x3f28]
push 0
push ecx
call ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4e12f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x2f7c]
test eax, eax
jne 0x4e1446
mov eax, dword [esi + 0x3f28]
test eax, eax
jne 0x4e1446
mov eax, dword [esi + 0xef4]
push edi
test eax, eax
jne 0x4e13cb
test esi, esi
mov dword [esi + 0x2f68], 1
je 0x4e1334
lea eax, [esi + 0xef0]
jmp 0x4e1336
xor eax, eax
mov edx, dword [esi + 0x2f74]
lea edi, [esi + 0x2f74]
push eax
mov ecx, edi
call dword [edx + 0x3c]
push 5
push 0x53ada0
push 0x53ada0
push str.IMG_PROGRESS
push 0x53ada0
mov ecx, edi
call fcn.004d1350
mov eax, dword [esi + 0x12c]
mov ecx, dword [esi + 8]
push 1
push 0
push 0
push 2
push eax
push ecx
push str.ProgressBar
mov ecx, edi
call fcn.004e29b0
push 0
push 0x64
push 0
mov ecx, edi
call fcn.004d1300
test edi, edi
je 0x4e13b4
mov edx, dword [esi + 0x2f7c]
lea eax, [esi + 0x2f78]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
pop edi
pop esi
ret
xor eax, eax
push eax
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
pop edi
pop esi
ret
mov ecx, dword [esi + 8]
mov dword [esi + 0x2f68], 0
mov eax, dword [0x5bdd6c]
push 0
push eax
push 2
push ecx
push 0
push 0
push 0
push 0
push 0x44000001
push str.ProgressBar
push str.msctls_progress32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x640000
push 0
push 0x401
push eax
mov dword [esi + 0x3f28], eax
call edi
mov edx, dword [esi + 0x3f28]
push 0
push 0
push 0x409
push edx
call edi
mov eax, dword [esi + 0x3f28]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
pop edi
pop esi
ret
Function at 0x4e4980
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
push edi
mov esi, ecx
call fcn.004e5400
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4e49da
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
shr eax, 8
test al, al
jne 0x4e49b6
push 2
call edi
shr eax, 8
test al, al
je 0x4e49da
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, dword [esi + 8]
je 0x4e4a5c
mov eax, dword [esi + 0x10c]
mov dword [esi + 0x110], 0xffffffff
cmp eax, 0xffffffff
mov dword [esi + 0x10c], 0xffffffff
mov dword [esi + 0x114], 0
je 0x4e4a0b
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x2c]
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
mov byte [esi + 0x1f4], 4
call dword [eax + 0x2c]
mov eax, dword [esi + 0xec]
test eax, eax
je 0x4e4a56
mov ecx, dword [esi + 8]
lea edi, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.004e92b0
mov edx, dword [esi + 8]
mov ecx, edi
push edx
call fcn.004e9240
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x12c]
push eax
push 0xffffffffffffffff
push 0x37ea
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
add esp, 8
ret
Function at 0x4e9320
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [ecx + 4]
test al, al
jne 0x4e9333
call fcn.004c7770
mov ecx, eax
jmp 0x4e95e0
ret
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret