Function at 0x418d10
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x20
mov dword [ebp - 0x1c], ecx
push dword [ebp + 0xc]
call fcn.004195b7
xor eax, eax
mov dword [ebp - 0x28], eax
xor edx, edx
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 8]
call sub.USER32.dll_BeginPaint
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x419117
cmp dword [0x56192c], 0
je 0x419117
lea edx, [ebp - 0x80]
push edx
push dword [ebp + 8]
call sub.USER32.dll_GetClientRect
cmp dword [ebp - 0x78], 0
je 0x419117
cmp dword [0x55f55c], 0
jne 0x418dae
cmp dword [0x55f2f0], 0
je 0x418dae
cmp dword [0x55f2c4], 0
je 0x418dae
cmp dword [0x55f2e4], 1
jne 0x418dae
mov dword [ebp - 0x30], 1
jmp 0x418db3
xor ecx, ecx
mov dword [ebp - 0x30], ecx
push 0
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x419117
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x20]
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x419117
push dword [ebp - 8]
push dword [ebp - 0x28]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0xc], eax
push dword [0x561924]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push 0
push 0
push dword [ebp - 0x28]
call fcn.00418519
cmp dword [0x5641e4], 0
jne 0x418e50
cmp dword [0x55f55c], 0
jne 0x418e50
push dword [0x561928]
push 1
push dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
inc eax
push eax
push 0
push dword [ebp - 0x28]
call fcn.00418519
push dword [0x56192c]
push 1
push dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
add edx, 2
push edx
push 0
push dword [ebp - 0x28]
call fcn.00418519
mov ecx, dword [0x55f530]
mov dword [ebp - 0x2c], ecx
mov dword [0x55f550], 0xffffffff
push 0
push dword [ebp + 0xc]
push dword [0x55f540]
call fcn.00418712
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x419117
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [0x55f55c], 0
je 0x418f3d
push 0
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x418f3d
lea edx, [ebp - 0x98]
push edx
push 0x18
push dword [0x55f55c]
call sub.GDI32.dll_GetObjectA
push dword [0x55f55c]
push dword [ebp - 0x24]
call sub.GDI32.dll_SelectObject
mov ebx, eax
xor eax, eax
mov dword [ebp - 0xa4], eax
xor edx, edx
mov dword [ebp - 0xa8], edx
push 0xcc0020
push 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x90]
push dword [ebp - 0x94]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
push dword [ebp - 0x28]
call sub.GDI32.dll_BitBlt
mov ecx, dword [ebp - 0x94]
add dword [ebp - 0xa8], ecx
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x78]
jl 0x418eda
mov edx, dword [ebp - 0x90]
add dword [ebp - 0xa4], edx
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [ebp - 0x74]
jl 0x418ed2
push ebx
push dword [ebp - 0x24]
call sub.GDI32.dll_SelectObject
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x2c]
sar eax, 1
jns 0x418f4d
adc eax, 0
mov dword [ebp - 0x14], eax
mov eax, dword [0x5641e4]
test eax, eax
jne 0x418f5c
inc dword [ebp - 0x14]
cmp dword [0x55f2f0], 0
je 0x418f90
cmp dword [0x55f2c4], 0
jne 0x418f73
inc dword [ebp - 0x14]
jmp 0x418f93
mov edx, dword [0x55f2e4]
cmp edx, 1
je 0x418f84
add dword [ebp - 0x14], 0
jmp 0x418f93
test eax, eax
je 0x418f93
dec edx
jne 0x418f93
inc dword [ebp - 0x14]
jmp 0x418f93
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x74], eax
xor ebx, ebx
mov dword [ebp - 0x10], 2
cmp ebx, dword [ebp - 0x18]
jge 0x41908c
mov esi, ebx
shl esi, 2
lea esi, [esi + esi*2]
add esi, dword [ebp - 0x1c]
test byte [esi + 8], 8
jne 0x419082
test byte [esi + 9], 1
je 0x419033
cmp dword [ebp - 0x24], 0
jne 0x41902c
push dword [0x561928]
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff7
push eax
push 1
mov edx, dword [ebp - 0x7c]
add edx, 2
push edx
mov ecx, dword [esi]
sar ecx, 1
jns 0x418ff4
adc ecx, 0
add ecx, dword [ebp - 0x10]
push ecx
push dword [ebp - 0x28]
call fcn.00418519
push dword [0x56192c]
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff7
push eax
push 1
mov edx, dword [ebp - 0x7c]
add edx, 2
push edx
mov ecx, dword [esi]
sar ecx, 1
jns 0x41901f
adc ecx, 0
add ecx, dword [ebp - 0x10]
inc ecx
push ecx
push dword [ebp - 0x28]
call fcn.00418519
mov eax, dword [esi]
add dword [ebp - 0x10], eax
jmp 0x419082
test ebx, ebx
jne 0x419042
mov edi, dword [0x55f528]
add edi, 8
jmp 0x419068
cmp ebx, 1
jne 0x419052
mov edi, dword [0x55f528]
add edi, 8
jmp 0x419068
cmp ebx, 4
jne 0x419062
mov edi, dword [0x55f528]
add edi, 6
jmp 0x419068
mov edi, dword [0x55f528]
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0x28]
call fcn.00418a06
dec edi
add dword [ebp - 0x10], edi
inc ebx
cmp ebx, dword [ebp - 0x18]
jl 0x418fb4
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 8]
call sub.USER32.dll_GetClientRect
cmp dword [0x5641e4], 0
jne 0x4190dd
cmp dword [ebp - 0x30], 0
je 0x4190dd
push dword [0x561928]
push 1
push dword [ebp - 0x78]
mov edx, dword [ebp - 0x74]
add edx, 0xfffffffe
push edx
push 0
push dword [ebp - 0x28]
call fcn.00418519
push dword [0x56192c]
push 1
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
dec ecx
push ecx
push 0
push dword [ebp - 0x28]
call fcn.00418519
cmp dword [ebp - 0x24], 0
je 0x4190eb
push dword [ebp - 0x24]
call sub.GDI32.dll_DeleteDC
push dword [ebp - 4]
push dword [0x55f540]
call sub.GDI32.dll_SelectObject
push 0xcc0020
push 0
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push 0
push 0
push dword [ebp - 0x20]
call sub.GDI32.dll_BitBlt
cmp dword [ebp - 0x28], 0
je 0x41913e
cmp dword [ebp - 8], 0
je 0x419136
push dword [ebp - 0xc]
push dword [ebp - 0x28]
call sub.GDI32.dll_SelectObject
push dword [ebp - 8]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0x28]
call sub.GDI32.dll_DeleteDC
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 8]
call sub.USER32.dll_EndPaint
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8