Function at 0x434f30
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b6c3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x504
push ebx
push esi
mov ebx, ecx
push edi
push 0
lea ecx, [esp + 0x118]
mov dword [esp + 0x44], ebx
call fcn.00430980
mov edx, dword [ebp + 0x1c]
mov ecx, 1
mov dword [esp + 0x120], edx
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
cmp edx, ecx
mov dword [esp + 0x518], 0
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], eax
jge 0x434fa6
mov dword [esp + 0x518], eax
jmp 0x4371db
lea eax, [esp + 0x500]
mov ecx, ebx
push eax
call fcn.00430b70
mov eax, dword [ebp + 8]
movsx ecx, word [eax]
mov edi, dword [eax + 2]
mov edx, dword [eax + 6]
lea esi, [eax + 2]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x64], ecx
mov ecx, ebx
shl eax, 8
mov dword [esp + 0x78], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0xb0], eax
call fcn.00430b40
mov ecx, dword [esp + 0xb0]
mov dword [0x4d5ad0], eax
cmp ecx, eax
mov dword [esp + 0x98], 0
jg 0x4352ff
mov al, byte [ebp + 0x14]
test al, al
jne 0x4352ff
push 8
mov dword [esp + 0x9c], 8
add esi, 8
call fcn.004aa6ea
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x518], 1
je 0x43504b
mov ecx, dword [ebp + 0x1c]
push ecx
mov ecx, eax
call fcn.004ae105
mov dword [esp + 0x18], eax
jmp 0x435053
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x2c]
push edx
mov byte [esp + 0x51c], 0
call fcn.004ad7e9
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [0x4d5a64], eax
lea eax, [esp + 0x20]
mov dword [0x4d5a60], ecx
push 1
push eax
mov ecx, ebx
mov dword [0x4d5a68], ebx
mov dword [0x4d5a74], 0x437200
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
call fcn.00430d20
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx*4 + 0x4d0d0c]
mov ecx, dword [ebx + 0x2c]
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
push 1
push 1
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esp + 0x504]
mov edx, dword [ebx]
mov ecx, dword [esp + 0x50c]
mov dword [ebx], 0
shl eax, 8
sub eax, 0x100
inc ecx
mov dword [0x4d5a90], eax
mov eax, dword [esp + 0x64]
shl ecx, 8
test eax, eax
mov dword [esp + 0x1c], edx
mov dword [0x4d5a8c], ecx
jle 0x4352b1
mov edx, eax
mov dword [esp + 0x60], edx
movsx eax, word [esi]
movsx ecx, word [esi + 2]
add esi, 4
mov dword [esp + 0x68], ecx
test eax, eax
je 0x435263
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x20]
mov dword [esp + 0x24], ecx
push 1
push edx
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.00430ca0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [0x4d5ab4], eax
mov dword [0x4d5ab0], ecx
add eax, 0x80
add ecx, 0x80
sar eax, 8
sar ecx, 8
mov dword [0x4d5abc], eax
mov dword [0x4d5ab8], ecx
mov eax, dword [esi]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x24], ecx
push 1
push edx
mov ecx, ebx
call fcn.00430ca0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x38], eax
lea eax, [ecx - 1]
cmp eax, 1
jle 0x435217
lea edx, [esi + 8]
dec eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x5c]
push 1
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
mov dword [esp + 0x2c], edx
call fcn.00430ca0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
lea eax, [ecx + edx]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x24]
add eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
push edi
call fcn.004344b0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x5c]
add ecx, 8
dec eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x44], eax
jne 0x4351b2
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x20]
push 1
push edx
mov ecx, dword [esi + eax*8 - 8]
mov dword [esp + 0x28], ecx
mov eax, dword [esi + eax*8 - 4]
mov dword [esp + 0x5c], ecx
mov ecx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
call fcn.00430ca0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
push edi
call fcn.004344b0
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x54]
lea esi, [esi + eax*8]
jmp 0x4352a2
test ecx, ecx
jle 0x4352a2
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push edi
mov ecx, ebx
call fcn.00432b70
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
add esi, 8
dec eax
mov dword [esp + 0x5c], eax
jne 0x43526b
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0x60]
dec eax
mov dword [esp + 0x60], eax
jne 0x435110
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4352d8
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x78]
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push edi
mov ecx, ebx
call fcn.00432b70
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [ebx + 0x2c]
call fcn.004ad7e9
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4352f4
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
mov dword [ebx], eax
jmp 0x43701f
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x64]
shl edx, 8
shl ecx, 8
mov dword [esi], edx
mov dword [esi + 4], ecx
shl edi, 8
shl ebx, 8
add esi, 8
mov dword [esp + 0x54], edi
test eax, eax
mov dword [esp + 0xc], ebx
jle 0x43541f
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x38], eax
movsx eax, word [esi + 2]
add esi, 4
test eax, eax
jle 0x43537e
mov ecx, eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
shl eax, 8
shl edx, 8
cmp eax, edi
mov dword [esi], eax
mov dword [esp + 0x5c], eax
mov dword [esi + 4], edx
mov dword [esp + 0x68], edx
jne 0x43536e
mov edx, dword [esp + 0xc]
cmp dword [esp + 0x68], edx
je 0x435378
mov ebx, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
add esi, 8
dec ecx
jne 0x435348
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x38], eax
jne 0x43533b
mov dword [esp + 0x8c], ebx
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0xb0]
push ecx
lea eax, [esp + 0x31c]
push edx
push eax
call fcn.004372c0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0xc]
add ecx, 0xa
test eax, eax
mov dword [esp + 0x28], ecx
jne 0x4353ca
mov ebx, SysReAllocString
mov dword [esp + 0x8c], ebx
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x44], esi
test eax, eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x38], 0
jl 0x43701f
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
cmp ecx, edx
jne 0x43542b
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43702a
mov eax, dword [esp + 0x78]
mov ecx, 1
mov dword [esp + 0x60], ecx
mov dword [esp + 0x28], eax
jmp 0x436889
mov ebx, dword [esp + 0x8c]
jmp 0x435390
movsx edx, word [eax]
movsx ecx, word [eax + 2]
add eax, 4
mov dword [esp + 0x60], ecx
test edx, edx
mov dword [esp + 0x28], eax
je 0x436889
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp ebx, 0x7fffffff
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
je 0x435b3b
mov eax, dword [esp + 0x50]
push 1
add eax, eax
lea ecx, [esp + 0x31c]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x22c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edi
push esi
push edx
push ebx
call fcn.00434b60
mov eax, dword [0x4d5a88]
mov ecx, dword [0x4d5a84]
add esp, 0x28
cmp eax, esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x80], ecx
jne 0x4354b6
cmp ecx, edi
je 0x435b3b
mov ebx, dword [esp + 0x50]
push 0
lea edx, [ebx + ebx]
push edx
lea edx, [esp + 0x320]
push edx
lea edx, [esp + 0x1d0]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28]
push edx
push ecx
push eax
push edi
push esi
call fcn.00434b60
add esp, 0x28
test ebx, ebx
jle 0x435b2d
mov eax, dword [esp + 0x50]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], eax
mov esi, dword [esp + ebx + 0x1cc]
mov ecx, dword [esp + ebx + 0x228]
sar esi, 8
mov dword [esp + 0x44], esi
mov dword [esp + 0xc4], esi
mov esi, dword [esp + ebx + 0x1d0]
mov edx, dword [esp + ebx + 0x22c]
sar esi, 8
mov eax, dword [esp + ebx + 0x224]
mov dword [esp + 0x3c], esi
mov dword [esp + 0xc8], esi
mov esi, dword [esp + ebx + 0x1c4]
mov edi, dword [esp + ebx + 0x230]
sar esi, 8
sar ecx, 8
mov dword [esp + 0x10], esi
mov dword [esp + 0xcc], esi
mov esi, dword [esp + ebx + 0x1c8]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x160], ecx
mov ecx, dword [esp + 0x10]
sar edx, 8
sar esi, 8
mov dword [esp + 0xbc], edx
mov dword [esp + 0x164], edx
mov dword [esp + 0x16c], ecx
mov ecx, dword [esp + 0x3c]
sar eax, 8
mov edx, esi
mov dword [esp + 0xb4], eax
sar edi, 8
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x170], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x178], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xc0], edi
mov dword [esp + 0x168], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xc4]
mov edi, esi
mov esi, dword [esp + 0xbc]
sub edi, eax
mov eax, dword [esp + 0xc0]
sub ecx, esi
mov esi, dword [esp + 0xc8]
mov dword [esp + 0x10], ecx
sub esi, eax
imul ecx, edi
mov dword [esp + 0x1c], esi
imul esi, edx
mov eax, ecx
sub eax, esi
mov dword [esp + 0x44], eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x435797
mov eax, dword [esp + 0xc8]
mov ebx, dword [esp + 0xd0]
sub eax, ebx
imul eax, dword [esp + 0x10]
imul eax, edx
mov edx, esi
imul esi, dword [esp + 0xd0]
imul edx, dword [esp + 0xc4]
sub eax, edx
mov edx, ecx
imul edx, dword [esp + 0xcc]
imul ecx, dword [esp + 0xc8]
add eax, edx
cdq
idiv dword [esp + 0x44]
mov edx, dword [esp + 0xcc]
mov ebx, eax
mov eax, dword [esp + 0xc4]
sub eax, edx
imul eax, dword [esp + 0x1c]
imul eax, edi
sub eax, ecx
xor ecx, ecx
add eax, esi
mov dword [esp + 0x140], ecx
cdq
idiv dword [esp + 0x3c]
mov esi, eax
mov eax, vtable.CRgn.0
mov dword [esp + 0x13c], eax
mov dword [esp + 0x138], ecx
mov dword [esp + 0x134], eax
mov edi, dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push 1
lea eax, [esp + 0xb8]
push 4
push eax
mov byte [esp + 0x524], 3
call edi
push eax
lea ecx, [esp + 0x140]
call fcn.004ae048
push 1
lea ecx, [esp + 0x160]
push 4
push ecx
call edi
push eax
lea ecx, [esp + 0x138]
call fcn.004ae048
mov edx, dword [esp + 0x140]
mov edi, dword [sym.imp.GDI32.dll_PtInRegion]
push esi
push ebx
push edx
call edi
test eax, eax
jne 0x43573d
mov eax, dword [esp + 0x138]
push esi
push ebx
push eax
call edi
test eax, eax
jne 0x43573d
mov esi, 1
jmp 0x43573f
xor esi, esi
mov edi, vtable.CGdiObject.0
mov dword [esp + 0x134], edi
lea ecx, [esp + 0x134]
mov byte [esp + 0x518], 4
call fcn.004ae09f
mov dword [esp + 0x13c], edi
lea ecx, [esp + 0x13c]
mov byte [esp + 0x518], 5
call fcn.004ae09f
test esi, esi
mov byte [esp + 0x518], 0
je 0x435946
mov edi, dword [esp + 0xbc]
mov ebx, dword [esp + 0x18]
jmp 0x43579e
mov edi, dword [esp + 0xbc]
mov esi, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov ecx, edi
sub ecx, esi
mov esi, dword [esp + 0xc0]
sub esi, edx
test ecx, ecx
jle 0x4357e2
mov eax, dword [esp + 0xc4]
sub eax, edi
imul eax, esi
cdq
idiv ecx
mov edx, dword [esp + 0xc0]
add eax, edx
mov edx, dword [esp + 0xc8]
cmp edx, eax
jl 0x435831
test ecx, ecx
jge 0x435809
mov eax, dword [esp + 0xc4]
sub eax, edi
imul eax, esi
cdq
idiv ecx
mov edx, dword [esp + 0xc0]
add eax, edx
mov edx, dword [esp + 0xc8]
cmp edx, eax
jg 0x435831
test ecx, ecx
jne 0x4358bc
test esi, esi
jle 0x43581e
cmp dword [esp + 0xc4], edi
jg 0x435831
test esi, esi
jge 0x4358bc
cmp dword [esp + 0xc4], edi
jge 0x4358bc
mov ecx, dword [esp + ebx + 0x224]
mov edx, dword [esp + ebx + 0x228]
mov eax, dword [esp + ebx + 0x22c]
mov dword [esp + 0x380], ecx
mov ecx, dword [esp + ebx + 0x230]
mov dword [esp + 0x384], edx
mov edx, dword [esp + ebx + 0x1cc]
mov dword [esp + 0x388], eax
mov eax, dword [esp + ebx + 0x1d0]
mov dword [esp + 0x38c], ecx
mov ecx, dword [esp + ebx + 0x1c4]
mov dword [esp + 0x390], edx
mov edx, dword [esp + ebx + 0x1c8]
mov dword [esp + 0x394], eax
mov dword [esp + 0x398], ecx
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x114]
mov dword [esp + 0x39c], edx
push eax
push ecx
lea edx, [esp + 0x388]
push 4
push edx
jmp 0x435b0e
mov eax, dword [esp + ebx + 0x22c]
mov edx, dword [esp + ebx + 0x224]
mov ecx, dword [esp + ebx + 0x230]
mov dword [esp + 0x3e0], eax
mov eax, dword [esp + ebx + 0x228]
mov dword [esp + 0x3e8], edx
mov edx, dword [esp + ebx + 0x1c8]
mov dword [esp + 0x3e4], ecx
mov ecx, dword [esp + ebx + 0x1c4]
mov dword [esp + 0x3ec], eax
mov eax, dword [esp + ebx + 0x1cc]
mov dword [esp + 0x3f4], edx
mov dword [esp + 0x3f0], ecx
mov ecx, dword [esp + ebx + 0x1d0]
mov dword [esp + 0x3f8], eax
mov eax, dword [ebp + 0x18]
lea edx, [esp + 0x114]
mov dword [esp + 0x3fc], ecx
push edx
push eax
push 4
lea ecx, [esp + 0x3ec]
jmp 0x435b0d
mov esi, dword [esp + 0x164]
mov ebx, dword [esp + 0x15c]
mov edx, dword [esp + 0x168]
mov edi, dword [esp + 0x160]
mov ecx, esi
sub edx, edi
mov edi, dword [esp + 0x16c]
sub ecx, ebx
test ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], edx
jle 0x4359a6
fild dword [esp + 0x170]
mov eax, edi
sub eax, esi
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fimul dword [esp + 0x44]
fidiv dword [esp + 0x3c]
fiadd dword [esp + 0x168]
fcompp
fnstsw ax
test ah, 0x41
je 0x4359f5
test ecx, ecx
jge 0x4359d7
fild dword [esp + 0x170]
mov eax, edi
sub eax, esi
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fimul dword [esp + 0x44]
fidiv dword [esp + 0x3c]
fiadd dword [esp + 0x168]
fcompp
fnstsw ax
test ah, 1
jne 0x4359f5
test ecx, ecx
jne 0x435a84
test edx, edx
jle 0x4359e7
cmp edi, esi
jg 0x4359f5
test edx, edx
jge 0x435a84
cmp edi, esi
jge 0x435a84
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + ebx + 0x224]
mov edx, dword [esp + ebx + 0x228]
mov eax, dword [esp + ebx + 0x22c]
mov dword [esp + 0x420], ecx
mov ecx, dword [esp + ebx + 0x230]
mov dword [esp + 0x424], edx
mov edx, dword [esp + ebx + 0x1c4]
mov dword [esp + 0x428], eax
mov eax, dword [esp + ebx + 0x1c8]
mov dword [esp + 0x42c], ecx
mov ecx, dword [esp + ebx + 0x1cc]
mov dword [esp + 0x430], edx
mov edx, dword [esp + ebx + 0x1d0]
mov dword [esp + 0x434], eax
mov dword [esp + 0x438], ecx
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x114]
mov dword [esp + 0x43c], edx
push eax
push ecx
lea edx, [esp + 0x428]
push 4
push edx
jmp 0x435b0e
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + ebx + 0x22c]
mov edx, dword [esp + ebx + 0x224]
mov ecx, dword [esp + ebx + 0x230]
mov dword [esp + 0x460], eax
mov eax, dword [esp + ebx + 0x228]
mov dword [esp + 0x468], edx
mov edx, dword [esp + ebx + 0x1d0]
mov dword [esp + 0x464], ecx
mov ecx, dword [esp + ebx + 0x1cc]
mov dword [esp + 0x46c], eax
mov eax, dword [esp + ebx + 0x1c4]
mov dword [esp + 0x474], edx
mov dword [esp + 0x470], ecx
mov ecx, dword [esp + ebx + 0x1c8]
mov dword [esp + 0x478], eax
mov eax, dword [ebp + 0x18]
lea edx, [esp + 0x114]
mov dword [esp + 0x47c], ecx
push edx
push eax
push 4
lea ecx, [esp + 0x46c]
push ecx
mov ecx, dword [esp + 0x50]
call fcn.00432480
mov eax, dword [esp + 0x54]
add ebx, 0x10
dec eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], eax
jne 0x4354fc
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
lea eax, [edi + edi]
mov edi, dword [esp + 0xc]
sub eax, edi
lea ebx, [esi + esi]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, 1
sub ebx, esi
add edx, 8
cmp ecx, eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
jle 0x43700a
mov edx, ecx
lea eax, [edx - 1]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
mov dword [esp + 0x14], edx
jne 0x43630b
mov edx, dword [esp + 0x78]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
lea eax, [esp + 0x1d8]
push edx
lea ecx, [esp + 0x1d8]
push eax
push ecx
call fcn.00434e50
mov eax, dword [esp + 0x1e0]
add esp, 0x24
cmp eax, 0x7fffffff
je 0x4362f1
mov edx, dword [esp + 0x50]
push 0
lea ecx, [edx + edx]
lea edx, [esp + 0x258]
push ecx
lea ecx, [esp + 0x320]
push ecx
mov ecx, dword [esp + 0x1cc]
push edx
mov edx, dword [esp + 0x1c]
push ecx
push eax
mov eax, dword [esp + 0x2c]
push edx
push eax
push edi
push esi
call fcn.00434b60
mov eax, dword [0x4d5a88]
mov edx, dword [esp + 0x3c]
mov ecx, dword [0x4d5a84]
add esp, 0x28
cmp eax, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
jne 0x435c4a
cmp ecx, dword [esp + 0xc]
je 0x4362f1
mov ebx, dword [esp + 0x50]
push 1
lea edx, [ebx + ebx]
push edx
lea edx, [esp + 0x320]
push edx
lea edx, [esp + 0x200]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28]
push edx
push ecx
push eax
push edi
push esi
call fcn.00434b60
add esp, 0x28
test ebx, ebx
jle 0x4362d2
xor edi, edi
mov eax, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov esi, dword [esp + edi + 0x200]
mov edx, dword [esp + edi + 0x1fc]
sar esi, 8
mov dword [esp + 0x80], esi
mov dword [esp + 0x100], esi
mov esi, dword [esp + edi + 0x25c]
mov eax, dword [esp + edi + 0x1f4]
mov ecx, dword [esp + edi + 0x1f8]
mov ebx, dword [esp + edi + 0x260]
sar esi, 8
mov dword [esp + 0x7c], esi
mov dword [esp + 0x104], esi
mov esi, dword [esp + edi + 0x254]
sar esi, 8
sar edx, 8
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10c], esi
mov esi, dword [esp + edi + 0x258]
mov dword [esp + 0xfc], edx
mov dword [esp + 0x184], edx
mov edx, dword [esp + 0x1c]
sar eax, 8
sar ecx, 8
sar ebx, 8
sar esi, 8
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18c], edx
mov eax, esi
mov edx, ebx
mov dword [esp + 0x188], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x198], edx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x194], ecx
mov ecx, dword [esp + 0xf8]
sub edx, eax
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x110], esi
mov esi, dword [esp + 0xfc]
sub eax, ecx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x4c], ebx
sub ecx, esi
mov esi, ebx
sub esi, dword [esp + 0x100]
mov dword [esp + 0x4c], ecx
imul ecx, eax
mov dword [esp + 0x7c], esi
imul esi, edx
mov dword [esp + 0x80], eax
mov eax, ecx
sub eax, esi
mov dword [esp + 0x108], ebx
mov dword [esp + 0xc], eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x435f30
mov edi, dword [esp + 0x110]
mov eax, ebx
sub eax, edi
imul ebx, ecx
imul eax, dword [esp + 0x4c]
imul eax, edx
mov edx, dword [esp + 0x104]
imul edx, esi
sub eax, edx
mov edx, dword [esp + 0x10c]
imul edx, ecx
add eax, edx
mov ecx, dword [esp + 0x110]
cdq
imul ecx, esi
idiv dword [esp + 0xc]
mov edx, dword [esp + 0x10c]
mov edi, eax
mov eax, dword [esp + 0x104]
sub eax, edx
imul eax, dword [esp + 0x7c]
imul eax, dword [esp + 0x80]
sub eax, ebx
add eax, ecx
xor ecx, ecx
cdq
idiv dword [esp + 0x1c]
mov dword [esp + 0x158], ecx
mov esi, eax
mov eax, vtable.CRgn.0
mov dword [esp + 0x154], eax
mov dword [esp + 0x148], ecx
mov dword [esp + 0x144], eax
mov ebx, dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push 1
lea eax, [esp + 0xf8]
push 4
push eax
mov byte [esp + 0x524], 7
call ebx
push eax
lea ecx, [esp + 0x158]
call fcn.004ae048
push 1
lea ecx, [esp + 0x180]
push 4
push ecx
call ebx
push eax
lea ecx, [esp + 0x148]
call fcn.004ae048
mov edx, dword [esp + 0x158]
mov ebx, dword [sym.imp.GDI32.dll_PtInRegion]
push esi
push edi
push edx
call ebx
test eax, eax
jne 0x435ed8
mov eax, dword [esp + 0x148]
push esi
push edi
push eax
call ebx
test eax, eax
jne 0x435ed8
mov esi, 1
jmp 0x435eda
xor esi, esi
mov edi, vtable.CGdiObject.0
mov dword [esp + 0x144], edi
lea ecx, [esp + 0x144]
mov byte [esp + 0x518], 8
call fcn.004ae09f
mov dword [esp + 0x154], edi
lea ecx, [esp + 0x154]
mov byte [esp + 0x518], 9
call fcn.004ae09f
test esi, esi
mov byte [esp + 0x518], 0
je 0x4360eb
mov ebx, dword [esp + 0x108]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0xfc]
mov esi, dword [esp + 0xf4]
mov edx, dword [esp + 0xf8]
sub ecx, esi
mov esi, dword [esp + 0x100]
sub esi, edx
test ecx, ecx
jle 0x435f77
mov eax, dword [esp + 0x104]
mov edx, dword [esp + 0xfc]
sub eax, edx
imul eax, esi
cdq
idiv ecx
add eax, dword [esp + 0x100]
cmp ebx, eax
jl 0x435fd6
test ecx, ecx
jge 0x435f9c
mov eax, dword [esp + 0x104]
mov edx, dword [esp + 0xfc]
sub eax, edx
imul eax, esi
cdq
idiv ecx
add eax, dword [esp + 0x100]
cmp ebx, eax
jg 0x435fd6
test ecx, ecx
jne 0x436060
test esi, esi
jle 0x435fba
mov ecx, dword [esp + 0x104]
mov eax, dword [esp + 0xfc]
cmp ecx, eax
jg 0x435fd6
test esi, esi
jge 0x436060
mov edx, dword [esp + 0xfc]
mov eax, dword [esp + 0x104]
cmp eax, edx
jge 0x436060
mov eax, dword [esp + edi + 0x1f4]
mov edx, dword [esp + edi + 0x1fc]
mov ecx, dword [esp + edi + 0x1f8]
mov dword [esp + 0x4a0], eax
mov eax, dword [esp + edi + 0x200]
mov dword [esp + 0x4a8], edx
mov edx, dword [esp + edi + 0x260]
mov dword [esp + 0x4a4], ecx
mov ecx, dword [esp + edi + 0x25c]
mov dword [esp + 0x4ac], eax
mov eax, dword [esp + edi + 0x254]
mov dword [esp + 0x4b4], edx
mov dword [esp + 0x4b0], ecx
mov ecx, dword [esp + edi + 0x258]
mov dword [esp + 0x4b8], eax
mov eax, dword [ebp + 0x18]
lea edx, [esp + 0x114]
mov dword [esp + 0x4bc], ecx
push edx
push eax
push 4
lea ecx, [esp + 0x4ac]
jmp 0x4362b2
mov edx, dword [esp + edi + 0x1fc]
mov eax, dword [esp + edi + 0x200]
mov ecx, dword [esp + edi + 0x1f4]
mov dword [esp + 0x4e0], edx
mov edx, dword [esp + edi + 0x1f8]
mov dword [esp + 0x4e4], eax
mov eax, dword [esp + edi + 0x254]
mov dword [esp + 0x4e8], ecx
mov ecx, dword [esp + edi + 0x258]
mov dword [esp + 0x4ec], edx
mov edx, dword [esp + edi + 0x25c]
mov dword [esp + 0x4f0], eax
mov eax, dword [esp + edi + 0x260]
mov dword [esp + 0x4f4], ecx
mov dword [esp + 0x4f8], edx
mov edx, dword [ebp + 0x18]
lea ecx, [esp + 0x114]
mov dword [esp + 0x4fc], eax
push ecx
push edx
lea eax, [esp + 0x4e8]
push 4
push eax
jmp 0x4362b3
mov esi, dword [esp + 0x184]
mov ebx, dword [esp + 0x17c]
mov edx, dword [esp + 0x188]
mov edi, dword [esp + 0x180]
mov ecx, esi
sub edx, edi
mov edi, dword [esp + 0x18c]
sub ecx, ebx
test ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], edx
jle 0x43614b
fild dword [esp + 0x190]
mov eax, edi
sub eax, esi
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
fimul dword [esp + 0xc]
fidiv dword [esp + 0x1c]
fiadd dword [esp + 0x188]
fcompp
fnstsw ax
test ah, 0x41
je 0x43619a
test ecx, ecx
jge 0x43617c
fild dword [esp + 0x190]
mov eax, edi
sub eax, esi
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
fimul dword [esp + 0xc]
fidiv dword [esp + 0x1c]
fiadd dword [esp + 0x188]
fcompp
fnstsw ax
test ah, 1
jne 0x43619a
test ecx, ecx
jne 0x436229
test edx, edx
jle 0x43618c
cmp edi, esi
jg 0x43619a
test edx, edx
jge 0x436229
cmp edi, esi
jge 0x436229
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + edi + 0x1f4]
mov edx, dword [esp + edi + 0x1f8]
mov eax, dword [esp + edi + 0x1fc]
mov dword [esp + 0x3c0], ecx
mov ecx, dword [esp + edi + 0x200]
mov dword [esp + 0x3c4], edx
mov edx, dword [esp + edi + 0x254]
mov dword [esp + 0x3c8], eax
mov eax, dword [esp + edi + 0x258]
mov dword [esp + 0x3cc], ecx
mov ecx, dword [esp + edi + 0x25c]
mov dword [esp + 0x3d0], edx
mov edx, dword [esp + edi + 0x260]
mov dword [esp + 0x3d4], eax
mov dword [esp + 0x3d8], ecx
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x114]
mov dword [esp + 0x3dc], edx
push eax
push ecx
lea edx, [esp + 0x3c8]
push 4
push edx
jmp 0x4362b3
mov edi, dword [esp + 0x14]
mov eax, dword [esp + edi + 0x1fc]
mov edx, dword [esp + edi + 0x1f4]
mov ecx, dword [esp + edi + 0x200]
mov dword [esp + 0x3a0], eax
mov eax, dword [esp + edi + 0x1f8]
mov dword [esp + 0x3a8], edx
mov edx, dword [esp + edi + 0x260]
mov dword [esp + 0x3a4], ecx
mov ecx, dword [esp + edi + 0x25c]
mov dword [esp + 0x3ac], eax
mov eax, dword [esp + edi + 0x254]
mov dword [esp + 0x3b4], edx
mov dword [esp + 0x3b0], ecx
mov ecx, dword [esp + edi + 0x258]
mov dword [esp + 0x3b8], eax
mov eax, dword [ebp + 0x18]
lea edx, [esp + 0x114]
mov dword [esp + 0x3bc], ecx
push edx
push eax
push 4
lea ecx, [esp + 0x3ac]
push ecx
mov ecx, dword [esp + 0x50]
call fcn.00432480
mov eax, dword [esp + 0x10]
add edi, 0x10
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
jne 0x435c8e
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
lea edx, [ecx + ecx]
lea ecx, [eax + eax]
sub edx, esi
sub ecx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x43682f
mov ecx, dword [esp + 0x18]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x20], eax
mov eax, esi
sub eax, ebx
mov dword [esp + 0x4c], eax
lea eax, [esi + ebx]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
lea eax, [edi + ecx]
fild dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
sub eax, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
sub eax, ebx
mov dword [esp + 0x80], eax
lea eax, [esi + esi*2]
fstp qword [esp + 0x54]
add eax, ebx
lea ebx, [edi + edi*2]
fild dword [esp + 0x2c]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x2c], eax
lea eax, [ebx + ecx]
fstp qword [esp + 0x8c]
fild dword [esp + 0x2c]
cdq
and edx, 3
mov ecx, dword [esp + 0x14]
add eax, edx
sar eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
sub eax, edi
mov dword [esp + 0x1c], eax
mov eax, ecx
sub eax, esi
mov dword [esp + 0x18], eax
lea eax, [esi + esi*2]
fstp qword [esp + 0x304]
add eax, ecx
fild dword [esp + 0x2c]
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0xc]
sar eax, 2
mov dword [esp + 0x2c], eax
lea eax, [ebx + edx]
fstp qword [esp + 0x2ec]
fild dword [esp + 0x2c]
cdq
and edx, 3
add eax, edx
fstp qword [esp + 0x2fc]
sar eax, 2
mov dword [esp + 0x2c], eax
lea eax, [ecx + esi]
fild dword [esp + 0x2c]
cdq
fstp qword [esp + 0x30c]
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
fild dword [esp + 0x2c]
add eax, edi
cdq
fstp qword [esp + 0x2e4]
sub eax, edx
mov ecx, dword [esp + 0x50]
lea ebx, [esp + 0x318]
sar eax, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x2c]
fstp qword [esp + 0x2f4]
mov edx, dword [esp + 0x20]
mov eax, 1
mov ecx, 3
mov word [esp + 0x330], ax
mov word [esp + 0x35a], ax
mov word [esp + 0x33c], ax
mov word [esp + 0x364], ax
mov eax, dword [esp + 0x4c]
mov word [esp + 0x332], cx
mov word [esp + 0x33e], cx
mov word [esp + 0x366], cx
push edx
lea ecx, [esp + 0x88]
push eax
lea edx, [esp + 0x74]
push ecx
push edx
mov word [esp + 0x368], 0
call fcn.00430d70
fild dword [ebx + 4]
fld qword [esp + 0x84]
fmul st(1)
fadd qword [esp + 0x54]
call fcn.00496fa4
fld qword [esp + 0x6c]
fmul st(1)
mov dword [esp + 0x334], eax
fsubr qword [esp + 0x8c]
call fcn.00496fa4
fstp st(0)
fild dword [ebx]
fld qword [esp + 0x84]
mov dword [esp + 0x338], eax
fmul st(1)
fadd qword [esp + 0x54]
call fcn.00496fa4
fld qword [esp + 0x6c]
fmul st(1)
mov dword [esp + 0x378], eax
fsubr qword [esp + 0x8c]
call fcn.00496fa4
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x37c], eax
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0xa4]
push eax
push ecx
lea eax, [esp + 0xa4]
push edx
push eax
fstp st(0)
call fcn.00430d70
fld qword [esp + 0x9c]
fadd qword [esp + 0x6c]
fstp qword [esp + 0x6c]
fld qword [esp + 0xa4]
fadd qword [esp + 0x84]
fstp qword [esp + 0x84]
fld qword [esp + 0x6c]
fmul qword [esp + 0x6c]
fld qword [esp + 0x84]
fmul qword [esp + 0x84]
faddp st(1)
fmul qword [0x4bd0b8]
fcom qword [0x4bcfd8]
fnstsw ax
test ah, 1
je 0x4365a7
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
fstp st(0)
fld qword [0x4bcfe0]
fld qword [esp + 0xa4]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
jmp 0x4365ae
fld qword [esp + 0x84]
fild dword [ebx + 4]
fld st(1)
fmul st(1)
fdiv st(3)
fadd qword [esp + 0x304]
call fcn.00496fa4
fld qword [esp + 0x6c]
fmul st(1)
mov dword [esp + 0x340], eax
fdiv st(3)
fsubr qword [esp + 0x2ec]
call fcn.00496fa4
fstp st(0)
fild dword [ebx]
fxch st(1)
fmul st(1)
mov dword [esp + 0x344], eax
fdiv st(2)
fadd qword [esp + 0x304]
call fcn.00496fa4
fld qword [esp + 0x6c]
fmul st(1)
mov dword [esp + 0x370], eax
fdiv st(2)
fsubr qword [esp + 0x2ec]
call fcn.00496fa4
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x374], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
push ecx
lea eax, [esp + 0xa8]
push edx
lea ecx, [esp + 0xa4]
push eax
fstp st(0)
push ecx
fstp st(0)
call fcn.00430d70
fld qword [esp + 0x9c]
fadd qword [esp + 0x6c]
fstp qword [esp + 0x6c]
fld qword [esp + 0xa4]
fadd qword [esp + 0x84]
fstp qword [esp + 0x84]
fld qword [esp + 0x6c]
fmul qword [esp + 0x6c]
fld qword [esp + 0x84]
fmul qword [esp + 0x84]
faddp st(1)
fmul qword [0x4bd0b8]
fcom qword [0x4bcfd8]
fnstsw ax
test ah, 1
je 0x4366fb
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x70], eax
fstp st(0)
fld qword [0x4bcfe0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
fild dword [ebx + 4]
fstp qword [esp + 0x2c]
fld qword [esp + 0x84]
fmul qword [esp + 0x2c]
fdiv st(1)
fadd qword [esp + 0x2fc]
call fcn.00496fa4
fld qword [esp + 0x6c]
fmul qword [esp + 0x2c]
mov dword [esp + 0x348], eax
fdiv st(1)
fsubr qword [esp + 0x30c]
call fcn.00496fa4
fild dword [ebx]
mov dword [esp + 0x34c], eax
fstp qword [esp + 0x44]
fld qword [esp + 0x84]
fmul qword [esp + 0x44]
fdiv st(1)
fadd qword [esp + 0x2fc]
call fcn.00496fa4
fld qword [esp + 0x6c]
fmul qword [esp + 0x44]
mov dword [esp + 0x368], eax
fdiv st(1)
fsubr qword [esp + 0x30c]
call fcn.00496fa4
fstp st(0)
fld qword [esp + 0xa4]
fmul qword [esp + 0x2c]
mov dword [esp + 0x36c], eax
fadd qword [esp + 0x2e4]
call fcn.00496fa4
fld qword [esp + 0x9c]
fmul qword [esp + 0x2c]
mov dword [esp + 0x350], eax
fsubr qword [esp + 0x2f4]
call fcn.00496fa4
fld qword [esp + 0xa4]
fmul qword [esp + 0x44]
mov dword [esp + 0x354], eax
fadd qword [esp + 0x2e4]
call fcn.00496fa4
fld qword [esp + 0x9c]
fmul qword [esp + 0x44]
mov dword [esp + 0x35c], eax
fsubr qword [esp + 0x2f4]
call fcn.00496fa4
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x360], eax
lea eax, [esp + 0x114]
push 0
push eax
push ecx
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x33c]
push 1
push edx
call fcn.00432cb0
mov eax, dword [esp + 0x10]
add ebx, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x43643a
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x3c]
dec eax
mov ebx, esi
cmp ecx, eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x18], edi
jne 0x436858
mov edx, dword [esp + 0x28]
mov esi, dword [edx]
mov edi, dword [edx + 4]
mov dword [esp + 0x44], esi
jmp 0x436864
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x44], esi
mov edx, dword [esp + 0x28]
inc ecx
add edx, 8
mov dword [esp + 0x54], edi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x60]
cmp ecx, edx
mov dword [esp + 0x3c], ecx
jl 0x435b85
jmp 0x43700a
test ecx, ecx
mov dword [esp + 0x3c], 0
jle 0x43700a
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp ecx, esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x68], edx
jne 0x4368c5
cmp edx, edi
je 0x436fdb
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
mov eax, dword [esp + 0x50]
push 1
add eax, eax
push eax
lea eax, [esp + 0x320]
push eax
lea eax, [esp + 0x2c0]
push eax
push edx
push ecx
mov ecx, dword [esp + 0x30]
push edi
push esi
push ecx
push ebx
call fcn.00434b60
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0xa0]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x60]
push ecx
push edx
lea ecx, [esp + 0xa8]
push eax
lea edx, [esp + 0xa0]
push ecx
push edx
mov dword [esp + 0xd8], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x90], ebx
call fcn.00434e50
mov eax, dword [esp + 0x9c]
add esp, 0x4c
add eax, eax
lea ecx, [esp + 0x318]
push 0
push eax
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x28c]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
push ebx
push edi
push esi
call fcn.00434b60
mov eax, dword [esp + 0x78]
add esp, 0x28
test eax, eax
jle 0x436fdb
xor ebx, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ebx
mov esi, dword [esp + ebx + 0x2c0]
mov edx, dword [esp + ebx + 0x2bc]
sar esi, 8
mov dword [esp + 0x2c], esi
mov dword [esp + 0xe0], esi
mov esi, dword [esp + ebx + 0x28c]
mov eax, dword [esp + ebx + 0x2b4]
mov ecx, dword [esp + ebx + 0x2b8]
mov edi, dword [esp + ebx + 0x290]
sar esi, 8
mov dword [esp + 0x7c], esi
mov dword [esp + 0xe4], esi
mov esi, dword [esp + ebx + 0x284]
sar esi, 8
sar edx, 8
mov dword [esp + 0x20], esi
mov dword [esp + 0xec], esi
mov esi, dword [esp + ebx + 0x288]
mov dword [esp + 0xdc], edx
mov dword [esp + 0x1a4], edx
mov edx, dword [esp + 0x20]
sar eax, 8
sar ecx, 8
sar edi, 8
sar esi, 8
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1ac], edx
mov eax, esi
mov edx, edi
mov dword [esp + 0x1a8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x1b0], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x1b8], edx
mov edx, dword [esp + 0xec]
mov dword [esp + 0x1b4], ecx
mov ecx, dword [esp + 0xd8]
sub edx, eax
mov eax, esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0xf0], esi
mov esi, dword [esp + 0xdc]
sub eax, ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x4c], eax
sub ecx, esi
mov esi, edi
sub esi, dword [esp + 0xe0]
mov dword [esp + 0x2c], ecx
imul ecx, eax
mov dword [esp + 0x20], esi
imul esi, edx
mov eax, ecx
mov dword [esp + 0x80], edi
sub eax, esi
mov dword [esp + 0xe8], edi
mov dword [esp + 0x10], eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x436c39
mov ebx, dword [esp + 0xf0]
mov eax, edi
sub eax, ebx
imul edi, ecx
imul eax, dword [esp + 0x2c]
imul eax, edx
mov edx, dword [esp + 0xe4]
imul edx, esi
sub eax, edx
mov edx, dword [esp + 0xec]
imul edx, ecx
add eax, edx
mov ecx, dword [esp + 0xf0]
cdq
imul ecx, esi
idiv dword [esp + 0x10]
mov edx, dword [esp + 0xec]
mov ebx, eax
mov eax, dword [esp + 0xe4]
sub eax, edx
imul eax, dword [esp + 0x20]
imul eax, dword [esp + 0x4c]
sub eax, edi
add eax, ecx
xor ecx, ecx
cdq
idiv dword [esp + 0x7c]
mov dword [esp + 0x150], ecx
mov esi, eax
mov eax, vtable.CRgn.0
mov dword [esp + 0x14c], eax
mov dword [esp + 0x130], ecx
mov dword [esp + 0x12c], eax
mov edi, dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push 1
lea eax, [esp + 0xd8]
push 4
push eax
mov byte [esp + 0x524], 0xb
call edi
push eax
lea ecx, [esp + 0x150]
call fcn.004ae048
push 1
lea ecx, [esp + 0x1a0]
push 4
push ecx
call edi
push eax
lea ecx, [esp + 0x130]
call fcn.004ae048
mov edx, dword [esp + 0x150]
mov edi, dword [sym.imp.GDI32.dll_PtInRegion]
push esi
push ebx
push edx
call edi
test eax, eax
jne 0x436be1
mov eax, dword [esp + 0x130]
push esi
push ebx
push eax
call edi
test eax, eax
jne 0x436be1
mov esi, 1
jmp 0x436be3
xor esi, esi
mov edi, vtable.CGdiObject.0
mov dword [esp + 0x12c], edi
lea ecx, [esp + 0x12c]
mov byte [esp + 0x518], 0xc
call fcn.004ae09f
mov dword [esp + 0x14c], edi
lea ecx, [esp + 0x14c]
mov byte [esp + 0x518], 0xd
call fcn.004ae09f
test esi, esi
mov byte [esp + 0x518], 0
je 0x436df4
mov edi, dword [esp + 0xe8]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
sub ecx, esi
mov esi, dword [esp + 0xe0]
sub esi, edx
test ecx, ecx
jle 0x436c80
mov eax, dword [esp + 0xe4]
mov edx, dword [esp + 0xdc]
sub eax, edx
imul eax, esi
cdq
idiv ecx
add eax, dword [esp + 0xe0]
cmp edi, eax
jl 0x436cdf
test ecx, ecx
jge 0x436ca5
mov eax, dword [esp + 0xe4]
mov edx, dword [esp + 0xdc]
sub eax, edx
imul eax, esi
cdq
idiv ecx
add eax, dword [esp + 0xe0]
cmp edi, eax
jg 0x436cdf
test ecx, ecx
jne 0x436d69
test esi, esi
jle 0x436cc3
mov ecx, dword [esp + 0xe4]
mov eax, dword [esp + 0xdc]
cmp ecx, eax
jg 0x436cdf
test esi, esi
jge 0x436d69
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xe4]
cmp eax, edx
jge 0x436d69
mov eax, dword [esp + ebx + 0x2b4]
mov edx, dword [esp + ebx + 0x2bc]
mov ecx, dword [esp + ebx + 0x2b8]
mov dword [esp + 0x4c0], eax
mov eax, dword [esp + ebx + 0x2c0]
mov dword [esp + 0x4c8], edx
mov edx, dword [esp + ebx + 0x290]
mov dword [esp + 0x4c4], ecx
mov ecx, dword [esp + ebx + 0x28c]
mov dword [esp + 0x4cc], eax
mov eax, dword [esp + ebx + 0x284]
mov dword [esp + 0x4d4], edx
mov dword [esp + 0x4d0], ecx
mov ecx, dword [esp + ebx + 0x288]
mov dword [esp + 0x4d8], eax
mov eax, dword [ebp + 0x18]
lea edx, [esp + 0x114]
mov dword [esp + 0x4dc], ecx
push edx
push eax
push 4
lea ecx, [esp + 0x4cc]
jmp 0x436fbb
mov edx, dword [esp + ebx + 0x2bc]
mov eax, dword [esp + ebx + 0x2c0]
mov ecx, dword [esp + ebx + 0x2b4]
mov dword [esp + 0x400], edx
mov edx, dword [esp + ebx + 0x2b8]
mov dword [esp + 0x404], eax
mov eax, dword [esp + ebx + 0x284]
mov dword [esp + 0x408], ecx
mov ecx, dword [esp + ebx + 0x288]
mov dword [esp + 0x40c], edx
mov edx, dword [esp + ebx + 0x28c]
mov dword [esp + 0x410], eax
mov eax, dword [esp + ebx + 0x290]
mov dword [esp + 0x414], ecx
mov dword [esp + 0x418], edx
mov edx, dword [ebp + 0x18]
lea ecx, [esp + 0x114]
mov dword [esp + 0x41c], eax
push ecx
push edx
lea eax, [esp + 0x408]
push 4
push eax
jmp 0x436fbc
mov esi, dword [esp + 0x1a4]
mov ebx, dword [esp + 0x19c]
mov edx, dword [esp + 0x1a8]
mov edi, dword [esp + 0x1a0]
mov ecx, esi
sub edx, edi
mov edi, dword [esp + 0x1ac]
sub ecx, ebx
test ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
jle 0x436e54
fild dword [esp + 0x1b0]
mov eax, edi
sub eax, esi
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fimul dword [esp + 0x10]
fidiv dword [esp + 0x1c]
fiadd dword [esp + 0x1a8]
fcompp
fnstsw ax
test ah, 0x41
je 0x436ea3
test ecx, ecx
jge 0x436e85
fild dword [esp + 0x1b0]
mov eax, edi
sub eax, esi
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fimul dword [esp + 0x10]
fidiv dword [esp + 0x1c]
fiadd dword [esp + 0x1a8]
fcompp
fnstsw ax
test ah, 1
jne 0x436ea3
test ecx, ecx
jne 0x436f32
test edx, edx
jle 0x436e95
cmp edi, esi
jg 0x436ea3
test edx, edx
jge 0x436f32
cmp edi, esi
jge 0x436f32
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + ebx + 0x2b4]
mov edx, dword [esp + ebx + 0x2b8]
mov eax, dword [esp + ebx + 0x2bc]
mov dword [esp + 0x480], ecx
mov ecx, dword [esp + ebx + 0x2c0]
mov dword [esp + 0x484], edx
mov edx, dword [esp + ebx + 0x284]
mov dword [esp + 0x488], eax
mov eax, dword [esp + ebx + 0x288]
mov dword [esp + 0x48c], ecx
mov ecx, dword [esp + ebx + 0x28c]
mov dword [esp + 0x490], edx
mov edx, dword [esp + ebx + 0x290]
mov dword [esp + 0x494], eax
mov dword [esp + 0x498], ecx
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x114]
mov dword [esp + 0x49c], edx
push eax
push ecx
lea edx, [esp + 0x488]
push 4
push edx
jmp 0x436fbc
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + ebx + 0x2bc]
mov edx, dword [esp + ebx + 0x2b4]
mov ecx, dword [esp + ebx + 0x2c0]
mov dword [esp + 0x440], eax
mov eax, dword [esp + ebx + 0x2b8]
mov dword [esp + 0x448], edx
mov edx, dword [esp + ebx + 0x290]
mov dword [esp + 0x444], ecx
mov ecx, dword [esp + ebx + 0x28c]
mov dword [esp + 0x44c], eax
mov eax, dword [esp + ebx + 0x284]
mov dword [esp + 0x454], edx
mov dword [esp + 0x450], ecx
mov ecx, dword [esp + ebx + 0x288]
mov dword [esp + 0x458], eax
mov eax, dword [ebp + 0x18]
lea edx, [esp + 0x114]
mov dword [esp + 0x45c], ecx
push edx
push eax
push 4
lea ecx, [esp + 0x44c]
push ecx
mov ecx, dword [esp + 0x50]
call fcn.00432480
mov eax, dword [esp + 0xc]
add ebx, 0x10
dec eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], eax
jne 0x4369a0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
inc eax
add edx, 8
cmp eax, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], edx
jl 0x436899
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jle 0x4353ee
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4371d0
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x78], 0
mov ebx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov dword [esp + 0x54], ebx
test eax, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], edi
mov esi, ebx
jle 0x4371d0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
movsx ecx, word [edx + 2]
add edx, 4
test ecx, ecx
jle 0x4370c6
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x78]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
test ebx, ebx
jne 0x43709c
cmp eax, dword [esp + 0x54]
jne 0x43708c
cmp ecx, dword [esp + 0xc]
je 0x43709c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x78], 1
cmp eax, esi
jne 0x4370a4
cmp ecx, edi
je 0x4370b0
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], edi
mov esi, eax
mov edi, ecx
mov eax, dword [esp + 0x10]
add edx, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x437073
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
dec ecx
mov dword [esp + 0x44], ecx
jne 0x437064
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x437152
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
sub edx, ecx
mov ecx, dword [esp + 0x98]
sub eax, ebx
shl edx, cl
shl eax, cl
push edx
push eax
push 0x4d5ad8
push 0x4d5ae0
call fcn.00430d70
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
sar ecx, 8
and ecx, 0xf
push ecx
mov ecx, dword [0x4d5adc]
push edx
mov edx, dword [0x4d5ad8]
push eax
mov eax, dword [0x4d5ae4]
push ecx
mov ecx, dword [0x4d5ae0]
push edx
mov edx, dword [esp + 0xc4]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0xb4]
shl eax, cl
shl ebx, cl
mov ecx, dword [esp + 0x5c]
push 1
push edx
push eax
push ebx
call fcn.00431a80
cmp esi, dword [esp + 0x18]
jne 0x43715e
cmp edi, dword [esp + 0x38]
je 0x4371d0
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x98]
sub eax, edi
mov ecx, ebx
shl eax, cl
push eax
mov eax, dword [esp + 0x1c]
sub eax, esi
shl eax, cl
push eax
push 0x4d5ad8
push 0x4d5ae0
call fcn.00430d70
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [0x4d5adc]
sar eax, 0xc
and eax, 0xf
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [0x4d5ad8]
push ecx
mov ecx, dword [0x4d5ae4]
push edx
mov edx, dword [0x4d5ae0]
push eax
mov eax, dword [esp + 0xc4]
push ecx
mov ecx, ebx
shl edi, cl
shl esi, cl
mov ecx, dword [esp + 0x58]
push edx
push 1
push eax
push edi
push esi
call fcn.00431a80
mov dword [esp + 0x518], 0xffffffff
lea ecx, [esp + 0x114]
call fcn.004309d0
mov ecx, dword [esp + 0x510]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18