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

Disassembly:
sub esp, 0x80
push ebp
push esi
mov esi, dword [esp + 0x8c]
mov eax, dword [esi + 0x74]
mov edx, dword [esi + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0xc], edx
mov edx, dword [esi + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
call fcn.004c30f0
mov ebp, eax
test ebp, ebp
je 0x4c3947
mov eax, dword [ebp + 0x120]
cmp eax, dword [esi + 0x80]
jne 0x4c3947
inc dword [esi + 0x3c]
mov dword [ebp + 0x1ac], esi
fld dword [esi + 0x68]
fcomp dword [0x73d708]
fnstsw ax
test ah, 0x41
jne 0x4c33f1
mov eax, dword [esi + 0x240]
test eax, eax
jne 0x4c33f1
fld dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
fsub dword [esp + 8]
mov edx, dword [esp + 0x14]
fld dword [esp + 0x14]
mov eax, ecx
fsub dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x68]
fld st(0)
fmul st(1)
mov dword [esp + 0x1c], eax
fld st(2)
mov dword [esp + 0x4c], ecx
fmul st(3)
mov ecx, edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 0
mov edx, dword [esp + 0x54]
faddp st(1)
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
fstp dword [esp + 0x18]
fstp st(0)
fstp st(0)
fld dword [esp + 0x18]
fcomp dword [0x745824]
fnstsw ax
test ah, 1
jne 0x4c33e1
fld dword [esp + 0x1c]
lea ecx, [esp + 0x64]
fmul dword [esp + 0x1c]
lea edx, [esp + 0x7c]
fcomp dword [esp + 0x18]
push ecx
fld dword [esp + 0xc]
mov dword [esp + 0x70], 0
fsub dword [esp + 0x14]
push edx
fnstsw ax
fstp dword [esp + 0x6c]
test ah, 5
fld dword [esp + 0x14]
fsub dword [esp + 0x1c]
fstp dword [esp + 0x70]
jp 0x4c339d
call fcn.004ab180
fld dword [esp + 0x24]
fsub dword [0x73d708]
jmp 0x4c33a8
call fcn.004ab180
fld dword [esp + 0x20]
fsqrt
add esp, 8
push eax
push ecx
lea eax, [esp + 0x78]
fstp dword [esp]
push eax
call fcn.00437a60
push eax
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x68]
push ecx
push edx
call fcn.00423b90
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
add esp, 0x18
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3c]
push ebx
mov ebx, 1
cmp eax, ebx
push edi
jne 0x4c3461
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push 0
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x2c]
push ebx
push ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x70], eax
push edx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebp
mov dword [esp + 0x8c], 0
mov dword [esp + 0x80], 0
call fcn.004bcb70
mov edi, eax
mov dword [esp + 0x20], edi
mov dword [esi + 0x19c], edi
jmp 0x4c346d
mov edx, dword [esi + 0x19c]
mov dword [esp + 0x20], edx
mov edi, edx
cmp dword [esi + 0x198], ebx
jne 0x4c35b9
cmp edi, ebx
je 0x4c35ab
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x4c35ab
fld dword [esp + 0x18]
mov dword [esp + 0x20], 0x3f000000
fsub dword [esp + 0x10]
mov dword [esp + 0x24], 0x3e800000
xor edi, edi
fstp dword [esp + 0x30]
fld dword [esp + 0x1c]
fsub dword [esp + 0x14]
fstp dword [esp + 0x34]
lea esp, [esp]
fld dword [esp + 0x30]
mov eax, dword [esp + 0x10]
fmul dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push 0
fadd dword [esp + 0x14]
push 1
push edx
mov dword [esp + 0x6c], eax
fst dword [esp + 0x44]
mov dword [esp + 0x70], ecx
fld dword [esp + 0x40]
lea eax, [esp + 0x38]
fmul dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x7c]
push ecx
fadd dword [esp + 0x28]
lea edx, [esp + 0x74]
push edx
mov ecx, ebp
fst dword [esp + 0x54]
mov dword [esp + 0x8c], 0
fxch st(1)
mov dword [esp + 0x80], 0
fstp dword [esp + 0x84]
fstp dword [esp + 0x88]
call fcn.004bcb70
cmp eax, 1
jne 0x4c3559
fld dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
fadd dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov edi, 1
jmp 0x4c3561
fld dword [esp + 0x20]
fsub dword [esp + 0x24]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [0x73e9ac]
fst dword [esp + 0x24]
fcomp dword [0x73dff4]
fnstsw ax
test ah, 0x41
je 0x4c34c0
cmp edi, 1
jne 0x4c359f
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
jmp 0x4c35a7
mov dword [esp + 0x20], 0xfffffffc
mov edi, dword [esp + 0x20]
xor eax, eax
mov dword [esi + 0x194], eax
mov dword [esi + 0x198], eax
cmp edi, 1
jne 0x4c35fe
push 0x10
mov dword [esi + 0x8c], 4
call fcn.006fa7e6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [esi + 0x90], eax
mov ebx, dword [0x745dc0]
add esp, 4
jmp 0x4c3709
mov eax, dword [esi + 0x2c]
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
push eax
call fcn.004ae770
test eax, eax
je 0x4c361f
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x4c3703
mov eax, dword [esi + 0x194]
test eax, eax
je 0x4c365e
mov edx, dword [esp + 0x98]
push 0
push edx
push esi
mov ecx, ebp
call fcn.004c1a00
mov ebx, eax
mov eax, dword [0x832838]
test eax, eax
je 0x4c36da
mov eax, dword [esi + 0x2c]
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
push eax
call fcn.004ae770
jmp 0x4c36da
cmp edi, 0xfffffffe
je 0x4c3679
cmp edi, 0xffffffff
je 0x4c3679
cmp edi, 0xfffffffd
je 0x4c3679
test edi, edi
je 0x4c3679
mov ebx, dword [0x745dc4]
jmp 0x4c36da
mov eax, dword [ebp + 0x238]
test eax, eax
mov eax, dword [0x832838]
jbe 0x4c36b1
test eax, eax
je 0x4c369d
mov edx, dword [esi + 0x2c]
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 8]
push edx
call fcn.004ae770
mov ecx, dword [esp + 0x98]
push 0
push ecx
push esi
mov ecx, ebp
call fcn.004c2200
jmp 0x4c36d8
test eax, eax
je 0x4c36c6
mov edx, dword [esi + 0x2c]
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 8]
push edx
call fcn.004ae770
mov ecx, dword [esp + 0x98]
push 0
push ecx
push esi
mov ecx, ebp
call fcn.004c1a00
mov ebx, eax
mov eax, dword [0x832838]
test eax, eax
je 0x4c36f5
mov eax, dword [esi + 0x2c]
mov edx, dword [0x7a39fc]
mov ecx, dword [edx + 8]
push eax
call fcn.004ae770
cmp dword [esi + 0x3c], 0x64
jle 0x4c3709
cmp ebx, dword [0x745dbc]
jne 0x4c3709
mov ebx, dword [0x745dc4]
cmp ebx, dword [0x745dc4]
jne 0x4c38a3
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
jne 0x4c38a3
mov eax, dword [esi + 0x74]
fld dword [esi + 0x5c]
fld dword [esi + 0x60]
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x10], eax
fxch st(1)
fsub dword [esp + 0x10]
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x60]
mov dword [esi + 0x84], edi
mov dword [esp + 0x48], edi
fsub dword [esp + 0x14]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x1c], 0x3f000000
fstp dword [esp + 0x64]
mov dword [esp + 0x24], 0x3e800000
je 0x4c38a3
fld dword [esp + 0x60]
push 0
fmul dword [esp + 0x20]
push 0
fld dword [esp + 0x6c]
mov dword [esp + 0x88], 0
fmul dword [esp + 0x24]
fld dword [esp + 0x70]
fmul dword [esp + 0x24]
fstp dword [esp + 0x94]
fxch st(1)
fadd dword [esp + 0x18]
fstp dword [esp + 0x74]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x5c], edx
fadd dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x80], edx
lea edx, [esp + 0x34]
fstp dword [esp + 0x78]
fld dword [esp + 0x94]
mov eax, dword [esp + 0x78]
fstp dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x30]
push ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x8c]
push ecx
mov ecx, ebp
call fcn.004bcb70
cmp eax, 1
jne 0x4c3839
mov edx, dword [esp + 0x54]
fld dword [esp + 0x24]
mov eax, dword [esp + 0x58]
fadd dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov edi, 1
jmp 0x4c3841
fld dword [esp + 0x1c]
fsub dword [esp + 0x24]
fstp dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [0x73e9ac]
fst dword [esp + 0x24]
fcomp dword [0x73dff4]
fnstsw ax
test ah, 0x41
je 0x4c3776
test edi, edi
je 0x4c38a3
push 0x10
mov dword [esi + 0x8c], 4
call fcn.006fa7e6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [esi + 0x90], eax
mov ebx, dword [0x745dc0]
add esp, 4
cmp ebx, dword [0x745dc0]
jne 0x4c391e
cmp dword [esi + 0x84], 1
jne 0x4c391e
mov edi, dword [esi + 0x8c]
mov ebp, dword [esi + 0x90]
lea edx, [edi*4]
push edx
mov dword [esp + 0x48], ebp
call fcn.006fa7e6
add esp, 4
xor ecx, ecx
test edi, edi
jle 0x4c38fa
lea edx, [ebp + edi*4 - 8]
mov edi, edi
mov ebp, dword [edx]
mov dword [eax + ecx*4], ebp
mov ebp, dword [edx + 4]
mov dword [eax + ecx*4 + 4], ebp
add ecx, 2
sub edx, 8
cmp ecx, edi
jl 0x4c38e0
mov ebp, dword [esp + 0x44]
test ebp, ebp
mov dword [esi + 0x90], eax
je 0x4c390d
push ebp
call fcn.006fa390
add esp, 4
mov ecx, esi
mov dword [esi + 0x84], 0
call fcn.005cec10
cmp ebx, dword [0x745dc4]
je 0x4c392e
cmp ebx, dword [0x745dc0]
jne 0x4c3938
mov dword [esi + 0x88], 1
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
add esp, 0x80
ret 8
mov eax, dword [0x745dc4]
pop esi
pop ebp
add esp, 0x80
ret 8