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

Disassembly:
sub esp, 0xfd0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xff0]
test esi, esi
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
jle 0x43279a
mov edi, dword [esp + 0xff0]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], esi
mov ebx, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov ebp, dword [ebx]
add edi, 0xc
mov dword [esp + 0x50], ebp
fld dword [esp + 0x50]
fadd dword [esp + 0x1c]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x54], ebp
mov ebx, dword [ebx + 8]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fadd dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
dec ebx
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [esp + 0x58]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ebx
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
jne 0x432734
jmp 0x4327a6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
fild dword [esp + 0xff4]
fld dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
fdiv st(1)
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0xfe4]
push 0
push 0
mov eax, dword [eax]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov eax, dword [esp + 0xff0]
shl edx, 4
mov eax, dword [eax]
mov edx, dword [edx + 0xfdba90]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*8 + 0xc]
mov ecx, dword [edx + ecx*8 + 0xc]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fdiv st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fdiv st(1)
fstp dword [esp + 0x50]
fstp st(0)
fld dword [esp + 0x24]
fmul dword [0x51d854]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul dword [0x51d854]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x88]
push ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul dword [0x51d854]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x90], edx
lea edx, [esp + 0xc8]
push edx
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x98], eax
call fcn.004cc1e0
lea eax, [esp + 0xcc]
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.004cc360
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7e]
mov ecx, dword [esp + 0x7c]
push edx
push eax
lea edx, [esp + 0xb8]
push ecx
push edx
call fcn.004cbb50
add esp, 0x28
test esi, esi
jle 0x432964
mov ebx, dword [esp + 0xff0]
lea eax, [esp + 0xe0]
lea edi, [esp + 0xe0]
sub ebx, eax
mov ebp, esi
lea ecx, [ebx + edi]
mov edx, dword [ebx + edi]
mov dword [esp + 0x10], edx
fld dword [esp + 0x10]
fsub dword [esp + 0x40]
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov ecx, dword [ecx + 8]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fsub dword [esp + 0x44]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], edx
lea edx, [esp + 0x98]
push edx
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fsub dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x24]
push ecx
call fcn.004cb570
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, edi
add esp, 0xc
add edi, 0xc
dec ebp
mov dword [edx], eax
mov eax, dword [esp + 0x24]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
jne 0x4328d6
fld dword [0x51d850]
xor ecx, ecx
mov dword [esp + 0x2c], 0xffffffff
test esi, esi
jle 0x432998
lea edx, [esp + 0xe0]
fcom dword [edx]
fnstsw ax
test ah, 0x41
jne 0x432990
fstp st(0)
fld dword [edx]
mov dword [esp + 0x2c], ecx
inc ecx
add edx, 0xc
cmp ecx, esi
jl 0x43297f
fstp st(0)
fld dword [0x51d84c]
or ebp, 0xffffffff
xor ecx, ecx
test esi, esi
jle 0x4329c7
lea edx, [esp + 0xe4]
fcom dword [edx]
fnstsw ax
test ah, 1
je 0x4329bf
fstp st(0)
fld dword [edx]
mov ebp, ecx
inc ecx
add edx, 0xc
cmp ecx, esi
jl 0x4329b0
fstp st(0)
fld dword [0x51d84c]
or ebx, 0xffffffff
xor ecx, ecx
test esi, esi
jle 0x4329f6
lea edx, [esp + 0xe0]
fcom dword [edx]
fnstsw ax
test ah, 1
je 0x4329ee
fstp st(0)
fld dword [edx]
mov ebx, ecx
inc ecx
add edx, 0xc
cmp ecx, esi
jl 0x4329df
fstp st(0)
fld dword [0x51d850]
or edx, 0xffffffff
xor ecx, ecx
test esi, esi
jle 0x432a25
lea edi, [esp + 0xe4]
fcom dword [edi]
fnstsw ax
test ah, 0x41
jne 0x432a1d
fstp st(0)
fld dword [edi]
mov edx, ecx
inc ecx
add edi, 0xc
cmp ecx, esi
jl 0x432a0e
mov eax, dword [esp + 0x2c]
lea edx, [edx + edx*2]
fstp st(0)
lea ecx, [eax + eax*2]
mov dword [esp + 0x94], 0
lea eax, [esp + ecx*4 + 0xe0]
mov dword [esp + 0x6c], eax
mov ecx, dword [eax]
mov dword [esp + 0x8c], ecx
lea ecx, [ebp + ebp*2]
mov esi, dword [esp + ecx*4 + 0xe4]
lea ecx, [esp + ecx*4 + 0xe4]
mov dword [esp + 0x90], esi
lea esi, [ebx + ebx*2]
mov dword [esp + 0x60], ecx
fld dword [esp + esi*4 + 0xe0]
fsub dword [eax]
fstp dword [esp + 0x30]
fld dword [ecx]
fsub dword [esp + edx*4 + 0xe4]
fstp dword [esp + 0x3c]
fild dword [0x543b24]
fst dword [esp + 0x34]
fst dword [esp + 0x28]
fld dword [esp + 0x34]
fld dword [esp + 0x30]
fdiv st(1)
fld st(0)
call fcn.004b6898
mov ecx, eax
mov dword [esp + 0x38], ecx
fild dword [esp + 0x38]
fsubr st(1)
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x432ac5
inc ecx
inc ecx
cmp ecx, 0x7e
jle 0x432ad3
fadd dword [0x51d834]
jmp 0x432a9c
fstp dword [esp + 0x34]
cmp ecx, 2
jge 0x432ae1
mov ecx, 2
mov ebx, ecx
mov dword [esp + 0x5c], ebx
fld dword [esp + 0x3c]
fdiv st(1)
fld st(0)
call fcn.004b6898
mov edi, eax
mov dword [esp + 0x38], edi
fild dword [esp + 0x38]
fsubr st(1)
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x432b10
inc edi
inc edi
cmp edi, 0x7e
mov dword [esp + 0x38], edi
jle 0x432b22
fadd dword [0x51d834]
jmp 0x432ae7
fstp dword [esp + 0x28]
cmp edi, 2
jge 0x432b37
mov dword [esp + 0x38], 2
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0xff8]
push 1
test eax, eax
je 0x432b58
push 5
push edi
push ebx
call fcn.0044b6e0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x2c], esi
jmp 0x432b6a
push 0
push edi
push ebx
call fcn.0044b6e0
add esp, 0x10
mov dword [esp + 0x2c], eax
mov esi, eax
mov ecx, dword [0x7f999c]
mov eax, dword [0x7f9994]
inc ecx
test eax, eax
mov dword [0x7f999c], ecx
je 0x432bec
fild dword [esp + 0x5c]
fdivr dword [esp + 0x30]
call fcn.004b6898
mov ecx, eax
imul eax, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ecx
fild dword [esp + 0x28]
fsubr dword [esp + 0x30]
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
jne 0x432bb4
inc ecx
mov dword [esp + 0x34], ecx
fild dword [esp + 0x38]
fdivr dword [esp + 0x3c]
call fcn.004b6898
mov ecx, eax
mov edx, ecx
mov dword [esp + 0x30], ecx
imul edx, edi
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fsubr dword [esp + 0x3c]
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
jne 0x432c06
inc ecx
mov dword [esp + 0x30], ecx
jmp 0x432c06
fld dword [esp + 0x34]
call fcn.004b6898
fld dword [esp + 0x28]
mov dword [esp + 0x34], eax
call fcn.004b6898
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xfec]
test ecx, ecx
jle 0x432e2f
mov edi, dword [esp + 0xfe8]
mov eax, dword [esp + 0xfe4]
sub eax, edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [eax + edi]
lea edx, [ecx + ecx*2]
lea edx, [ecx + edx*4]
mov ecx, dword [edi]
shl edx, 4
lea ebx, [ecx*8]
sub ebx, ecx
mov ecx, dword [edx + 0xfdba90]
mov word [ecx + ebx*8 + 0x1a], si
mov ecx, dword [eax + edi]
xor ebx, ebx
lea edx, [ecx + ecx*2]
lea edx, [ecx + edx*4]
mov ecx, dword [edi]
shl edx, 4
lea ebp, [ecx*8]
sub ebp, ecx
mov ecx, dword [edx + 0xfdba90]
mov dl, byte [ecx + ebp*8 + 2]
test dl, dl
jbe 0x432e1d
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
imul edx, dword [esp + 0x5c]
imul ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], edx
xor ebp, ebp
fild dword [esp + 0x4c]
mov dword [esp + 0x4c], ecx
fstp dword [esp + 0x70]
fild dword [esp + 0x4c]
fstp dword [esp + 0x4c]
mov eax, dword [eax + edi]
mov ecx, dword [edi]
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
lea edx, [ecx*8]
shl eax, 4
add eax, 0xfdba80
sub edx, ecx
mov ecx, dword [eax + 0x10]
lea esi, [ecx + edx*8]
mov edx, dword [ecx + edx*8 + 4]
movsx ecx, word [edx + ebx*2]
mov edx, dword [eax + 0x18]
lea ecx, [ecx + ecx*2]
lea eax, [edx + ecx*4]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x50], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x54], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], edx
fld dword [esp + 0x10]
fsub dword [esp + 0x40]
mov edx, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fsub dword [esp + 0x44]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x98]
push eax
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fsub dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x54]
push ecx
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x24]
push edx
call fcn.004cb570
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
fld dword [esp + 0x28]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x84], ecx
fsub dword [eax]
mov ecx, dword [esi + 8]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x6c]
add esp, 0xc
fdiv dword [esp + 0x70]
fstp dword [ecx + ebp + 8]
fld dword [edx]
fsub dword [esp + 0x78]
mov eax, dword [esi + 8]
fabs
fdiv dword [esp + 0x4c]
fstp dword [eax + ebp + 0xc]
mov ecx, dword [esi + 8]
fld dword [ecx + ebp + 8]
fcomp dword [0x51d808]
lea ecx, [ecx + ebp + 8]
fnstsw ax
test ah, 1
je 0x432dc4
mov dword [ecx], 0
mov edx, dword [esi + 8]
fld dword [edx + ebp + 0xc]
fcomp dword [0x51d808]
lea ecx, [edx + ebp + 0xc]
fnstsw ax
test ah, 1
je 0x432de2
mov dword [ecx], 0
mov eax, dword [esp + 0x3c]
inc ebx
add ebp, 0x14
mov eax, dword [eax + edi]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov eax, dword [edi]
shl edx, 4
lea ecx, [eax*8]
mov edx, dword [edx + 0xfdba90]
sub ecx, eax
xor eax, eax
mov al, byte [edx + ecx*8 + 2]
cmp ebx, eax
mov eax, dword [esp + 0x3c]
jl 0x432ca6
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add edi, 4
dec ecx
mov dword [esp + 0x28], ecx
jne 0x432c2d
lea ecx, [esp + 0x98]
push ecx
call fcn.004cb540
lea edx, [esp + 0x9c]
lea eax, [esp + 0x90]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004cb570
fld dword [esp + 0x2c]
fadd dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov edx, dword [0x8856c4]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fadd dword [esp + 0x54]
lea eax, [esi + esi*4]
mov dword [esp + 0x28], ecx
shl eax, 3
add esp, 0x10
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [esp + 0x48]
lea ecx, [eax + edx + 4]
mov edx, dword [esp + 0x10]
mov dword [ecx], edx
mov edx, dword [esp + 0x14]
fstp dword [esp + 0x18]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], edx
mov ecx, dword [0x8856c4]
mov dl, byte [esp + 0x34]
mov byte [eax + ecx], dl
mov ecx, dword [0x8856c4]
mov dl, byte [esp + 0x30]
mov byte [eax + ecx + 1], dl
mov ecx, dword [esp + 0xfe4]
mov ecx, dword [ecx]
lea edx, [ecx + ecx*2]
lea edx, [ecx + edx*4]
mov ecx, dword [esp + 0xfe8]
shl edx, 4
mov ecx, dword [ecx]
mov edx, dword [edx + 0xfdba90]
lea edi, [ecx*8]
sub edi, ecx
lea ecx, [edx + edi*8 + 0xc]
mov edx, dword [0x8856c4]
pop edi
lea eax, [eax + edx + 0x10]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
lea edx, [esi + esi*2]
pop esi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
lea eax, [edx*4 + 0x7399a0]
mov edx, dword [esp + 0x3c]
pop ebp
pop ebx
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
add esp, 0xfd0
ret