Function at 0x420642
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0x2c
call fcn.00445bea
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], esp
push 0
xor eax, eax
call dword [sym.imp.USER32.dll_GetDC]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4206ce
push 0x19
push 0x40281d6
push 6
call fcn.00445bf0
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], esp
push 0xc
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x420702
push 0x4f
push 0x40281d6
push 6
call fcn.00445bf0
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x420731
push 0x8c
push 0x40281d6
push 6
call fcn.00445bf0
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x420766
push 0xc0
push 0x40281d6
push 6
call fcn.00445bf0
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x10]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.GDI32.dll_SelectObject]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x420798
push 0x102
push 0x40281d6
push 6
call fcn.00445bf0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], esp
push 0xcc0020
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.GDI32.dll_BitBlt]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4207e5
push 0x124
push 0x40281d6
push 6
call fcn.00445bf0
add esp, 0xc
mov dword [ebp - 0x28], esp
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x420816
push 0x18f
push 0x40281d6
push 6
call fcn.00445bf0
add esp, 0xc
mov dword [ebp - 0x28], esp
push dword [ebp - 0x14]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.GDI32.dll_SelectObject]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x420845
push 0x1b2
push 0x40281d6
push 6
call fcn.00445bf0
add esp, 0xc
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebx], 0x28
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x28]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x28]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
add ebx, 0xc
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov word [ebx], 1
mov ebx, dword [ebp - 0x18]
add ebx, 0x10
mov dword [ebp - 0x28], ebx
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x9d8
call fcn.0044a540
add esp, 0x10
mov ebx, dword [ebp - 0x28]
mov word [ebx], ax
fild dword [ebp + 0x10]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 8]
fstp qword [ebp - 0x34]
fmul qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x4713e8]
fstp qword [ebp - 0x44]
push 0x80000301
push 0
push 5
fld qword [ebp - 0x44]
call fcn.00402a49
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x9fc
call fcn.0044ae40
add esp, 0x1c
mov dword [ebp - 0x48], eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0x48]
push 2
mov ebx, 0x9f8
call fcn.0044ae50
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ebx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp + 0x14]
fstp qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fstp qword [ebp - 0x40]
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.00402a49
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.004478f0
add esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420994
push ebx
call fcn.00445be4
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, 0x45baf4
xor ecx, ecx
test eax, eax
je 0x4209a6
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x20]
xor ebx, ebx
test eax, eax
je 0x4209b7
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4209ce
dec eax
test ecx, ecx
je 0x4209ce
call fcn.004034d0
add esp, 0xc
test eax, eax
jne 0x4209e3
mov eax, 0x45baf4
jmp 0x420da4
mov ebx, dword [ebp - 0x20]
call fcn.00401b2c
mov eax, 0
cmp eax, ecx
jl 0x420a0b
push 0x402
push 0x40281d6
push 1
call fcn.00445bf0
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esp
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
mov eax, dword [ebp - 0x18]
push eax
push 0x28
call fcn.00445bea
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push dword [ebp - 0x28]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x420ad2
push 0x402
push 0x40281d6
push 6
call fcn.00445bf0
add esp, 0xc
mov ebx, dword [ebp - 0x34]
push ebx
mov edi, dword [ebp - 0x38]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00445be4
add esp, 4
mov ebx, dword [ebp - 0x20]
call fcn.00401b2c
push ebx
push ecx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x45bb12]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.00402a49
dec eax
jns 0x420b97
push 0x494
push 0x40281d6
push 4
call fcn.00445bf0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x420bb4
push 0x494
push 0x40281d6
push 1
call fcn.00445bf0
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x20]
call fcn.00401b2c
mov eax, 0
cmp eax, ecx
jl 0x420be1
push 0x494
push 0x40281d6
push 1
call fcn.00445bf0
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], esp
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp + 0x14]
push 0
push dword [ebp - 0x10]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.GDI32.dll_GetDIBits]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x420c28
push 0x494
push 0x40281d6
push 6
call fcn.00445bf0
add esp, 0xc
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x420cfc
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp + 0x14]
fstp qword [ebp - 0x34]
fmul qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x471087]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.00402a49
mov dword [ebp - 0x24], eax
push SysStringLen
push 0
push 0x4713f0
push 1
mov ebx, 0x198
call fcn.00447820
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x80000301
push 0
push dword [ebp - 0x24]
push 1
mov ebx, 0x198
call fcn.00447820
add esp, 0x10
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x20]
push 0x4713f3
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
mov ecx, 4
call fcn.0040309f
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x420ccf
push ebx
call fcn.00445be4
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x420cdf
push ebx
call fcn.00445be4
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420cf3
push ebx
call fcn.00445be4
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
jmp 0x420d2d
mov eax, 0x45baf4
test eax, eax
je 0x420d18
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00445bea
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420d29
push ebx
call fcn.00445be4
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x420d59
push 0x60c
push 0x40281d6
push 6
call fcn.00445bf0
add esp, 0xc
mov dword [ebp - 0x28], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x420d85
push 0x626
push 0x40281d6
push 6
call fcn.00445bf0
add esp, 0xc
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x420d9f
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00445bea
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x420da4
push eax
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00445be4
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420dc1
push ebx
call fcn.00445be4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10