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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [edi + 0x20]
shl esi, 6
add esi, ecx
mov ecx, dword [eax + 0xc4]
test ecx, ecx
jl 0x72916a
movsx edx, word [esi + 0x1c]
mov eax, ecx
sar eax, 3
and ecx, 7
shl edx, 7
add edx, eax
mov eax, dword [edi + 0x30]
mov ebx, 1
shl ebx, cl
test byte [edx + eax], bl
jne 0x7295f5
mov ebx, dword [esi + 0x18]
test bh, 1
je 0x72917f
call fcn.006c29a0
test al, al
je 0x7295f5
test ebx, 0x8000000
jne 0x72918c
test bl, 0x40
je 0x729192
or ebx, 0x8000040
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x84]
xor ebx, 0xffffff60
and ebx, edx
test ebx, 0x80000ff
jne 0x7295f5
movsx eax, word [esi + 0x3e]
lea edx, [eax + eax*8]
mov eax, dword [edi + 0x18]
lea edi, [eax + edx*8]
cmp dword [ebp + 0x10], 1
jne 0x72920d
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [ecx + 0x80]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x34], edx
push 0
lea edx, [esp + 0x34]
mov dword [esp + 0x3c], eax
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004fca70
test eax, eax
mov dword [ebp + 0x10], eax
je 0x7295f5
fld dword [edi + 0x38]
mov eax, dword [ebp + 0xc]
fadd dword [0x8b27e0]
lea ecx, [esp + 0x18]
push ecx
push ecx
lea edx, [esi + 0x20]
fstp dword [esp]
push edx
push eax
call fcn.00729060
mov ebx, eax
add esp, 0x10
cmp ebx, 1
mov dword [esp + 0x1c], ebx
jle 0x7295f5
mov ecx, dword [esi + 0x18]
test ecx, 0x2000000
je 0x729250
add ebx, 0xa
mov dword [esp + 0x1c], ebx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x84]
test ah, 0x18
jne 0x72930c
test al, 0x20
je 0x72927b
cmp ebx, 0x20
jl 0x7295f5
mov eax, dword [edi + 0x30]
mov dword [esp + 0x18], eax
jmp 0x729343
call fcn.006bf530
cmp eax, 3
jl 0x729296
cmp ebx, 0x17
jl 0x7295f5
mov ecx, dword [edi + 0x30]
jmp 0x72933f
cmp ebx, 0x12
jl 0x7295f5
mov eax, dword [edi + 0x28]
test eax, eax
je 0x7292f5
mov eax, dword [eax + 0xc]
test eax, eax
je 0x7292f5
cmp word [eax + 0x14], 0x28
jl 0x7292f5
fld dword [eax + 0x9c]
fcom dword [0x8b27e0]
fnstsw ax
test ah, 5
jp 0x7292cf
fstp st(0)
fld dword [0x8b27e0]
fidivr dword [esp + 0x1c]
fld dword [esp + 0x18]
fcomp dword [0x8b27e4]
fnstsw ax
test ah, 5
jnp 0x7292f3
fcomp dword [0x8b27f0]
fnstsw ax
test ah, 1
jne 0x72928e
jmp 0x7292f5
fstp st(0)
call fcn.006c13f0
cmp eax, 2
jne 0x72926f
mov edx, dword [edi + 0x28]
mov dword [esp + 0x18], edx
jmp 0x729343
test cl, cl
jns 0x729322
cmp ebx, 0x20
jl 0x7295f5
mov edx, dword [edi + 0x30]
mov dword [esp + 0x18], edx
jmp 0x729343
cmp ebx, 0x20
jl 0x7295f5
test ecx, 0x1000100
jne 0x72933c
mov eax, dword [edi + 0x34]
mov dword [esp + 0x18], eax
jmp 0x729343
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
test edx, edx
je 0x7295f5
mov eax, dword [esi + 0x18]
test ah, 2
je 0x72938f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x8c]
cmp eax, dword [ecx + 0x90]
jae 0x7295f5
lea edi, [eax + 0xc]
mov dword [ecx + 0x8c], edi
mov ecx, dword [ebp + 0x10]
add edx, ecx
mov dword [eax], edx
mov dword [eax + 4], 0
mov dword [eax + 8], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 1
call fcn.00405ed0
mov edi, eax
add esp, 4
test edi, edi
je 0x7295f5
push edi
mov ecx, esi
call fcn.006beeb0
lea eax, [edi + 0x30]
push eax
mov ecx, esi
call fcn.006bee80
mov ebx, dword [ebp + 0xc]
mov edx, dword [esi + 0x18]
and edx, dword [ebx + 0x84]
test dh, 1
je 0x7293d3
fld dword [0x902148]
fadd dword [edi + 0x38]
fstp dword [edi + 0x38]
mov eax, dword [ebx + 0x84]
test ah, 8
je 0x7293e6
fld dword [edi + 0x28]
fchs
fstp dword [edi + 0x28]
mov eax, dword [ebx + 0x8c]
cmp eax, dword [ebx + 0x90]
mov dword [esp + 0x1c], eax
jae 0x7295f5
mov edx, dword [ebp + 0x10]
lea ecx, [eax + 0xc]
mov dword [ebx + 0x8c], ecx
mov ecx, dword [esp + 0x18]
add edx, ecx
mov dword [eax], edx
mov edx, dword [ebx + 0x84]
test dh, 0x40
je 0x729468
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x729468
test byte [edx + 0xe], 0x80
je 0x729468
fld dword [edi + 0x30]
push edi
fmul dword [0x8b27b8]
call fcn.007c4b80
cdq
mov ecx, 0x168
idiv ecx
mov eax, dword [ebx + 0x80]
push edx
lea edx, [esp + 0x48]
push edx
push eax
call fcn.0073cad0
lea ecx, [esp + 0x50]
push ecx
push edi
push edi
call fcn.0045ecf0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
add esp, 0x1c
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov eax, dword [ebx + 0x80]
cmp eax, 0x919650
je 0x729486
cmp eax, 0x9196c0
jne 0x7295f5
push 0
call fcn.00501680
mov edi, eax
test edi, edi
je 0x7295f5
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x7295e1
mov ecx, dword [ebx + 0x80]
xor eax, eax
cmp ecx, 0x919650
setne al
inc eax
push eax
call fcn.004fc780
mov esi, eax
add esp, 4
test esi, esi
je 0x7295e1
mov ecx, dword [esp + 0x18]
fld dword [edi + 0x40]
mov eax, dword [ecx + 0xc]
fsub dword [eax + 0x70]
lea edx, [esp + 0x30]
push edx
fstp dword [esp + 0x34]
fld dword [edi + 0x44]
fsub dword [eax + 0x74]
fstp dword [esp + 0x38]
fld dword [edi + 0x48]
fsub dword [eax + 0x78]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push ecx
fstp dword [esp + 0x40]
push edx
mov dword [esp + 0x48], 0x3f800000
call fcn.006bd920
mov eax, dword [ebx + 0x80]
mov eax, dword [eax + 0x68]
add esp, 0xc
test eax, eax
je 0x729565
fld dword [eax + 0x36a0]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x729565
fld dword [esp + 0x30]
fld dword [esi + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jp 0x72955e
fld dword [esp + 0x34]
fld dword [esi + 0x14]
fucompp
fnstsw ax
test ah, 0x44
jp 0x72955e
fld dword [esp + 0x38]
fld dword [esi + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x729565
mov dword [esi + 0x1c], 0x4479c000
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
mov cl, byte [edi + 4]
add cl, 0xe
mov byte [esi + 0x2c], cl
mov eax, dword [edi + 4]
cmp eax, 3
je 0x72959b
cmp eax, 4
je 0x72959b
cmp eax, 5
je 0x72959b
mov byte [esi + 0x2d], 2
jmp 0x7295e1
mov edx, dword [esp + 0x1c]
fld dword [esp + 0x34]
mov byte [esi + 0x2d], 4
mov eax, dword [edx + 4]
fsub dword [eax + 0x34]
fld dword [esp + 0x30]
fsub dword [eax + 0x30]
lea eax, [esp + 0x20]
push eax
mov ecx, eax
fstp dword [esp + 0x24]
push ecx
fstp dword [esp + 0x2c]
call fcn.0045f3c0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0
mov ecx, dword [esp + 0x18]
push edi
call fcn.00501680
mov edi, eax
test edi, edi
jne 0x729497
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc