Function at 0x45d9b0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4f6cdc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ebx
mov dword [ebp - 0x3c], ebx
call edi
push ebx
mov dword [ebp - 0x18], eax
call edi
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x14]
mov edi, eax
xor eax, eax
push ecx
push edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esi + 0x78], 0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
je 0x45de11
cmp dword [esi + 0x70], 0
je 0x45de11
cmp dword [esi + 0x7c], 0
je 0x45de11
cmp dword [esi + 0x74], 0
je 0x45de11
cmp dword [esi + 0x80], 0
je 0x45de11
cmp dword [esi + 0x84], 0
je 0x45de11
cmp dword [esi + 0x88], 0
je 0x45de11
cmp dword [esi + 0x8c], 0
je 0x45de11
cmp dword [esi + 0x90], 0
je 0x45de11
cmp dword [esi + 0x94], 0
je 0x45de11
cmp dword [esi + 0x98], 0
je 0x45de11
cmp dword [esi + 0x9c], 0
je 0x45de11
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x20], ecx
add ecx, eax
je 0x45de11
fild dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x40]
test eax, eax
jns 0x45dac7
fadd qword [0x4d28f0]
fadd st(1)
mov eax, dword [esi + 0x64]
fdivp st(1)
fstp qword [ebp - 0x48]
test eax, eax
je 0x45dadc
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x68]
test eax, eax
je 0x45de11
lea ecx, [ebp - 0x60]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
mov dword [esi + 0x64], eax
call ebx
mov edx, dword [esi + 0x68]
push edx
push edi
mov dword [ebp - 0x40], eax
call ebx
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 8]
push 0xcc0020
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
push 0
push 0
push edi
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
cmp dword [esi + 0x24], 0
je 0x45db61
fild dword [esi + 0x28]
fmul qword [ebp - 0x48]
call fcn.004a2250
mov dword [esi + 0x30], eax
jmp 0x45ddfd
fild dword [esi + 0x2c]
fmul qword [ebp - 0x48]
call fcn.004a2250
mov ecx, dword [esi + 0x7c]
push 3
mov dword [esi + 0x34], eax
call fcn.004014f0
mov ecx, dword [esi + 0x74]
push 0
mov ebx, eax
call fcn.004014f0
mov ecx, dword [esi + 0x70]
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [esi + 0x34]
push 3
call fcn.004014f0
add eax, dword [ebp - 0x20]
cmp ebx, eax
jl 0x45dba3
cmp ebx, dword [esi + 0x2c]
jle 0x45dbca
mov ecx, dword [esi + 0x7c]
push 3
call fcn.004014f0
mov ecx, dword [esi + 0x74]
push 0
mov ebx, eax
call fcn.004014f0
mov ecx, dword [esi + 0x70]
push 3
add ebx, eax
call fcn.004014f0
add eax, ebx
mov dword [esi + 0x34], eax
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov eax, dword [esi + ecx*4 + 0x4c]
test eax, eax
je 0x45dbe7
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x45dbff
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x30], edx
mov edx, dword [esi + 0x74]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x78]
jmp 0x45dc42
cmp ecx, 1
jne 0x45dc24
mov edx, dword [esi + 0x80]
mov eax, dword [esi + 0x8c]
mov dword [ebp - 0x30], edx
mov edx, dword [esi + 0x84]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x88]
jmp 0x45dc42
mov edx, dword [esi + 0x90]
mov eax, dword [esi + 0x9c]
mov dword [ebp - 0x30], edx
mov edx, dword [esi + 0x94]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x98]
cmp dword [ebp - 0x30], 0
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], eax
je 0x45ddf0
cmp dword [ebp - 0x34], 0
je 0x45ddf0
test edx, edx
je 0x45ddf0
test eax, eax
je 0x45ddf0
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov eax, dword [ebp - 0x3c]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
push eax
push edx
mov dword [esi + ecx*4 + 0x4c], eax
call ebx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [esi + eax*4 + 0x58]
push ecx
push edi
call ebx
mov ecx, dword [ebp - 0x30]
push 3
call fcn.004014f0
mov ecx, dword [ebp - 0x34]
push 3
mov dword [ebp - 0x20], eax
call fcn.004014f0
mov ecx, dword [ebp - 0x1c]
push 0
mov dword [ebp - 0x38], eax
call fcn.004014f0
mov ecx, dword [ebp - 0x30]
push 0
push 3
mov dword [ebp - 0x44], eax
call fcn.00401340
push eax
push edi
call ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x18]
push 0xcc0020
push 0
push 0
push edi
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp - 0x28]
push edx
push edi
call ebx
mov ecx, dword [ebp - 0x34]
push 0
push 3
call fcn.00401340
push eax
push edi
call ebx
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
push 0xcc0020
push 0
push 0
push edi
push eax
push ecx
sub edx, eax
mov eax, dword [ebp - 0x18]
push edx
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 0x28]
push ecx
push edi
call ebx
mov edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x20]
cmp dword [esi + 0x34], edx
jle 0x45dd92
mov ecx, dword [ebp - 0x24]
push 0
push 0
call fcn.00401340
push eax
push edi
call ebx
mov ecx, dword [ebp - 0x24]
push 0xcc0020
push 0
call fcn.004014f0
mov ecx, dword [ebp - 0x24]
push eax
push 0
call fcn.00401480
mov ecx, dword [esi + 0x34]
sub ecx, dword [ebp - 0x38]
mov edx, dword [esi + 0x30]
push eax
mov eax, dword [ebp - 0x20]
push 0
push 0
push edi
sub ecx, eax
push ecx
push edx
push eax
mov eax, dword [ebp - 0x18]
push 0
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [ebp - 0x28]
push ecx
push edi
call ebx
mov ecx, dword [ebp - 0x1c]
push 0
push 0
call fcn.00401340
push eax
push edi
call ebx
mov ecx, dword [ebp - 0x1c]
push 0xcc0020
push 0
push 0
push edi
push 0
call fcn.004014f0
add eax, dword [esi + 0x34]
mov ecx, dword [ebp - 0x1c]
cdq
sub eax, edx
mov edx, dword [esi + 0x30]
sar eax, 1
push eax
push edx
push 0
call fcn.004014f0
mov ecx, dword [esi + 0x34]
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x18]
sar eax, 1
push eax
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x28]
push eax
push edi
call ebx
mov ecx, dword [ebp - 0x2c]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, 3
jl 0x45dbd5
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call ebx
mov eax, dword [ebp - 0x28]
push eax
push edi
call ebx
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esi + 4]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0049f71b
mov esp, ebp
pop ebp
ret 8