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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a6150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ecx + 0x88], eax
or eax, 0xffffffff
mov dword [ecx + 0x8c], eax
mov dword [ecx + 0x90], eax
xor ebx, ebx
mov eax, vtable.CRgn.0
push esi
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x40]
mov byte [esp + 0x78], 1
cmp eax, ebx
mov dword [esp + 0x18], ebx
jle 0x45e7a7
mov esi, dword [ecx + 0x3c]
xor edi, edi
test esi, esi
jle 0x45e797
fild dword [ebp + 8]
fdiv qword [ebp + 0x14]
fadd qword [0x4aa708]
call fcn.00470a50
fild dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
fdiv qword [ebp + 0x14]
fadd qword [0x4aa708]
call fcn.00470a50
mov dword [esp + 0x14], eax
inc esi
mov edx, dword [esp + 0x10]
mov ecx, esi
push 1
imul ecx, ebx
mov eax, dword [edx + 0x7c]
add ecx, edi
push 4
mov edx, dword [eax + ecx*8]
mov dword [esp + 0x38], edx
mov ebx, dword [eax + ecx*8 + 4]
lea edx, [eax + ecx*8 + 4]
sub ebx, 3
mov dword [esp + 0x3c], ebx
mov ebx, dword [eax + ecx*8 + 8]
mov dword [esp + 0x40], ebx
mov ebx, dword [eax + ecx*8 + 0xc]
sub ebx, 3
mov dword [esp + 0x44], ebx
mov ebx, dword [eax + ecx*8 + 8]
mov dword [esp + 0x48], ebx
mov ebx, dword [eax + ecx*8 + 0xc]
add ebx, 3
mov dword [esp + 0x4c], ebx
mov ebx, dword [eax + ecx*8]
mov dword [esp + 0x50], ebx
mov ebx, dword [edx]
add ebx, 3
mov dword [esp + 0x54], ebx
mov ebx, dword [eax + ecx*8]
sub ebx, 3
mov dword [esp + 0x58], ebx
mov ebx, dword [edx]
mov dword [esp + 0x5c], ebx
mov ecx, dword [eax + ecx*8]
mov ebx, dword [esp + 0x20]
add ecx, 3
mov dword [esp + 0x60], ecx
mov edx, dword [edx]
lea ecx, [ebx + 1]
mov dword [esp + 0x64], edx
imul ecx, esi
add ecx, edi
mov esi, dword [0x4a91d0]
lea eax, [eax + ecx*8]
mov ecx, dword [eax]
add ecx, 3
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov ecx, dword [eax]
sub ecx, 3
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x38]
mov dword [esp + 0x74], edx
push eax
call esi
push eax
lea ecx, [esp + 0x2c]
call fcn.0048aea7
push 1
lea ecx, [esp + 0x54]
push 4
push ecx
call esi
push eax
lea ecx, [esp + 0x24]
call fcn.0048aea7
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
push edx
push esi
push eax
call dword [0x4a91d8]
test eax, eax
jne 0x45e7e9
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
push ecx
push esi
push edx
call dword [0x4a91d8]
test eax, eax
jne 0x45e82a
lea ecx, [esp + 0x28]
call fcn.0048aefe
lea ecx, [esp + 0x20]
call fcn.0048aefe
mov eax, dword [esp + 0x10]
inc edi
mov esi, dword [eax + 0x3c]
cmp edi, esi
jl 0x45e663
mov ecx, eax
mov eax, dword [ecx + 0x40]
inc ebx
cmp ebx, eax
mov dword [esp + 0x18], ebx
jl 0x45e62c
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 6
call fcn.0048aefe
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x78], 7
call fcn.0048aefe
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x90], ebx
lea ecx, [esp + 0x28]
call fcn.0048aefe
lea ecx, [esp + 0x20]
call fcn.0048aefe
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 2
call fcn.0048aefe
mov dword [esp + 0x28], esi
mov dword [esp + 0x78], 3
jmp 0x45e869
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x28]
mov dword [edx + 0x8c], edi
call fcn.0048aefe
lea ecx, [esp + 0x20]
call fcn.0048aefe
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 4
call fcn.0048aefe
mov dword [esp + 0x28], esi
mov dword [esp + 0x78], 5
lea ecx, [esp + 0x28]
call fcn.0048aefe
mov ecx, dword [esp + 0x70]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14