joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e0760
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 0x4e0905
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 + 0xe930]
xor eax, eax
test edx, edx
sete al
push eax
lea ecx, [esi + 0x28]
mov dword [esi + 0xe930], eax
call fcn.004e9fe0
mov eax, dword [esi + 0xe930]
test eax, eax
je 0x4e0889
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 + 0xebbc], eax
lea eax, [esi + 0xebc0]
push eax
push ecx
call ebx
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call edi
mov dword [esi + 0xebb8], eax
mov ecx, dword [0x5dc94c]
test ecx, ecx
jne 0x4e07f5
and eax, 0xff3fffff
and eax, 0xfffbffff
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.004b7d60
add esp, 0x10
test eax, eax
jne 0x4e082e
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 0x4e0866
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 0x4e08f4
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0xebb8]
mov eax, dword [esi + 4]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0xebc4]
mov edx, dword [esi + 0xebcc]
mov ecx, dword [esi + 0xebc0]
sub edx, eax
push 0x60
push edx
mov edx, dword [esi + 0xebc8]
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 + 0xebbc]
test eax, eax
je 0x4e08e8
mov ecx, dword [esi + 4]
push 3
push ecx
jmp 0x4e08ee
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.004ff6b0
add esp, 0xc
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4e0c70
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 0x4ea1d0
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 + 0x938]
test eax, eax
jle 0x4ea24e
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x8f8]
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 + 0xfc]
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 0x4ea25d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x938]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4ea201
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 + 0x8f8]
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 0x4ea290
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 + 0x938]
test eax, eax
jle 0x4ea30e
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x8f8]
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 + 0xfc]
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 0x4ea31d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x938]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4ea2c1
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 + 0x8f8]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esi + edx*8 + 0xf8]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4
Function at 0x4eb8b0
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
test eax, eax
mov esi, ecx
jl 0x4eba0a
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 0x4eb965
lea edi, [esi + 0xd40]
cmp ebx, dword [esp + 0x18]
jne 0x4eb941
mov eax, dword [edi - 8]
test eax, eax
jne 0x4eb941
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.004f6dd0
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 0x4eb950
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 0x4eb8f5
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x3328]
je 0x4eb995
cmp edi, 0xffffffff
je 0x4eb995
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 0x4eb9d0
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.004f6dd0
mov dword [esi + 0x3328], 0
mov eax, dword [esi + 0x51a0]
cmp eax, 1
jne 0x4eb9f2
mov edx, dword [esi + 4]
lea ecx, [esi + 0x51b4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
cmp eax, 2
jne 0x4eba0a
mov ecx, dword [esi + 4]
lea eax, [esi + 0x51c4]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
Function at 0x4ec570
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 0x4ec668
cmp edi, dword [esi + 0x3324]
jae 0x4ec668
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.004ec0a0
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 0x4ec670
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 0x4ec7a2
cmp edi, dword [esi + 0x3324]
jae 0x4ec7a2
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 + 0x513c]
mov dword [esp + 0x20], eax
cmp ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebp
je 0x4ec73a
call fcn.0048e9a0
test eax, eax
je 0x4ec73a
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
mov ecx, dword [eax + 0x513c]
push 0
push 0
push 0
lea edx, [esp + 0x38]
push 1
push edx
push edi
call fcn.0048dfb0
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push edi
call fcn.004ecb40
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 0x4ece70
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4ece92
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 0x4ed650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x512516
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], 0x518134
mov dword [esp + 0x2c], 4
call fcn.004ee670
mov eax, dword [esi + 0x1998]
lea edi, [esi + 0x1994]
push eax
mov byte [esp + 0x30], 3
mov ecx, dword [eax]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, edi
call fcn.004ef0a0
mov eax, dword [edi + 4]
push eax
call fcn.0050c98e
mov ebp, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
xor ebx, ebx
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
lea ecx, [esp + 0x10]
xor edi, edi
call ebp
mov eax, dword [0x5df0b4]
dec eax
mov dword [0x5df0b4], eax
jne 0x4ed6e1
mov edi, dword [0x5d5878]
mov dword [0x5d5878], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp edi, ebx
je 0x4ed6f8
push edi
call fcn.0050c98e
add esp, 4
lea ecx, [esi + 0x1114]
mov byte [esp + 0x2c], 2
call fcn.00497880
lea ecx, [esi + 0x890]
mov byte [esp + 0x2c], 1
call fcn.00497880
mov eax, dword [esi + 0x884]
lea edi, [esi + 0x880]
push eax
mov byte [esp + 0x30], bl
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.004ef470
mov eax, dword [edi + 4]
push eax
call fcn.0050c98e
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
lea ecx, [esp + 0x10]
xor edi, edi
call ebp
mov eax, dword [0x5df0ac]
dec eax
mov dword [0x5df0ac], eax
jne 0x4ed76b
mov edi, dword [0x5df0b0]
mov dword [0x5df0b0], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp edi, ebx
je 0x4ed782
push edi
call fcn.0050c98e
add esp, 4
mov edi, dword [esi + 0x874]
mov ecx, dword [esi + 0x87c]
add esi, 0x870
cmp ecx, ebx
mov eax, dword [edi]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], eax
je 0x4ed7df
mov ecx, eax
cmp eax, ecx
jne 0x4ed7df
mov edx, dword [edi + 4]
mov ecx, esi
push edx
call fcn.004efa20
mov eax, dword [esi + 4]
mov ecx, dword [0x5d5878]
lea edx, [esp + 0x18]
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov dword [esi + 0xc], ebx
push edx
mov dword [eax], eax
mov eax, dword [esi + 4]
mov ecx, esi
mov dword [eax + 8], eax
call fcn.00499e50
jmp 0x4ed807
cmp eax, edi
je 0x4ed807
lea eax, [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.004ef040
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.004ef5f0
cmp dword [esp + 0x10], edi
jne 0x4ed7e3
mov eax, dword [esi + 4]
push eax
call fcn.0050c98e
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0x14]
xor esi, esi
call ebp
mov eax, dword [0x5df0b4]
dec eax
mov dword [0x5df0b4], eax
jne 0x4ed83a
mov esi, dword [0x5d5878]
mov dword [0x5d5878], ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x4ed851
push esi
call fcn.0050c98e
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4ee8b0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
je 0x4ee90a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ee90a
push 0
push 0x80000080
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4ee90a
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 0
push eax
push edi
push ebx
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push esi
jne 0x4ee910
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, edi
pop edi
pop esi
pop ebx
sete al
ret

