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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d6db9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebx
mov dword [esp + 0x34], ecx
push esi
xor ebx, ebx
push edi
mov ecx, 0x87f5b8
mov dword [esp + 0x1c], 0xf4240
mov dword [esp + 0x2c], 0xc3500
mov dword [esp + 0x24], ebx
call fcn.00596130
lea eax, [esp + 0x1c]
mov ecx, 0x87f5b8
push eax
push str.value
push str.width
push str.workspace
call fcn.00593f80
lea ecx, [esp + 0x2c]
push ecx
push str.value
push str.height
push str.workspace
mov ecx, 0x87f5b8
call fcn.00593f80
lea edx, [esp + 0x24]
mov ecx, 0x87f5b8
push edx
push str.value
push str.coordinate_type
push str.workspace
call fcn.00593f80
mov ecx, 0x87f5b8
call fcn.00596140
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
push 0x968
mov dword [esp + 0x18c], ebx
call fcn.005b449a
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x188], 1
je 0x4815b5
mov ecx, eax
call fcn.00584660
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebx]
mov ecx, esi
mov byte [esp + 0x188], 0
call fcn.0054a870
push eax
mov ecx, ebx
call dword [edi + 0x40]
mov ecx, esi
call fcn.00426a20
inc eax
mov ecx, ebx
push eax
call fcn.00549f60
mov ecx, esi
call fcn.00426a20
inc eax
mov ecx, esi
push eax
call fcn.0054a880
push 0x14
call fcn.005b449a
mov ecx, 1
push 0x14
mov dword [esp + 0x20], eax
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x10], ecx
call fcn.005b449a
mov edi, eax
mov ecx, dword [esp + 0x44]
mov eax, 0x2710
add esp, 8
mov dword [edi], 2
mov dword [edi + 4], 0
mov dword [edi + 0x10], 1
mov dword [esp + 0x88], eax
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x70]
push eax
push esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
call fcn.0047fb30
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], 0
cmp eax, 3
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
ja case.default.0x481704
jmp dword [eax*4 + 0x481e1c]
fld qword [esp + 0x70]
jmp 0x481741
fld qword [esp + 0x70]
fchs
fstp qword [esp + 0x40]
fld qword [esp + 0x94]
jmp 0x48174b
fld qword [esp + 0x8c]
fchs
fstp qword [esp + 0x40]
fld qword [esp + 0x94]
jmp 0x48174b
fld qword [esp + 0x8c]
fchs
fstp qword [esp + 0x40]
fld qword [esp + 0x78]
fchs
fstp qword [esp + 0x48]
fld qword [esp + 0x8c]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], 0
fsub qword [esp + 0x70]
mov dword [esp + 0x30], ecx
fild qword [esp + 0x30]
fcompp
fnstsw ax
test ah, 1
je 0x481812
call fcn.00596b38
lea edx, [esp + 0x30]
mov esi, eax
push edx
push 0xed81
mov ecx, esi
call fcn.004c6180
test eax, eax
je 0x4817b2
add esi, 0x1c
add eax, 0xc
push eax
mov ecx, esi
call fcn.005b48a8
push 1
mov ecx, esi
call fcn.005b4ba6
jmp 0x4817b4
xor eax, eax
push 0
push 0x10
push eax
call fcn.005bc06a
mov eax, dword [esp + 0x18]
push eax
call fcn.005b44c3
push edi
call fcn.005b44c3
mov edi, dword [esp + 0x64]
add esp, 8
test edi, edi
mov dword [esp + 0x188], 0xffffffff
je 0x4817f6
mov eax, edi
mov edi, dword [edi + 4]
push eax
call fcn.005b44c3
add esp, 4
test edi, edi
jne 0x4817e4
mov eax, 0xc0000000
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.0054a8e0
test eax, eax
mov dword [esp + 0x30], eax
je 0x481d2e
mov ecx, eax
call fcn.00548df0
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x38], ecx
jne 0x481877
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x188], 0xffffffff
test edi, edi
je 0x48185b
mov eax, edi
mov edi, dword [edi + 4]
push eax
call fcn.005b44c3
add esp, 4
test edi, edi
jne 0x481849
mov eax, 0xc0000000
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], edx
xor edx, edx
test eax, eax
je 0x48191f
jmp 0x481894
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x6c]
mov edi, dword [eax + 8]
test eax, eax
jne 0x4818a0
mov eax, dword [ecx + 4]
jmp 0x4818a3
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
inc edx
cmp edx, eax
mov dword [esp + 0x6c], edx
ja 0x48191b
test edi, edi
je 0x48190f
mov ecx, edi
call fcn.0054a0f0
test eax, eax
je 0x48190b
mov ecx, dword [esp + 0x3c]
push edi
call fcn.0048feb0
mov esi, eax
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 4]
push esi
mov ecx, ebx
call fcn.00587c60
push 0xc
call fcn.005b449a
add esp, 4
mov dword [eax + 8], edi
mov ecx, dword [esp + 0x60]
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.004e84b0
push 0
mov ecx, edi
call fcn.0054a100
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x48188c
mov edi, dword [esp + 0x20]
lea edx, [esp + 0xa8]
mov eax, 0x2710
push edx
mov ecx, ebx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
call fcn.00587760
fld qword [esp + 0xa8]
fchs
fstp qword [esp + 0x40]
fld qword [esp + 0xb0]
fchs
fstp qword [esp + 0x48]
mov eax, dword [ebx]
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call dword [eax + 4]
fld qword [esp + 0xcc]
fsub qword [esp + 0xb0]
xor ecx, ecx
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
fld st(0)
fcom qword [0x5e80d8]
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], ecx
mov dword [esp + 0x124], ecx
fnstsw ax
mov dword [esp + 0x128], ecx
test ah, 1
jne 0x481b0d
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x481b20
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
fild qword [esp + 0x10]
fdiv st(1)
call fcn.00530020
test eax, eax
mov dword [esp + 0xe0], eax
jne 0x481aa3
mov eax, 1
mov dword [esp + 0xe0], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
fild qword [esp + 0x10]
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
xor ecx, ecx
fmul st(1)
fstp qword [esp + 0x118]
fstp st(0)
fld qword [esp + 0xc4]
fsub qword [esp + 0xa8]
fld st(0)
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x481b7a
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x481b89
jmp 0x481bc5
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x481a75
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
fstp st(0)
mov dword [esp + 0x10], edx
mov dword [esp + 0xe8], 0
fild qword [esp + 0x10]
mov dword [esp + 0xec], 0x40d38800
fmul qword [0x5eb988]
call fcn.00530020
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0xe0], eax
fild qword [esp + 0x10]
fmul qword [0x5e9fa0]
fstp qword [esp + 0x118]
jmp 0x481ad6
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x481bc5
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
fstp st(0)
mov dword [esp + 0x10], edx
mov dword [esp + 0xf0], 0
fild qword [esp + 0x10]
mov dword [esp + 0xf4], 0x40d38800
fmul qword [0x5eb988]
call fcn.00530020
mov dword [esp + 0xe4], eax
jmp 0x481bfb
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
fild qword [esp + 0x10]
fdiv st(1)
call fcn.00530020
fstp st(0)
mov dword [esp + 0xe4], eax
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xe0]
mov dword [esp + 0x120], ecx
push edx
mov ecx, ebx
call fcn.005872d0
mov eax, 0x2710
lea ecx, [esp + 0x12c]
mov dword [esp + 0x144], eax
mov dword [esp + 0x160], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
call dword [eax + 0x34]
fld qword [esp + 0x148]
fadd qword [esp + 0x12c]
lea edx, [esp + 0x164]
mov ecx, ebx
push edx
mov dword [esp + 0x178], 0
fmul qword [0x5e7c18]
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0x2710
fstp qword [esp + 0x168]
fld qword [esp + 0x154]
fadd qword [esp + 0x138]
fmul qword [0x5e7c18]
fstp qword [esp + 0x170]
call fcn.0054a430
mov eax, dword [esp + 0x30]
push ebx
push eax
mov ecx, esi
call fcn.0054aec0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x58]
lea ecx, [eax*4]
push ecx
call fcn.005b449a
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x481d9b
add eax, 8
test eax, eax
je 0x481d9b
xor ecx, ecx
mov edx, dword [esp + 0x18]
mov edi, dword [eax]
test eax, eax
mov edx, dword [edx + 0xc]
mov dword [edx + ecx], edi
jne 0x481d82
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x481d8e
add eax, 8
jmp 0x481d90
mov eax, dword [eax - 4]
test eax, eax
je 0x481d8e
add eax, 8
jmp 0x481d90
xor eax, eax
add ecx, 4
test eax, eax
jne 0x481d65
mov edi, dword [esp + 0x20]
push 1
mov ecx, ebx
call fcn.0054a000
push 4
mov dword [edi + 8], 1
call fcn.005b449a
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0xc], eax
mov dword [eax], ebx
mov eax, dword [ebp + 8]
add esp, 4
lea edi, [eax + 0x1a0c]
push ecx
push esi
mov ecx, edi
call fcn.00526d60
mov edx, dword [esp + 0x20]
mov ecx, edi
push edx
push esi
call fcn.00526d60
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x188], 0xffffffff
test edi, edi
je 0x481e02
mov eax, edi
mov edi, dword [edi + 4]
push eax
call fcn.005b44c3
add esp, 4
test edi, edi
jne 0x481df0
mov ecx, dword [esp + 0x180]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10