Function at 0x4201d0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x44ae56
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46974c]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov eax, vtable.CBitmap.0
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], eax
mov dword [esp + 0xd0], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xd0], 2
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
call fcn.0042a737
lea ecx, [esp + 0x70]
mov byte [esp + 0xd0], 3
call fcn.0042a737
push edi
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd4], 4
call fcn.0042abd0
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x124]
push edi
push eax
mov byte [esp + 0xd8], 5
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
mov ecx, esi
call fcn.0042a9d9
mov edx, dword [esi + 0x104]
lea ecx, [esp + 0xb0]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x84]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
push 0x259
call fcn.004152d0
mov ebx, dword [esp + 0xb4]
sub ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x4c], ebx
sub ebx, eax
mov eax, dword [esp + 0xb8]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x48], eax
sub eax, ecx
mov ecx, dword [esp + 0xa0]
push ecx
mov dword [esp + 0x48], eax
call ebp
push eax
lea ecx, [esi + 0xd8]
call fcn.0042ab3d
mov edx, dword [esp + 0xa0]
push edx
call ebp
push eax
lea ecx, [esi + 0xc8]
call fcn.0042ab3d
mov eax, dword [esp + 0xa0]
push eax
call ebp
push eax
lea ecx, [esi + 0xb8]
call fcn.0042ab3d
lea eax, [esi + 0xd8]
test eax, eax
je 0x420357
mov eax, dword [eax + 4]
push eax
call ebp
push eax
lea ecx, [esp + 0x38]
call fcn.0042ab3d
lea eax, [esi + 0xd8]
test eax, eax
je 0x420371
mov eax, dword [eax + 4]
push eax
call ebp
push eax
lea ecx, [esp + 0x74]
call fcn.0042ab3d
movzx edx, word [esp + 0xc2]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
mov ebp, dword [sym.imp.GDI32.dll_CreateBitmap]
push 0
push edx
push 1
push eax
push ecx
call ebp
push eax
lea ecx, [esp + 0x5c]
call fcn.0042ad75
mov ecx, dword [esi + 0x7c]
cmp dword [ecx], 0
jle 0x420449
mov eax, dword [esi + 0xf4]
lea edx, [esp + 0x84]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
movzx ecx, word [esp + 0xc2]
mov eax, dword [edi + 8]
sub eax, dword [edi]
push 0
push ecx
mov ecx, dword [esp + 0x94]
push 1
push ecx
push eax
call ebp
push eax
lea ecx, [esp + 0x64]
call fcn.0042ad75
movzx ecx, word [esp + 0xc2]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x8c]
sub eax, dword [edi]
push 0
push ecx
push 1
push edx
push eax
call ebp
push eax
lea ecx, [esp + 0x54]
call fcn.0042ad75
mov eax, dword [esp + 0x64]
mov ecx, dword [esi + 0xcc]
push eax
push ecx
call fcn.0042adfa
mov edx, dword [esp + 0x54]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0xbc]
push edx
push eax
call fcn.0042adfa
mov dword [esi + 0x110], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi + 0xdc]
push ecx
push edx
call fcn.0042adfa
mov dword [esi + 0x108], eax
lea eax, [esi + 0xe8]
test eax, eax
je 0x42046d
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 0xdc]
push edi
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [esi + 0x100]
test eax, eax
je 0x420489
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.0042adfa
mov edx, dword [edi + 8]
sub edx, dword [edi]
mov ecx, dword [esp + 0x1c]
sub edx, dword [esp + 0x18]
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
push 0xcc0020
sub eax, dword [esp + 0x18]
push 0
push 0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esi + 0xdc]
push ecx
mov dword [esi + 0xb4], edx
mov edx, dword [esp + 0x38]
push edx
push 0
push 0
push eax
call ebp
mov edx, dword [edi + 8]
sub edx, dword [edi]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
sub edx, eax
cmp ecx, edx
mov dword [esp + 0x28], ecx
jge 0x420567
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push 0
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esi + 0xdc]
push edx
push ebx
push 0
push eax
push ecx
call ebp
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
push 0xcc0020
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esi + 0xdc]
push ebx
push eax
push ecx
push edx
call ebp
mov edx, dword [edi + 8]
sub edx, dword [edi]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
add ecx, ebx
sub edx, eax
cmp ecx, edx
mov dword [esp + 0x28], ecx
jl 0x4204fa
mov edx, dword [esp + 0x4c]
mov ecx, dword [esi + 0xb4]
push 0xcc0020
push 0
push edx
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esi + 0xdc]
push 0
push ecx
push eax
call ebp
mov ecx, dword [edi + 0xc]
sub ecx, dword [edi + 4]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
sub ecx, eax
cmp ebx, ecx
jge 0x42060e
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
push 0xcc0020
push edx
mov edx, dword [esp + 0x2c]
push 0
push eax
mov eax, dword [esi + 0xdc]
push ecx
push edx
push ebx
push 0
push eax
call ebp
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
mov eax, dword [esi + 0xb4]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esi + 0xdc]
push ecx
push ebx
push eax
push edx
call ebp
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x14]
add ebx, dword [esp + 0x44]
sub ecx, eax
sub ecx, dword [edi + 4]
cmp ebx, ecx
jl 0x4205a4
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
push 0xcc0020
push edx
mov edx, dword [esp + 0x2c]
push 0
push ecx
push eax
mov eax, dword [esi + 0xdc]
push edx
push ebx
push 0
push eax
call ebp
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esi + 0xb4]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esi + 0xdc]
push ecx
push ebx
push eax
push edx
call ebp
mov eax, dword [esi + 0xc8]
mov edx, dword [eax + 0x28]
lea ecx, [esi + 0xc8]
lea ebx, [esi + 0x90]
push ebx
call edx
lea ecx, [esi + 0xb8]
mov dword [esi + 0x88], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
push ebx
call edx
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x188]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
mov eax, dword [esi + 0xd0]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esi + 0x7c]
cmp dword [ecx], 0
jle 0x4208a7
mov edx, dword [esp + 0x88]
mov eax, 0x55555556
imul edx
mov eax, dword [ecx + 4]
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp eax, 0xffffffff
jne 0x420724
mov eax, dword [edi + 8]
sub eax, dword [edi]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
sub edx, eax
sub edx, 0x1e
cmp edx, 0x28
jg 0x42070d
mov dword [esp + 0x20], 0x28
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov dword [esi + 0x114], edx
sub eax, ebx
sub eax, edx
mov dword [esi + 0x11c], eax
jmp 0x420743
mov edx, dword [esi + 0x80]
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x114], eax
mov edx, dword [edx]
add edx, ebx
lea edx, [edi + edx*2]
add edx, eax
mov dword [esi + 0x11c], edx
mov ecx, dword [ecx + 8]
cmp ecx, 0xffffffff
mov eax, 4
je 0x420752
mov eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x118], eax
add eax, ecx
mov dword [esi + 0x120], eax
lea eax, [esi + 0xf0]
test eax, eax
je 0x420781
mov eax, dword [eax + 4]
test eax, eax
je 0x420781
mov edx, dword [esp + 0x38]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esi + 0xf8]
test eax, eax
je 0x42078e
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x78]
push eax
call fcn.0042adfa
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x8c]
push 0xcc0020
push 0
push 0
push ecx
push edx
push ebx
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x114]
push 0
push eax
mov eax, dword [esi + 0xcc]
push eax
call ebp
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x8c]
mov eax, dword [esi + 0x114]
push 0xcc0020
push 0
push 0
push ecx
push edx
push ebx
push 0
push eax
mov eax, dword [esi + 0xbc]
push eax
call ebp
mov edi, dword [esi + 0x114]
add edi, ebx
cmp edi, dword [esi + 0x11c]
jge 0x42084e
nop
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x8c]
mov eax, dword [esi + 0xcc]
push 0xcc0020
push 0
push ebx
push ecx
push edx
push ebx
push 0
push edi
push eax
call ebp
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x8c]
mov eax, dword [esi + 0xbc]
push 0xcc0020
push 0
push ebx
push ecx
push edx
push ebx
push 0
push edi
push eax
call ebp
add edi, ebx
cmp edi, dword [esi + 0x11c]
jl 0x420800
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x8c]
mov eax, dword [esi + 0x11c]
push 0xcc0020
push 0
lea edi, [ebx + ebx]
push edi
push ecx
push edx
push ebx
sub eax, ebx
push 0
push eax
mov eax, dword [esi + 0xcc]
push eax
call ebp
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x8c]
mov eax, dword [esi + 0x11c]
push 0xcc0020
push 0
push edi
push ecx
push edx
push ebx
sub eax, ebx
push 0
push eax
mov eax, dword [esi + 0xbc]
push eax
call ebp
jmp 0x4208fa
mov ebx, dword [esi + 0x80]
mov ecx, dword [ebx]
cmp ecx, 0xffffffff
mov ebp, dword [esp + 0x2c]
jne 0x4208cd
mov eax, dword [edi + 8]
sub eax, dword [edi]
cdq
sub eax, edx
mov ecx, eax
mov eax, ebp
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
mov dword [esi + 0x114], ecx
add ecx, ebp
mov dword [esi + 0x11c], ecx
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jne 0x4208e8
mov eax, 4
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x118], eax
add eax, ecx
mov dword [esi + 0x120], eax
mov eax, dword [esp + 0x80]
test eax, eax
je 0x420913
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x38]
push eax
push edx
call fcn.0042adfa
mov eax, dword [esp + 0x20]
test eax, eax
je 0x420929
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x78]
push eax
call fcn.0042adfa
lea ecx, [esp + 0x58]
call fcn.0042adc8
lea ecx, [esp + 0x60]
call fcn.0042adc8
lea ecx, [esp + 0x50]
call fcn.0042adc8
lea ecx, [esp + 0x34]
call fcn.0042aba1
lea ecx, [esp + 0x70]
call fcn.0042aba1
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd0], 4
call fcn.0042ac24
lea ecx, [esp + 0x70]
mov byte [esp + 0xd0], 3
call fcn.0042abb7
lea ecx, [esp + 0x34]
mov byte [esp + 0xd0], 2
call fcn.0042abb7
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x50]
mov byte [esp + 0xd0], 1
mov dword [esp + 0x50], esi
call fcn.0042adc8
lea ecx, [esp + 0x60]
mov byte [esp + 0xd0], 0
mov dword [esp + 0x60], esi
call fcn.0042adc8
lea ecx, [esp + 0x58]
mov dword [esp + 0xd0], 0xffffffff
mov dword [esp + 0x58], esi
call fcn.0042adc8
mov eax, 1
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret