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

Disassembly:
sub esp, 0x484
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4a0]
push str.Coords
mov ecx, edi
call fcn.0048c540
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x4c4f17
push ebp
mov ecx, esi
call fcn.0048be10
fstp dword [esp + 0x40]
push 1
mov ecx, esi
call fcn.0048be10
fstp dword [esp + 0x3c]
push 2
mov ecx, esi
call fcn.0048be10
fstp dword [esp + 0x14]
push 3
mov ecx, esi
call fcn.0048be10
mov eax, dword [0x646dac]
push str.Domain
fstp dword [esp + 0x20]
mov ecx, edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], eax
call fcn.0048c540
mov esi, eax
cmp esi, ebp
je 0x4c4c64
push ebp
mov ecx, esi
call fcn.0048be10
fstp dword [esp + 0x18]
push 1
mov ecx, esi
call fcn.0048be10
fstp dword [esp + 0x10]
push str.Extend
mov ecx, edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call fcn.0048c540
mov esi, eax
cmp esi, ebp
je 0x4c4c97
push ebp
mov ecx, esi
call fcn.0048bde0
push 1
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.0048bde0
mov dword [esp + 0x38], eax
fld dword [esp + 0x14]
fsub dword [esp + 0x40]
mov ebx, dword [esp + 0x498]
mov eax, dword [0x646db0]
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], 0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fsub dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x49c]
mov ecx, eax
mov dword [esp + 0x54], ecx
push edx
fst dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], 0
faddp st(1)
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
fstp dword [esp + 0x4c]
call fcn.0049b4e0
fld dword [esp + 0x10]
fsub dword [esp + 0x18]
lea eax, [esp + 0x94]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], eax
fstp dword [esp + 0x4c]
fild dword [esp + 0x14]
mov eax, dword [esp + 0x4a8]
xor esi, esi
test eax, eax
fmul dword [esp + 0x4c]
fmul dword [0x642b9c]
fadd dword [esp + 0x18]
fstp dword [esp + 0x14]
jle 0x4c4d88
mov edi, dword [esp + 0x4a4]
mov ebx, eax
lea ecx, [esp + 0x50]
lea edx, [esp + esi*4 + 0x6c]
push ecx
mov ecx, dword [edi]
push edx
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.004d7070
mov edx, dword [esp + 0x50]
add edi, 4
add esi, edx
dec ebx
jne 0x4c4d5d
mov ebx, dword [esp + 0x498]
mov ecx, dword [esp + 0x4ac]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x78]
push eax
call dword [edx + 4]
fld dword [esp + 0x44]
fmul dword [0x64669c]
push ecx
fstp dword [esp]
call fcn.0049b900
fld dword [esp + 0x2c]
fmul dword [0x64669c]
mov esi, eax
or esi, 0xffffff00
shl esi, 8
fstp dword [esp]
call fcn.0049b900
fld dword [esp + 0x24]
fmul dword [0x64669c]
or esi, eax
shl esi, 8
fstp dword [esp]
call fcn.0049b900
or esi, eax
mov eax, dword [esp + 0x14]
add esp, 4
inc ebp
mov dword [eax], esi
add eax, 4
cmp ebp, 0x100
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], eax
jl 0x4c4d31
mov eax, dword [esp + 0x30]
mov ecx, dword [ebx + 0x14]
xor ebp, ebp
mov dword [esp + 0x28], ecx
cmp eax, ebp
mov dword [esp + 0x18], ebp
jle 0x4c4f17
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x2c]
add eax, ebp
xor esi, esi
test ecx, ecx
mov dword [esp + 0x10], esi
jle 0x4c4efc
fild dword [esp + 0x18]
mov edi, eax
fstp dword [esp + 0x20]
fild dword [esp + 0x10]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
fstp dword [esp + 0x14]
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], eax
call fcn.0049b380
fld dword [esp + 0x14]
fsub dword [esp + 0x3c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x10]
fsub dword [esp + 0x40]
fmul dword [esp + 0x24]
faddp st(1)
fdiv dword [esp + 0x48]
fcom dword [0x635d9c]
fnstsw ax
test ah, 1
je 0x4c4eb0
mov eax, dword [esp + 0x34]
test eax, eax
fstp st(0)
je 0x4c4ee8
fld dword [0x635d9c]
jmp 0x4c4ecd
fcom dword [0x646db4]
fnstsw ax
test ah, 0x41
jne 0x4c4ecd
mov eax, dword [esp + 0x38]
test eax, eax
fstp st(0)
je 0x4c4ee8
fld dword [0x646db4]
fmul dword [0x646db8]
call fcn.004605e0
shl eax, 2
lea ecx, [esp + 0x94]
sub ecx, eax
mov edx, dword [ecx]
mov dword [edi], edx
mov eax, dword [esp + 0x2c]
inc esi
add edi, 4
cmp esi, eax
mov dword [esp + 0x10], esi
jl 0x4c4e50
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
inc eax
add ebp, edx
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4c4e2b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x484
ret