Function at 0x446820
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45ead8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], 0x460c84
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x9c], ebx
cmp edi, ebx
je 0x447479
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
test eax, eax
jne 0x447479
mov edx, dword [edi]
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [eax]
cmp ecx, ebx
mov dword [esp + 0x38], ecx
mov ebp, dword [eax + 4]
mov dword [esp + 0x3c], ebp
jle 0x447464
cmp ebp, ebx
jle 0x447464
mov esi, dword [esp + 0xc0]
cmp esi, ebx
je 0x4468ae
cmp dword [esp + 0xc8], ebx
jne 0x4468c5
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov esi, edx
mov dword [esp + 0xc8], esi
mov ebx, dword [esp + 0xbc]
test ebx, ebx
je 0x4468db
mov eax, dword [esp + 0xc4]
test eax, eax
jne 0x4468f2
mov eax, 0x55555556
imul ebp
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0xc4], edx
mov ebx, edx
mov ebp, dword [esp + 0xa4]
push ebp
call sub.MFC42u.DLL_CDC::FromHandle
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xac]
sub ecx, edx
mov edx, dword [esp + 0xb0]
sub edx, dword [esp + 0xa8]
mov dword [esp + 0x24], ecx
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
mov dword [esp + 0x3c], edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42u.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], eax
call fcn.00456236
mov ecx, dword [esp + 0x28]
xor edx, edx
mov dword [esp + 0x80], edx
lea eax, [esp + 0x7c]
mov dword [esp + 0x84], edx
push eax
mov dword [esp + 0x8c], edx
push 0x18
mov dword [esp + 0x94], edx
push ecx
mov byte [esp + 0xa8], 3
mov dword [esp + 0x5c], 0x461ba8
mov dword [esp + 0x88], 0
mov dword [esp + 0x9c], edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
push ebp
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x7c], 0
call sub.MFC42u.DLL_CDC::FromHandle
test eax, eax
je 0x4469d3
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x54]
call sub.MFC42u.DLL_CDC::Attach
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4469fa
mov ecx, dword [esp + 0x54]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4469fc
xor eax, eax
mov dword [esp + 0x78], eax
push ebp
mov byte [esp + 0xa0], 4
call sub.MFC42u.DLL_CDC::FromHandle
test eax, eax
jne 0x446a16
xor edx, edx
jmp 0x446a19
mov edx, dword [eax + 4]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x44]
push edx
push eax
mov eax, dword [esp + 0x70]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xc8]
add eax, ebx
sub ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc4]
sub edx, ecx
mov dword [esp + 0x18], eax
cmp eax, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
jge 0x446c71
mov eax, dword [esp + 0x3c]
sub eax, ebx
sub eax, ecx
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x1c]
mov ecx, esi
cmp esi, edx
mov dword [esp + 0x2c], ecx
jge 0x446c5b
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0xc8]
sub eax, esi
sub eax, edx
mov dword [esp + 0x30], eax
jmp 0x446ad5
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
add eax, ecx
mov dword [esp + 0x28], eax
cmp eax, edx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
jl 0x446b9a
add eax, edx
mov edx, dword [esp + 0x20]
cmp eax, edx
jl 0x446b82
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
push 0xcc0020
push dword [esp + 0x14]
and eax, ecx
mov ecx, edx
mov edx, dword [esp + 0x18]
sub ecx, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x34]
push ecx
push eax
mov eax, dword [esp + 0x34]
sub edx, ecx
push eax
mov dword [esp + 0x54], edx
push edx
mov edx, dword [esp + 0x28]
push edx
push ecx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov eax, dword [edi]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push edx
mov edx, dword [esp + 0x38]
push esi
push ecx
push edx
mov edx, dword [esp + 0x30]
sub esp, 0x10
mov ecx, esp
push ebp
mov dword [ecx], esi
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x48]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 0xc], edx
mov ecx, edi
call dword [eax + 0x14]
jmp 0x446c43
mov edx, dword [esp + 0x34]
mov eax, dword [edi]
push edx
mov edx, dword [esp + 0x20]
sub edx, ecx
push ebx
push edx
mov edx, dword [esp + 0x1c]
push esi
push edx
push ecx
jmp 0x446b5b
add eax, edx
mov edx, dword [esp + 0x20]
cmp eax, edx
jl 0x446c0d
lea eax, [esp + 0x50]
push 0xcc0020
neg eax
sbb eax, eax
sub edx, dword [esp + 0x14]
and eax, dword [esp + 0x58]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
push edx
push ecx
push eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x44]
push eax
push edx
push ecx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x14]
push ebx
push ecx
mov ecx, dword [esp + 0x38]
push esi
push eax
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov edx, dword [edi]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
jmp 0x446c3d
mov eax, dword [esp + 0x34]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
push ecx
mov eax, dword [esp + 0x30]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 0xc], eax
push ebp
mov ecx, edi
call dword [edx + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x446acd
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
add ecx, eax
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x446aa6
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xac]
sub edx, eax
mov eax, ecx
push 0xcc0020
add eax, ebx
push ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x58]
neg eax
sbb eax, eax
push esi
and eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
sub edx, esi
push eax
mov eax, dword [esp + 0x30]
sub eax, ecx
mov dword [esp + 0x50], edx
push eax
push edx
push ecx
push esi
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x1c]
mov ecx, esi
cmp esi, eax
mov dword [esp + 0x2c], ecx
jge 0x446dae
mov eax, dword [esp + 0xc8]
mov edx, eax
neg edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x24], edx
jmp 0x446d0b
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc8]
lea edx, [ecx + eax]
cmp edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
jl 0x446d59
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0xb0]
push edx
push ecx
push eax
push ebx
push esi
push edx
push ecx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x24]
mov edx, dword [edi]
mov ecx, dword [esp + 0x2c]
push ebx
push 0
push eax
mov eax, dword [esp + 0xb8]
push esi
push eax
jmp 0x446d68
mov edx, dword [edi]
push ebx
push 0
push eax
mov eax, dword [esp + 0xb8]
push esi
push eax
push ecx
sub esp, 0x10
mov ecx, esp
push ebp
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xd8]
add eax, ebx
mov dword [ecx + 0xc], eax
mov ecx, edi
call dword [edx + 0x14]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
cmp eax, ecx
mov dword [esp + 0x24], edx
jl 0x446d00
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x20], ecx
sub edx, eax
mov eax, dword [esp + 0xc4]
sub ecx, eax
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
push 0xcc0020
and eax, dword [esp + 0x58]
push ecx
push esi
mov dword [esp + 0x28], edx
push eax
mov eax, dword [esp + 0x30]
sub eax, ecx
sub edx, esi
push eax
push edx
push ecx
push esi
push ebp
mov dword [esp + 0x3c], ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x1c]
mov ecx, esi
cmp esi, eax
mov dword [esp + 0x2c], ecx
jge 0x446f21
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0xc8]
sub eax, esi
sub eax, edx
mov dword [esp + 0x30], eax
jmp 0x446e46
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
add eax, ecx
cmp eax, edx
mov dword [esp + 0x28], eax
jl 0x446ecb
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x1c]
push edx
push ecx
push eax
mov eax, dword [esp + 0xd4]
push eax
push esi
push edx
push ecx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x3c]
sub ecx, eax
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [edi]
sub ecx, eax
mov dword [esp + 0x48], edx
push ecx
mov ecx, dword [esp + 0x24]
push esi
push ecx
push eax
mov eax, dword [esp + 0x34]
sub esp, 0x10
mov edx, esp
push ebp
mov dword [edx], esi
mov dword [edx + 4], ecx
mov ecx, edi
mov dword [edx + 8], eax
mov eax, dword [esp + 0xe0]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x6c]
jmp 0x446f0a
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x3c]
push eax
sub ecx, eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
push ecx
sub esp, 0x10
mov edx, dword [edi]
mov ecx, esp
push ebp
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xe0]
mov dword [ecx + 0xc], eax
mov ecx, edi
call dword [edx + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x446e3e
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xa8]
sub edx, eax
lea eax, [esp + 0x50]
push 0xcc0020
neg eax
sbb eax, eax
mov dword [esp + 0x24], edx
and eax, dword [esp + 0x58]
push ebx
push ecx
sub edx, ebx
push eax
push edx
mov edx, esi
sub edx, ecx
push edx
push ebx
push ecx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x20]
mov ecx, ebx
cmp ebx, eax
mov dword [esp + 0x10], ecx
jge 0x447034
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0xc4]
sub eax, ebx
sub eax, edx
mov dword [esp + 0x34], eax
jmp 0x446fa6
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
lea edx, [eax + ecx]
cmp edx, dword [esp + 0x20]
mov dword [esp + 0x28], edx
jl 0x446ff6
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0xac]
push ecx
push edx
push eax
mov eax, dword [esp + 0xd4]
push eax
push esi
push ecx
push edx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov edx, dword [edi]
sub ecx, eax
push ecx
push ebx
push esi
push 0
push eax
jmp 0x446ffe
mov edx, dword [edi]
push eax
push ebx
push esi
push 0
push ecx
mov eax, dword [esp + 0xbc]
push eax
sub esp, 0x10
mov ecx, esp
push ebp
mov dword [ecx], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
mov ecx, edi
call dword [edx + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x446f9e
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x1c], ecx
sub ecx, eax
mov eax, dword [esp + 0xc4]
sub edx, eax
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
push 0xcc0020
and eax, dword [esp + 0x58]
push ebx
push ecx
mov dword [esp + 0x2c], edx
push eax
mov eax, dword [esp + 0x2c]
sub edx, ebx
sub eax, ecx
push edx
push eax
push ebx
push ecx
push ebp
mov dword [esp + 0x48], ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x20]
mov edx, ebx
cmp ebx, eax
mov dword [esp + 0x10], edx
jge 0x447187
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc4]
sub eax, ebx
sub eax, ecx
mov dword [esp + 0x34], eax
jmp 0x4470cc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
lea ecx, [eax + edx]
cmp ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
jl 0x447135
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
push 0xcc0020
push edx
mov edx, dword [esp + 0x2c]
sbb eax, eax
push edx
and eax, ecx
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0xd4]
push eax
mov eax, dword [esp + 0xd8]
push eax
mov dword [esp + 0x44], ecx
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov edx, dword [edi]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0xcc]
push ebx
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
jmp 0x44714c
mov ecx, dword [esp + 0x38]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0xcc]
push ebx
sub ecx, eax
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
mov eax, dword [esp + 0x38]
push eax
sub esp, 0x10
mov ecx, esp
push ebp
mov dword [ecx], eax
mov eax, dword [esp + 0xdc]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov ecx, edi
call dword [edx + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4470c4
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
lea eax, [ecx + ebx]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x50]
add edx, esi
push 0xcc0020
neg eax
sbb eax, eax
push ecx
and eax, dword [esp + 0x5c]
push dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x30]
sub eax, ecx
push eax
mov eax, dword [esp + 0x28]
sub edx, eax
push edx
push ecx
push eax
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0xac]
push ebx
push 0
push esi
push 0
push eax
mov eax, dword [esp + 0xbc]
mov edx, dword [edi]
push eax
sub esp, 0x10
mov ecx, esp
push ebp
mov dword [ecx], eax
mov eax, dword [esp + 0xd8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xd4]
add eax, esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov ecx, edi
call dword [edx + 0x14]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x54]
lea eax, [ecx + ebx]
push 0xcc0020
mov dword [esp + 0x24], eax
lea eax, [esp + 0x54]
neg eax
sbb eax, eax
push ecx
and eax, edx
mov edx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x30]
sub eax, ecx
push eax
mov eax, dword [esp + 0xc4]
sub eax, edx
push eax
push ecx
push edx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xc8]
sub eax, ecx
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [esp + 0x28]
push 0
push ecx
push eax
mov eax, dword [esp + 0xbc]
push eax
push ebx
sub esp, 0x10
mov edx, dword [edi]
mov ecx, esp
push ebp
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xdc]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov ecx, edi
call dword [edx + 0x14]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc4]
mov ecx, edx
push 0xcc0020
sub ecx, eax
lea eax, [esp + 0x54]
neg eax
sbb eax, eax
push ecx
and eax, dword [esp + 0x5c]
push dword [esp + 0x1c]
sub edx, ecx
mov dword [esp + 0x24], ecx
push eax
push edx
mov edx, dword [esp + 0xbc]
lea eax, [edx + esi]
mov dword [esp + 0x54], eax
mov edx, eax
mov eax, dword [esp + 0x28]
sub edx, eax
push edx
push ecx
push eax
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc4]
sub eax, ecx
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xb0]
push esi
push 0
push ecx
push eax
sub esp, 0x10
mov edx, dword [edi]
mov esi, esp
push ebp
mov dword [esi], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 4], ecx
mov ecx, edi
mov dword [esi + 8], eax
mov eax, dword [esp + 0xe0]
mov dword [esi + 0xc], eax
call dword [edx + 0x14]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xc4]
mov esi, ecx
push 0xcc0020
sub esi, eax
lea eax, [esp + 0x54]
neg eax
sbb eax, eax
push esi
and eax, dword [esp + 0x5c]
push ebx
sub ecx, esi
sub edx, ebx
push eax
push ecx
push edx
push esi
push ebx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xcc]
push ecx
mov ecx, dword [esp + 0x38]
push eax
push ecx
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0xd8]
mov ecx, esp
mov edx, dword [edi]
push ebp
mov dword [ecx], ebx
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xe0]
mov dword [ecx + 0xc], eax
mov ecx, edi
call dword [edx + 0x14]
mov dword [esp + 0x50], 0x461ba8
mov eax, dword [esp + 0x78]
mov byte [esp + 0x9c], 5
test eax, eax
je 0x447435
mov edx, dword [esp + 0x54]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x50]
call sub.MFC42u.DLL_CDC::DeleteDC
lea ecx, [esp + 0x50]
mov byte [esp + 0x9c], 0
call sub.MFC42u.DLL_CDC::CDC
mov dword [esp + 0x48], 0x460bf4
mov dword [esp + 0x9c], 6
jmp 0x44748c
mov dword [esp + 0x48], 0x460bf4
mov dword [esp + 0x9c], 2
jmp 0x44748c
mov dword [esp + 0x48], 0x460bf4
mov dword [esp + 0x9c], 1
lea ecx, [esp + 0x48]
call sub.MFC42u.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret