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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5615ec
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63d20c]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 0xd
mov dword [esp + 0x54], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], eax
mov eax, dword [esi + 8]
test eax, eax
jl 0x494dca
mov edx, dword [esi + 0xc]
push 0
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
call fcn.0047f050
cmp dword [esp + 0x54], 7
jne 0x49515a
push 8
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0xc0], 0
test eax, eax
je 0x494dd7
mov ecx, eax
call fcn.0047ab30
jmp 0x494dd9
mov dword [esp + 0x54], 5
jmp 0x49515a
xor eax, eax
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x28], eax
push 0
lea eax, [esp + 0x38]
push eax
push 0x5c4648
mov dword [esp + 0xcc], 0xffffffff
call fcn.0047c300
mov eax, dword [eax]
mov ebp, 1
mov ebx, 2
cmp eax, ebp
je 0x494e10
cmp eax, ebx
jne 0x494e57
mov ecx, dword [esi]
mov eax, dword [ecx + 0x20]
push eax
lea ecx, [esp + 0x78]
call fcn.0047c4a0
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x38]
call fcn.0047c550
push 0x5b0d78
mov edi, eax
call fcn.004973b0
mov ecx, dword [esp + 0x80]
add esp, 4
push edi
push eax
call fcn.0047c370
mov ecx, dword [esi + 0x28]
push str._GS1_gs_n
call fcn.0047ad30
lea ecx, [esp + 0x34]
call fcn.0047c660
mov ecx, dword [esp + 0x5c]
push 0
lea eax, [esp + 0x38]
push eax
push 0x5c4650
call fcn.0047c300
cmp dword [eax], 6
jne 0x495151
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00494300
test eax, eax
je 0x495151
lea ecx, [esp + 0x34]
call fcn.0047c660
mov ecx, dword [esp + 0x5c]
push 0
lea edx, [esp + 0x38]
push edx
push str.Vertices
call fcn.0047c300
cmp dword [eax], 6
jne 0x495151
mov ecx, dword [esp + 0x3c]
xor edi, edi
cmp dword [ecx + 0xc], ebp
jle 0x494f87
lea eax, [esp + 0x44]
push eax
push edi
call fcn.0047c000
mov eax, dword [eax]
cmp eax, ebp
je 0x494ee1
cmp eax, ebx
jne 0x495148
cmp dword [esp + 0x44], ebp
jne 0x494eed
fild dword [esp + 0x4c]
jmp 0x494ef1
fld qword [esp + 0x4c]
lea ecx, [esp + 0x44]
fstp qword [esp + 0x24]
call fcn.0047c660
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [edi + 1]
push edx
call fcn.0047c000
mov eax, dword [eax]
cmp eax, ebp
je 0x494f1e
cmp eax, ebx
jne 0x495148
cmp dword [esp + 0x44], ebp
jne 0x494f2a
fild dword [esp + 0x4c]
jmp 0x494f2e
fld qword [esp + 0x4c]
lea ecx, [esp + 0x44]
fstp qword [esp + 0x2c]
call fcn.0047c660
fld qword [esp + 0x24]
fsub qword [esi + 0x30]
sub esp, 0x10
fld qword [esp + 0x3c]
fsub qword [esi + 0x38]
fstp qword [esp + 8]
fstp qword [esp]
test edi, edi
jne 0x494f62
mov eax, dword [esi + 0x28]
push 0x5c45c8
push eax
jmp 0x494f6b
mov ecx, dword [esi + 0x28]
push str.0:.4f_1:.4f_l_n
push ecx
call fcn.0047bf20
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0xc]
add edi, ebx
lea edx, [edi + 1]
add esp, 0x18
cmp edx, eax
jl 0x494ec8
mov ecx, dword [esi + 0x28]
push 0x5c464c
call fcn.0047ad30
lea ecx, [esp + 0x34]
call fcn.0047c660
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
push eax
lea ecx, [esp + 0x68]
call fcn.0047c4a0
mov eax, dword [esi + 0x28]
mov eax, dword [eax]
push str.Length
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], eax
call fcn.004973b0
add esp, 4
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x70]
push eax
call fcn.0047c370
push str.Form
mov dword [esp + 0x38], 4
call fcn.004973b0
push str.Subtype
mov dword [esp + 0x44], eax
call fcn.004973b0
mov ecx, dword [esp + 0x74]
add esp, 8
lea edx, [esp + 0x34]
push edx
push eax
call fcn.0047c370
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
push eax
lea ecx, [esp + 0x38]
call fcn.0047c430
fldz
lea ecx, [esp + 0x44]
fstp qword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x48], ebx
call fcn.0047bfa0
fldz
mov ecx, dword [esp + 0x3c]
fstp qword [esp + 0x4c]
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x48], ebx
call fcn.0047bfa0
fld qword [esi + 0x40]
fsub qword [esi + 0x30]
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x44]
push eax
fstp qword [esp + 0x50]
mov dword [esp + 0x48], ebx
call fcn.0047bfa0
fld qword [esi + 0x48]
fsub qword [esi + 0x38]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x40]
fstp qword [esp + 0x50]
mov dword [esp + 0x48], ebx
call fcn.0047bfa0
push str.BBox
call fcn.004973b0
mov ecx, dword [esp + 0x70]
add esp, 4
lea edx, [esp + 0x34]
push edx
push eax
call fcn.0047c370
cmp dword [esp + 0x74], 7
jne 0x495113
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
push eax
lea ecx, [esp + 0x38]
call fcn.0047c4a0
mov ecx, dword [esi]
mov eax, dword [ecx + 0x20]
push eax
lea ecx, [esp + 0x48]
call fcn.0047c4a0
push 0x5c4608
call fcn.004973b0
mov ecx, dword [esp + 0x50]
add esp, 4
lea edx, [esp + 0x74]
push edx
push eax
call fcn.0047c370
push str.ExtGState
call fcn.004973b0
add esp, 4
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x40]
push eax
call fcn.0047c370
push 0x5c45f0
call fcn.004973b0
mov ecx, dword [esp + 0x70]
add esp, 4
lea edx, [esp + 0x34]
push edx
push eax
call fcn.0047c370
push 0x30
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0xc0], ebp
test eax, eax
je 0x49517a
mov edx, dword [esi + 0x28]
mov edi, dword [edx]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x64]
push ecx
push edi
push 0
push edx
mov ecx, eax
call fcn.0048ac40
mov edi, eax
jmp 0x49517c
lea ecx, [esp + 0x44]
call fcn.0047c660
lea ecx, [esp + 0x34]
call fcn.0047c660
lea ecx, [esp + 0x54]
call fcn.0047c660
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
add esi, 0x18
mov ecx, esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.0047c660
push edi
mov ecx, esi
call fcn.0047c530
jmp 0x49515a