joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4eab00
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 0x4eaca5
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 + 0xeae0]
xor eax, eax
test edx, edx
sete al
push eax
lea ecx, [esi + 0x28]
mov dword [esi + 0xeae0], eax
call fcn.004f4d20
mov eax, dword [esi + 0xeae0]
test eax, eax
je 0x4eac29
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 + 0xed6c], eax
lea eax, [esi + 0xed70]
push eax
push ecx
call ebx
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call edi
mov dword [esi + 0xed68], eax
mov ecx, dword [0x58bcd4]
test ecx, ecx
jne 0x4eab95
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.004bfe10
add esp, 0x10
test eax, eax
jne 0x4eabce
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 0x4eac06
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 0x4eac94
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0xed68]
mov eax, dword [esi + 4]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0xed74]
mov edx, dword [esi + 0xed7c]
mov ecx, dword [esi + 0xed70]
sub edx, eax
push 0x60
push edx
mov edx, dword [esi + 0xed78]
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 + 0xed6c]
test eax, eax
je 0x4eac88
mov ecx, dword [esi + 4]
push 3
push ecx
jmp 0x4eac8e
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.0050abe0
add esp, 0xc
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4eb270
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 0x4f4f00
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 + 0x9b8]
test eax, eax
jle 0x4f4f7d
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x978]
lea eax, [esp + 0x14]
push 0x104
push eax
mov eax, dword [edi]
mov word [esp + 0x1c], 0
lea ecx, [eax + eax*8]
shl ecx, 4
mov edx, dword [ecx + esi + 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 0x4f4f8c
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x9b8]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4f4f31
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 + 0x978]
lea edx, [eax + eax*8]
shl edx, 4
mov eax, dword [edx + esi + 0xfc]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4

