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

Disassembly:
sub esp, 0x4a0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4bc]
lea eax, [esp + 0x2c]
mov ebx, 6
push eax
mov ecx, edi
mov dword [esp + 0x30], str.Coords
mov dword [esp + 0x34], ebx
call fcn.004979c0
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x4d7724
push ebp
mov ecx, esi
call fcn.004972e0
fstp dword [esp + 0x48]
push 1
mov ecx, esi
call fcn.004972e0
fstp dword [esp + 0x3c]
push 2
mov ecx, esi
call fcn.004972e0
fstp dword [esp + 0x24]
push 3
mov ecx, esi
call fcn.004972e0
fstp dword [esp + 0x4c]
push 4
mov ecx, esi
call fcn.004972e0
fstp dword [esp + 0x58]
push 5
mov ecx, esi
call fcn.004972e0
mov ecx, dword [0x686838]
mov eax, dword [esp + 0x4b8]
fstp dword [esp + 0x50]
mov dword [esp + 0x7c], ecx
mov edx, ecx
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], edx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebp
call fcn.004aad40
mov ecx, dword [0x686834]
lea edx, [esp + 0x2c]
mov dword [esp + 0x18], ecx
push edx
mov ecx, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], str.Domain
mov dword [esp + 0x34], ebx
call fcn.004979c0
mov esi, eax
cmp esi, ebp
je 0x4d7383
push ebp
mov ecx, esi
call fcn.004972e0
fstp dword [esp + 0x10]
push 1
mov ecx, esi
call fcn.004972e0
fstp dword [esp + 0x18]
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x30], str.Extend
mov dword [esp + 0x34], ebx
call fcn.004979c0
mov esi, eax
cmp esi, ebp
je 0x4d73c2
push ebp
mov ecx, esi
call fcn.004972b0
push 1
mov ecx, esi
mov dword [esp + 0x58], eax
call fcn.004972b0
mov dword [esp + 0x40], eax
fld dword [esp + 0x18]
fsub dword [esp + 0x10]
lea ecx, [esp + 0xb0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ecx
fstp dword [esp + 0x38]
fild dword [esp + 0x20]
mov ebx, dword [esp + 0x4c4]
xor esi, esi
test ebx, ebx
fmul dword [esp + 0x38]
fmul dword [0x67d18c]
fadd dword [esp + 0x10]
fstp dword [esp + 0x14]
jle 0x4d742e
mov edi, dword [esp + 0x4c0]
lea edx, [esp + 0x34]
lea eax, [esp + esi*4 + 0x88]
push edx
push eax
lea ecx, [esp + 0x1c]
push 1
push ecx
mov ecx, dword [edi]
call fcn.004f1620
mov edx, dword [esp + 0x34]
add edi, 4
add esi, edx
dec ebx
jne 0x4d7407
mov ecx, dword [esp + 0x4c8]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x20]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x94]
push eax
call dword [edx + 4]
fld dword [esp + 0x28]
fmul dword [0x680e94]
push ecx
fstp dword [esp]
call fcn.004ab180
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x4d0]
mov esi, eax
fmul dword [0x680e94]
shl ecx, 8
or esi, ecx
shl esi, 8
fstp dword [esp]
call fcn.004ab180
fld dword [esp + 0x48]
fmul dword [0x680e94]
or esi, eax
shl esi, 8
fstp dword [esp]
call fcn.004ab180
or esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
inc ebp
mov dword [eax], esi
add eax, 4
cmp ebp, 0x100
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
jl 0x4d73dd
fld dword [esp + 0x3c]
fsub dword [esp + 0x58]
fld dword [esp + 0x48]
fsub dword [esp + 0x4c]
fld dword [esp + 0x24]
fsub dword [esp + 0x50]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
mov edi, dword [esp + 0x4b4]
xor eax, eax
mov dword [esp + 0x20], eax
fld st(1)
fmul st(2)
mov ebp, dword [edi + 8]
mov edx, dword [edi + 0x14]
mov ebx, dword [edi + 4]
cmp ebp, eax
fsubp st(1)
mov dword [esp + 0x68], ebp
mov dword [esp + 0x2c], edx
fstp dword [esp + 0x28]
fstp st(0)
fstp st(0)
fstp st(0)
jle 0x4d7724
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [esp + 0x18]
xor esi, esi
add eax, edx
mov dword [esp + 0x14], esi
test ebx, ebx
jle 0x4d7705
fild dword [esp + 0x20]
mov ebp, eax
fstp dword [esp + 0x44]
fld dword [esp + 0x58]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x60]
fld dword [esp + 0x4c]
fsub dword [esp + 0x48]
fstp dword [esp + 0x5c]
fld dword [esp + 0x50]
fsub dword [esp + 0x24]
fst dword [esp + 0x38]
fmul dword [esp + 0x24]
fstp dword [esp + 0x64]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
fstp dword [esp + 0x6c]
fild dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x34]
lea eax, [esp + 0x10]
mov dword [esp + 0x34], ecx
push edx
push eax
fstp dword [esp + 0x18]
lea ecx, [esp + 0x78]
call fcn.004aabd0
fld dword [esp + 0x34]
fsub dword [esp + 0x3c]
fld dword [esp + 0x10]
fsub dword [esp + 0x48]
fstp dword [esp + 0x10]
fld dword [esp + 0x5c]
fmul dword [esp + 0x10]
fld dword [esp + 0x60]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x64]
fmul dword [0x686844]
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
fsub dword [esp + 0x6c]
fmul dword [esp + 0x28]
fmul dword [0x680e9c]
fsubp st(1)
fstp st(2)
fstp st(0)
fcom dword [0x670244]
fnstsw ax
test ah, 1
jne 0x4d76ef
fsqrt
fstp dword [esp + 0x10]
fld dword [esp + 0x28]
fcomp dword [0x670244]
fld dword [esp + 0x28]
fadd st(0), st(0)
fnstsw ax
test ah, 0x41
jne 0x4d7643
fld dword [esp + 0x1c]
fchs
fsub dword [esp + 0x10]
fdiv st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fsub dword [esp + 0x1c]
fdivrp st(1)
jmp 0x4d7665
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fchs
fsub dword [esp + 0x10]
fdiv dword [esp + 0x14]
fld dword [esp + 0x10]
fsub dword [esp + 0x1c]
fdiv dword [esp + 0x14]
fstp dword [esp + 0x14]
fcom dword [0x68683c]
fnstsw ax
test ah, 0x41
jne 0x4d7680
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4d7680
fstp st(0)
fld dword [esp + 0x14]
fld dword [esp + 0x38]
fmul st(1)
fadd dword [esp + 0x24]
fcomp dword [0x670244]
fnstsw ax
test ah, 1
jne 0x4d76ef
fcom dword [0x670244]
fnstsw ax
test ah, 1
je 0x4d76b4
mov eax, dword [esp + 0x54]
test eax, eax
fstp st(0)
je 0x4d76f1
fld dword [0x670244]
fcom dword [0x686834]
fnstsw ax
test ah, 0x41
jne 0x4d76d1
mov eax, dword [esp + 0x40]
test eax, eax
fstp st(0)
je 0x4d76f1
fld dword [0x686834]
fmul dword [0x686840]
call fcn.0046664c
shl eax, 2
lea ecx, [esp + 0xb0]
sub ecx, eax
mov edx, dword [ecx]
mov dword [ebp], edx
jmp 0x4d76f1
fstp st(0)
inc esi
add ebp, 4
cmp esi, ebx
mov dword [esp + 0x14], esi
jl 0x4d757a
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
inc eax
add edx, ecx
cmp eax, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
jl 0x4d751d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4a0
ret