Function at 0x4f04c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5125b6
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.004f9730
lea ebp, [esi + 0xef0]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.004e2770
lea ecx, [esi + 0x2f74]
mov byte [esp + 0x18], 1
mov dword [esi + 0xef4], 0x5180fc
call fcn.004e7090
lea ecx, [esi + 0x3f3c]
mov dword [esi + 0x3f7c], edi
xor eax, eax
mov dword [esi], 0x518194
mov dword [esi + 4], 0x518180
mov dword [esi + 0x28], 0x51817c
mov dword [esi + 0x30], 0x51816c
mov dword [ebp], 0x518154
mov dword [esi + 0xef4], 0x518138
mov dword [esi + 0x3f64], 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 + 0x3f2c], edi
mov dword [esi + 0x2f68], edi
mov dword [esi + 0x3f34], edi
mov dword [esi + 0x3f38], 0xffffffff
mov dword [esi + 0x3f30], 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 + 0x3f4c]
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 + 0x3f68]
mov eax, 0x64
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [esi + 0xf00], eax
mov dword [esi + 0xefc], eax
lea eax, [esi + 0x3f84]
mov edx, eax
mov dword [esi + 0x3f5c], edi
mov dword [esi + 0xf0c], 0x808080
mov dword [esi + 0xf18], edi
mov dword [esi + 0x3f60], 5
mov dword [esi + 0x4c], 1
mov dword [esi + 0x3f78], 1
mov dword [esi + 0x3f80], 2
mov dword [edx], ecx
pop edi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax], 0x10
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4f0690
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5125f1
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 + 0xef0]
mov dword [esi], 0x518194
mov dword [esi + 4], 0x518180
mov dword [esi + 0x28], 0x51817c
mov dword [esi + 0x30], 0x51816c
mov dword [edi], 0x518154
mov dword [esi + 0xef4], 0x518138
lea ecx, [esi + 0x2f74]
mov dword [esp + 0x18], 1
call fcn.004e7150
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004e27a0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004f9780
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4f1771
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2f6c]
test eax, eax
je 0x4f1784
call fcn.004f1910
mov eax, dword [esi + 0xefc]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jl 0x4f1887
mov ecx, dword [esi + 0xf00]
cmp eax, ecx
jg 0x4f1887
test ecx, ecx
je 0x4f1887
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 0x4f1829
lea edi, [esi + 0x2f74]
push eax
push 0x64
push 0
mov ecx, edi
call fcn.004e7170
mov eax, dword [esi + 0xefc]
mov ecx, dword [esi + 0xf00]
cmp eax, ecx
jge 0x4f1887
test edi, edi
je 0x4f17fc
lea eax, [esi + 0x2f78]
jmp 0x4f17fe
xor eax, eax
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4f1887
test edi, edi
je 0x4f1820
mov ecx, dword [esi + 0x2f7c]
lea eax, [esi + 0x2f78]
push 5
jmp 0x4f1884
xor eax, eax
push 5
mov ecx, dword [eax + 4]
jmp 0x4f1884
mov edx, dword [esi + 0x3f2c]
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 + 0x3f2c]
push 0
push eax
push 0x402
push ecx
call edi
mov edx, dword [esi + 0xefc]
mov eax, dword [esi + 0xf00]
cmp edx, eax
jge 0x4f1887
mov eax, dword [esi + 0x3f2c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4f1887
mov ecx, dword [esi + 0x3f2c]
push 5
push ecx
call ebx
cmp dword [esi + 0xefc], 0xffffffff
jne 0x4f18ce
mov eax, dword [esi + 0x2f68]
test eax, eax
je 0x4f18c3
lea edx, [esi + 0x2f74]
test edx, edx
je 0x4f18b6
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 + 0x3f2c]
push 0
push ecx
call ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4f1910
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x2f7c]
test eax, eax
jne 0x4f1a6e
mov eax, dword [esi + 0x3f2c]
test eax, eax
jne 0x4f1a6e
push edi
call fcn.004f1e40
test eax, eax
jne 0x4f19f0
test esi, esi
mov dword [esi + 0x2f68], 1
je 0x4f1953
lea eax, [esi + 0xef4]
jmp 0x4f1955
xor eax, eax
mov edx, dword [esi + 0x2f74]
lea edi, [esi + 0x2f74]
push eax
mov ecx, edi
call dword [edx + 0x48]
push 5
push 0x559900
push 0x559900
push str.IMG_PROGRESS
push 0x559900
mov ecx, edi
call fcn.004e71c0
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.004f3580
push 0
push 0x64
push 0
mov ecx, edi
call fcn.004e7170
test edi, edi
je 0x4f19d6
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 + 0x8c]
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 + 0x8c]
pop edi
pop esi
ret
mov ecx, dword [esi + 8]
mov dword [esi + 0x2f68], 0
mov eax, dword [0x5dc944]
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 + 0x3f2c], eax
call edi
mov edx, dword [esi + 0x3f2c]
push 0
push 0
push 0x409
push edx
call edi
mov eax, dword [esi + 0x3f2c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x8c]
pop edi
pop esi
ret
Function at 0x4f5950
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
push edi
mov esi, ecx
call fcn.004f63c0
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4f59aa
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
shr eax, 8
test al, al
jne 0x4f5986
push 2
call edi
shr eax, 8
test al, al
je 0x4f59aa
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 0x4f5a2c
mov eax, dword [esi + 0x10c]
mov dword [esi + 0x110], 0xffffffff
cmp eax, 0xffffffff
mov dword [esi + 0x10c], 0xffffffff
mov dword [esi + 0x114], 0
je 0x4f59db
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
mov byte [esi + 0x1f4], 4
call dword [eax + 0x30]
mov eax, dword [esi + 0xec]
test eax, eax
je 0x4f5a26
mov ecx, dword [esi + 8]
lea edi, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.004fa340
mov edx, dword [esi + 8]
mov ecx, edi
push edx
call fcn.004fa2d0
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