Function at 0x4f4fc0
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 + 0x9b8]
test eax, eax
jle 0x4f503d
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x978]
lea eax, [esp + 0x14]
push 0x104
push eax
mov eax, dword [edi]
mov word [esp + 0x1c], 0
lea ecx, [eax + eax*8]
shl ecx, 4
mov edx, dword [ecx + esi + 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 0x4f504c
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x9b8]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4f4ff1
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 + 0x978]
lea edx, [eax + eax*8]
shl edx, 4
mov eax, dword [edx + esi + 0xf8]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4
Function at 0x4f65c0
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
test eax, eax
mov esi, ecx
jl 0x4f671a
mov eax, dword [esi + 4]
push ebx
push ebp
push edi
mov edi, dword [esi + 0x33a8]
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
mov eax, dword [esi + 0x33a4]
xor ebx, ebx
mov dword [esi + 0x33a8], 0xffffffff
test eax, eax
jbe 0x4f6675
lea edi, [esi + 0xdc0]
cmp ebx, dword [esp + 0x18]
jne 0x4f6651
mov eax, dword [edi - 8]
test eax, eax
jne 0x4f6651
mov ecx, dword [edi - 0x21c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 1
lea ecx, [esi + 0x33d0]
call fcn.00501ea0
mov dword [esi + 0x33a8], 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 0x4f6660
mov ecx, dword [edi - 0x21c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x33a4]
inc ebx
add edi, 0x280
cmp ebx, eax
jb 0x4f6605
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x33a8]
je 0x4f66a5
cmp edi, 0xffffffff
je 0x4f66a5
lea edx, [edi + edi*4]
shl edx, 7
mov ecx, dword [edx + esi + 0xbac]
lea eax, [edx + esi]
add eax, 0xbb0
push ecx
push eax
push 0x1504
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x33a8]
pop edi
pop ebp
cmp eax, 0xffffffff
pop ebx
jne 0x4f66e0
mov edx, dword [esi + 0xba4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0xdc0]
lea ecx, [esi + 0x33d0]
push eax
push 1
call fcn.00501ea0
mov dword [esi + 0x33a8], 0
mov eax, dword [esi + 0x5220]
cmp eax, 1
jne 0x4f6702
mov edx, dword [esi + 4]
lea ecx, [esi + 0x5234]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
cmp eax, 2
jne 0x4f671a
mov ecx, dword [esi + 4]
lea eax, [esi + 0x5244]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
Function at 0x4f7280
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 0x4f7378
cmp edi, dword [esi + 0x33a4]
jae 0x4f7378
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 + 0xe0c]
mov edx, dword [esi + 0xe04]
mov ebx, dword [esi + 0xe10]
mov ecx, dword [esi + 0xe08]
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.004f6db0
mov edx, dword [esi + 0xe08]
mov eax, dword [esi + 0xe04]
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 0x4f7380
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 0x4f74b2
cmp edi, dword [esi + 0x33a4]
jae 0x4f74b2
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 + 0xe1c]
mov edx, dword [esi + 0xe14]
mov ebp, dword [esi + 0xe20]
mov ecx, dword [esi + 0xe18]
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 + 0x51bc]
mov dword [esp + 0x20], eax
cmp ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebp
je 0x4f744a
call fcn.00493900
test eax, eax
je 0x4f744a
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
mov ecx, dword [eax + 0x51bc]
push 0
push 0
push 0
lea edx, [esp + 0x38]
push 1
push edx
push edi
call fcn.00492f10
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push edi
call fcn.004f7850
mov eax, dword [esi + 0xe18]
mov ecx, dword [esi + 0xe14]
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 0x4f7b80
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4f7ba2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb9c], eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x4f8390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x522376
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], 0x528280
mov dword [esp + 0x2c], 4
call fcn.004f9400
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.004f9db0
mov eax, dword [edi + 4]
push eax
call fcn.0051c54a
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 [0x58e43c]
dec eax
mov dword [0x58e43c], eax
jne 0x4f8421
mov edi, dword [0x584b70]
mov dword [0x584b70], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp edi, ebx
je 0x4f8438
push edi
call fcn.0051c54a
add esp, 4
lea ecx, [esi + 0x1114]
mov byte [esp + 0x2c], 2
call fcn.0049bba0
lea ecx, [esi + 0x890]
mov byte [esp + 0x2c], 1
call fcn.0049bba0
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.004fa180
mov eax, dword [edi + 4]
push eax
call fcn.0051c54a
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 [0x58e434]
dec eax
mov dword [0x58e434], eax
jne 0x4f84ab
mov edi, dword [0x58e438]
mov dword [0x58e438], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp edi, ebx
je 0x4f84c2
push edi
call fcn.0051c54a
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 0x4f851f
mov ecx, eax
cmp eax, ecx
jne 0x4f851f
mov edx, dword [edi + 4]
mov ecx, esi
push edx
call fcn.004fa730
mov eax, dword [esi + 4]
mov ecx, dword [0x584b70]
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.004b9fe0
jmp 0x4f8547
cmp eax, edi
je 0x4f8547
lea eax, [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.004f9d50
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.004fa300
cmp dword [esp + 0x10], edi
jne 0x4f8523
mov eax, dword [esi + 4]
push eax
call fcn.0051c54a
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 [0x58e43c]
dec eax
mov dword [0x58e43c], eax
jne 0x4f857a
mov esi, dword [0x584b70]
mov dword [0x584b70], ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x4f8591
push esi
call fcn.0051c54a
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 0x4fb1b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x522416
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.005048f0
lea ebp, [esi + 0xef0]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.004ecd60
lea ecx, [esi + 0x2f74]
mov byte [esp + 0x18], 1
mov dword [esi + 0xef4], 0x528248
call fcn.004f1de0
mov dword [esi + 0x3fa0], edi
mov dword [esi], 0x5282e0
mov dword [esi + 4], 0x5282cc
lea ecx, [esi + 0x3f3c]
mov dword [esi + 0x28], 0x5282c8
xor eax, eax
mov dword [esi + 0x30], 0x5282b8
mov dword [ebp], 0x5282a0
mov dword [esi + 0xef4], 0x528284
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 + 0x3fa8]
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 + 0x3fa4], 2
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [eax], 0x10
lea eax, [esi + 0x3f7c]
mov dword [esi + 0x3f8c], edi
push eax
mov dword [esi + 0x3f90], edi
mov dword [esi + 0x3f9c], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea edx, [esi + 0x3f94]
xor ecx, ecx
mov eax, esi
pop edi
mov dword [edx], ecx
pop esi
pop ebp
mov dword [edx + 4], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4fb3b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x522451
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], 0x5282e0
mov dword [esi + 4], 0x5282cc
mov dword [esi + 0x28], 0x5282c8
mov dword [esi + 0x30], 0x5282b8
mov dword [edi], 0x5282a0
mov dword [esi + 0xef4], 0x528284
mov eax, dword [esi + 0x3f90]
mov dword [esp + 0x18], 1
test eax, eax
je 0x4fb445
mov eax, dword [esi + 0x3f9c]
test eax, eax
je 0x4fb42e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x3f9c], 0
mov eax, dword [esi + 0x3f90]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esi + 0x3f90], 0
lea ecx, [esi + 0x2f74]
call fcn.004f1ea0
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004ecd90
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00504940
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4fc581
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2f6c]
test eax, eax
je 0x4fc594
call fcn.004fc720
mov eax, dword [esi + 0xefc]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jl 0x4fc697
mov ecx, dword [esi + 0xf00]
cmp eax, ecx
jg 0x4fc697
test ecx, ecx
je 0x4fc697
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 0x4fc639
lea edi, [esi + 0x2f74]
push eax
push 0x64
push 0
mov ecx, edi
call fcn.004f1ec0
mov eax, dword [esi + 0xefc]
mov ecx, dword [esi + 0xf00]
cmp eax, ecx
jge 0x4fc697
test edi, edi
je 0x4fc60c
lea eax, [esi + 0x2f78]
jmp 0x4fc60e
xor eax, eax
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4fc697
test edi, edi
je 0x4fc630
mov ecx, dword [esi + 0x2f7c]
lea eax, [esi + 0x2f78]
push 5
jmp 0x4fc694
xor eax, eax
push 5
mov ecx, dword [eax + 4]
jmp 0x4fc694
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 0x4fc697
mov eax, dword [esi + 0x3f2c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4fc697
mov ecx, dword [esi + 0x3f2c]
push 5
push ecx
call ebx
cmp dword [esi + 0xefc], 0xffffffff
jne 0x4fc6de
mov eax, dword [esi + 0x2f68]
test eax, eax
je 0x4fc6d3
lea edx, [esi + 0x2f74]
test edx, edx
je 0x4fc6c6
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 0x4fc720
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x2f7c]
test eax, eax
jne 0x4fc87e
mov eax, dword [esi + 0x3f2c]
test eax, eax
jne 0x4fc87e
push edi
call fcn.004fcc50
test eax, eax
jne 0x4fc800
test esi, esi
mov dword [esi + 0x2f68], 1
je 0x4fc763
lea eax, [esi + 0xef4]
jmp 0x4fc765
xor eax, eax
mov edx, dword [esi + 0x2f74]
lea edi, [esi + 0x2f74]
push eax
mov ecx, edi
call dword [edx + 0x4c]
push 5
push 0x56bc90
push 0x56bc90
push str.IMG_PROGRESS
push 0x56bc90
mov ecx, edi
call fcn.004f1f10
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.004fe6d0
push 0
push 0x64
push 0
mov ecx, edi
call fcn.004f1ec0
test edi, edi
je 0x4fc7e6
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 + 0x90]
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 + 0x90]
pop edi
pop esi
ret
mov ecx, dword [esi + 8]
mov dword [esi + 0x2f68], 0
mov eax, dword [0x58bccc]
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 + 0x90]
pop edi
pop esi
ret
Function at 0x500a90
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
push edi
mov esi, ecx
call fcn.005013f0
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x500aea
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
shr eax, 8
test al, al
jne 0x500ac6
push 2
call edi
shr eax, 8
test al, al
je 0x500aea
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 0x500b6c
mov eax, dword [esi + 0x10c]
mov dword [esi + 0x110], 0xffffffff
cmp eax, 0xffffffff
mov dword [esi + 0x10c], 0xffffffff
mov dword [esi + 0x114], 0
je 0x500b1b
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
mov byte [esi + 0x1f4], 4
call dword [eax + 0x34]
mov eax, dword [esi + 0xec]
test eax, eax
je 0x500b66
mov ecx, dword [esi + 8]
lea edi, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.00505860
mov edx, dword [esi + 8]
mov ecx, edi
push edx
call fcn.005057f0
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