Function at 0x50034c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
mov dword [ebp - 0x78], eax
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov ebx, dword [eax + 0xac]
cmp byte [ebx + 0x1c], 0
je 0x500718
cmp byte [ebx + 0x24], 0
je 0x500718
xor edx, edx
push ebp
push 0x5006f8
push dword fs:[edx]
mov dword fs:[edx], esp
cmp eax, dword [0x592470]
jne 0x5003ea
push 0xcc0020
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [0x59246c]
call fcn.00428fdc
call fcn.00423e98
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
mov edi, dword [edx - 0x10]
sub eax, edi
push eax
xor eax, eax
mov al, byte [ebx + 0x30]
push eax
mov eax, dword [ebp + 8]
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp - 0x78]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x5006ee
mov dword [0x592470], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
xor edx, edx
mov dl, byte [eax + 0x30]
mov eax, dword [0x59246c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
lea edx, [ebp - 0x8c]
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
call fcn.004feaa4
mov edx, dword [ebp - 0x88]
mov eax, dword [0x59246c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [0x59246c]
call fcn.00428fdc
call fcn.00423e98
push eax
call sub.gdi32.dll_SetBkColor
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jle 0x5005e0
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
jle 0x5005e0
push 1
mov eax, dword [0x59246c]
call fcn.00428fdc
call fcn.00423e98
push eax
call sub.gdi32.dll_SetBkMode
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov ebx, dword [eax + 0xac]
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
xor eax, eax
mov al, byte [ebx + 0x30]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x8c]
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
call fcn.004feaa4
mov eax, dword [ebp - 0x88]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x20]
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
test eax, eax
jl 0x500689
inc eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], 0
mov ebx, dword [ebp - 0x80]
test ebx, ebx
jl 0x5005cc
inc ebx
xor edi, edi
push 0xcc0020
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
call fcn.00428fdc
call fcn.00423e98
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x20]
imul dword [ebp - 0x7c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul edi
push eax
mov eax, dword [0x59246c]
call fcn.00428fdc
call fcn.00423e98
push eax
call sub.gdi32.dll_BitBlt
inc edi
dec ebx
jne 0x500529
inc dword [ebp - 0x7c]
dec dword [ebp - 0x84]
jne 0x50051b
jmp 0x500689
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov ebx, dword [eax + 0x54]
cmp byte [ebx + 0x1c], 0
je 0x500628
mov eax, dword [0x59246c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [0x59246c]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [0x59246c]
call fcn.00428fdc
call fcn.00423e98
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004fe534
jmp 0x500689
mov eax, dword [0x59246c]
call fcn.00428fdc
mov eax, dword [eax + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0xd0]
mov edx, dword [edx + 0xac]
mov edx, dword [edx + 0x34]
call fcn.00422ec8
mov eax, dword [0x59246c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [0x59246c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00413874
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [0x59246c]
call fcn.00428fdc
pop edx
call fcn.004236e4
push ebp
mov eax, dword [0x59246c]
call fcn.005001bc
pop ecx
push 0xcc0020
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [0x59246c]
call fcn.00428fdc
call fcn.00423e98
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
mov ebx, dword [edx - 0x10]
sub eax, ebx
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
movzx eax, byte [eax + 0x30]
push eax
mov eax, dword [ebp + 8]
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp - 0x78]
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x500718
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret