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

Disassembly:
sub esp, 0x20c
mov eax, dword [esp + 0x210]
mov edx, dword [0x8716a8]
and eax, 0xffff
mov ecx, eax
imul eax, eax, 0xb0
imul ecx, ecx, 0x6c
push ebx
mov ebx, dword [edx + 0x34]
add ebx, ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x738b8c]
add eax, dword [ecx + 0x430]
push ebp
mov dword [esp + 0x14], eax
movsx eax, word [ebx + 0x62]
push esi
or ebp, 0xffffffff
xor esi, esi
dec eax
push edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], esi
je 0x439591
dec eax
je 0x43955d
dec eax
jne 0x439586
mov eax, dword [ebx + 0x64]
cmp eax, ebp
je 0x439586
push eax
lea ecx, [esp + 0x44]
call fcn.00432660
add esp, 4
lea edx, [esp + 0x40]
call fcn.004326e0
test eax, eax
je 0x439586
cmp si, 8
jge 0x4395e5
mov eax, dword [eax + 0x18]
movsx edx, si
mov dword [esp + edx*4 + 0xdc], eax
lea edx, [esp + 0x40]
inc esi
call fcn.004326e0
test eax, eax
jne 0x439533
jmp 0x4395e5
mov esi, dword [ebx + 0x64]
push 3
mov ecx, esi
call fcn.004f2aa0
add esp, 4
test eax, eax
je 0x439583
mov dword [esp + 0xdc], esi
mov dword [esp + 0x10], 1
xor eax, eax
jmp 0x4395f0
mov dword [ebx + 0x64], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
mov eax, dword [0x86b840]
mov dword [esp + 0x40], eax
xor eax, 0x69746572
lea edi, [esp + 0x40]
mov word [esp + 0x44], 0
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], eax
call fcn.004ce910
test eax, eax
je 0x439586
jmp 0x4395c0
mov eax, dword [eax + 0x34]
cmp eax, ebp
je 0x4395d8
cmp si, 8
jge 0x4395d8
movsx ecx, si
mov dword [esp + ecx*4 + 0xdc], eax
inc esi
lea edi, [esp + 0x40]
call fcn.004ce910
test eax, eax
jne 0x4395c0
xor eax, eax
cmp si, ax
mov dword [esp + 0x10], esi
jle 0x439586
xor edx, edx
mov dword [esp + 0x5c], edx
xor ecx, ecx
cmp word [ebx + 6], ax
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x38], eax
jle 0x439586
mov cx, word [ebx + 6]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0x84]
lea edx, [esp + 0x11c]
add ebx, 0x22
mov word [esp + 0x3c], cx
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ebx
jmp 0x439650
test byte [ebx + 6], 0x20
je 0x439730
mov ecx, dword [esp + 0x34]
mov dx, word [ecx + 4]
add dx, word [esp + 0x38]
mov esi, dword [0x8716ac]
movsx eax, dx
mov edi, dword [esp + 0x20]
shl eax, 5
add eax, esi
mov esi, dword [esp + 0x30]
mov ecx, esi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, esi
sar ecx, 5
shl ecx, 2
or dword [esp + ecx + 0x5c], edx
xor ebp, ebp
mov bp, word [eax + 0x18]
add edi, ebp
cmp byte [eax + 0x10], 0
mov dword [esp + 0x20], edi
je 0x439730
or dword [esp + ecx + 0x64], edx
mov si, word [ebx]
xor eax, eax
test si, si
jl 0x4396ff
mov ebx, dword [esp + 0x1c]
movsx edi, si
cmp edi, dword [ebx + 0x8c]
jge 0x4396fb
mov edi, dword [esp + 0x34]
mov di, word [edi + 8]
add di, si
movsx esi, di
mov edi, dword [0x8716a4]
shl esi, 4
cmp byte [esi + edi], 0
mov ebx, dword [esp + 0x18]
je 0x4396ff
lea esi, [ebx + 0x3e]
mov edi, 3
or eax, dword [esi]
add esi, 4
dec edi
jne 0x4396f1
jmp 0x43970f
mov ebx, dword [esp + 0x18]
lea esi, [ebx + 0x32]
mov edi, 3
or eax, dword [esi]
add esi, 4
dec edi
jne 0x439707
mov esi, dword [esp + 0x24]
mov dword [esi], eax
mov esi, dword [esp + 0x14]
or esi, eax
test bp, bp
mov dword [esp + 0x14], esi
jle 0x439730
mov eax, dword [esp + ecx + 0x6c]
lea ecx, [esp + ecx + 0x6c]
or eax, edx
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
inc eax
inc edi
add ebx, 0xe8
add edx, 4
cmp ax, word [esp + 0x3c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], edx
jl 0x439650
cmp word [esp + 0x20], 0
jle 0x439586
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x439586
mov eax, dword [esp + 0x10]
cmp ax, 1
mov ebx, dword [0x871734]
jne 0x4397a7
mov ecx, dword [esp + 0xdc]
lea eax, [esp + 0x40]
mov dword [esp + 0x2c], ecx
call fcn.004f24e0
mov edi, dword [esp + 0x2c]
jmp 0x43992a
test ax, ax
jle 0x4397e7
movzx ebp, word [esp + 0x10]
mov ecx, ebp
mov eax, 0x7f7fffff
lea edi, [esp + 0xfc]
rep stosd dword es:[edi], eax
lea esi, [esp + 0x74]
xor edi, edi
jmp 0x4397d0
mov ecx, dword [esp + edi + 0xdc]
mov eax, esi
call fcn.004f24e0
add esi, 0xc
add edi, 4
dec ebp
jne 0x4397d0
mov al, byte [ebx + 1]
test al, al
mov byte [esp + 0x2b], al
je 0x439813
cmp dword [esp + 0x220], 0xffffffff
jne 0x439801
mov ebp, dword [ebx + 8]
jmp 0x439820
mov eax, dword [0x8716a8]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0x58]
mov ebp, dword [edx + ecx + 0x14]
jmp 0x439820
mov ebp, dword [esp + 0x48]
jmp 0x439820
mov al, byte [esp + 0x2b]
test al, al
je 0x4398d0
cmp ebp, 0xffffffff
je 0x4398d0
mov eax, dword [0x871740]
mov edi, dword [eax + 0x34]
mov edx, ebp
and edx, 0xffff
imul edx, edx, 0x724
movsx eax, word [edx + edi + 0x3a]
mov ebp, dword [edx + edi + 0x2c]
add edx, edi
mov ecx, eax
and ecx, 0x1f
mov esi, 1
shl esi, cl
sar eax, 5
test dword [esp + eax*4 + 0x5c], esi
je 0x439820
cmp word [esp + 0x10], 0
jle 0x439820
movzx edi, word [esp + 0x10]
lea ecx, [esp + 0xfc]
lea esi, [esp + 0x7c]
fld dword [esi - 8]
fsub dword [edx + 0x12c]
fld dword [esi - 4]
fsub dword [edx + 0x130]
fld dword [esi]
fsub dword [edx + 0x134]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fcom dword [ecx]
fnstsw ax
test ah, 5
jnp 0x4398c0
fstp st(0)
fld dword [ecx]
fstp dword [ecx]
add esi, 0xc
add ecx, 4
dec edi
jne 0x439883
jmp 0x439820
cmp word [esp + 0x10], 0
jle 0x439586
movzx esi, word [esp + 0x10]
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x74]
xor ecx, ecx
jmp 0x4398f0
fld dword [esp + ecx + 0xfc]
fcomp dword [0x66c528]
fnstsw ax
test ah, 5
jp 0x439921
mov edi, dword [esp + ecx + 0xdc]
mov eax, edx
mov ebx, dword [eax]
mov dword [esp + 0x40], ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
add ecx, 4
add edx, 0xc
dec esi
jne 0x4398f0
cmp edi, 0xffffffff
je 0x439586
mov ecx, 0x7f7fffff
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x98]
xor edi, edi
test esi, esi
mov dword [esp + 0x18], 0xffffffff
jle 0x439a69
mov edx, dword [ecx + 0x9c]
mov ebx, dword [esp + 0x14]
xor eax, eax
lea esp, [esp]
lea eax, [eax + eax*2]
movsx ecx, word [edx + eax*8 + 0xc]
lea eax, [edx + eax*8]
mov ebp, 1
shl ebp, cl
test ebx, ebp
je 0x439a61
fld dword [esp + 0x40]
lea ecx, [esp + ecx*4 + 0x74]
fsub dword [eax]
fld dword [esp + 0x44]
fsub dword [eax + 4]
fld dword [esp + 0x48]
fsub dword [eax + 8]
fld st(2)
fmulp st(3)
fld st(0)
fmul st(1)
faddp st(3)
fld st(1)
fmul st(2)
faddp st(3)
fstp st(0)
fstp st(0)
fcom dword [ecx]
fnstsw ax
test ah, 5
jnp 0x439a5f
fstp st(0)
fld dword [ecx]
fstp dword [ecx]
inc edi
movsx eax, di
cmp eax, esi
jl 0x439a10
mov eax, dword [esp + 0x34]
xor ecx, ecx
cmp word [eax + 6], cx
mov dword [esp + 0x20], 0x7f7fffff
mov dword [esp + 0x24], 0xff7fffff
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x14], ecx
jle 0x439586
mov dx, word [eax + 6]
lea eax, [esp + 0x11c]
mov word [esp + 0x3c], dx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
lea ecx, [ecx]
mov esi, dword [esp + 0x1c]
mov ecx, esi
and ecx, 0x1f
mov ebx, 1
sar esi, 5
shl ebx, cl
shl esi, 2
test dword [esp + esi + 0x64], ebx
je 0x439b3a
mov ecx, dword [esp + 0x2c]
fld dword [0x66c528]
mov ebp, dword [ecx]
xor ecx, ecx
lea edx, [esp + 0x74]
mov edi, 0x1a
mov eax, 1
shl eax, cl
test ebp, eax
je 0x439afb
fcom dword [edx]
fnstsw ax
test ah, 0x41
jne 0x439afb
fstp st(0)
fld dword [edx]
inc ecx
add edx, 4
dec edi
jne 0x439ae3
fcom dword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x439b19
mov ecx, dword [esp + 0x14]
fst dword [esp + 0x20]
mov dword [esp + 0x18], ecx
test dword [esp + esi + 0x6c], ebx
je 0x439b38
fcom dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x439b38
mov edx, dword [esp + 0x14]
fstp dword [esp + 0x24]
mov dword [esp + 0x30], edx
jmp 0x439b3a
fstp st(0)
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
inc eax
inc esi
add edx, 4
cmp ax, word [esp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], edx
jl 0x439ab0
or edx, 0xffffffff
cmp word [esp + 0x18], dx
je 0x439586
cmp word [esp + 0x30], dx
je 0x439bb9
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
fsqrt
fld dword [esp + 0x24]
fsqrt
fld dword [ecx + 0x68]
fcomp dword [0x66c40c]
fnstsw ax
test ah, 0x41
jne 0x439b9c
fld dword [ecx + 0x68]
jmp 0x439ba2
fld dword [0x66c52c]
fxch st(1)
fsub st(1)
fxch st(1)
fxch st(2)
fcompp
fnstsw ax
fstp st(0)
test ah, 5
jp 0x439586
mov eax, dword [0x871734]
mov cl, byte [eax + 1]
test cl, cl
je 0x439bf0
cmp dword [esp + 0x220], edx
jne 0x439bd7
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
jmp 0x439bf0
mov ecx, dword [0x8716a8]
mov edx, dword [ecx + 0x34]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + edx + 0x14]
mov dword [esp + 0x48], ecx
lea esp, [esp]
mov edx, dword [0x871734]
mov al, byte [edx + 1]
test al, al
je 0x439586
mov esi, dword [esp + 0x48]
cmp esi, 0xffffffff
mov edi, esi
je 0x439586
mov ecx, dword [0x871740]
mov ebp, dword [ecx + 0x34]
and esi, 0xffff
mov eax, esi
imul eax, eax, 0x724
mov edx, dword [eax + ebp + 0x2c]
add eax, ebp
mov dword [esp + 0x48], edx
movsx edx, word [eax + 0x3a]
mov ecx, edx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
sar edx, 5
test dword [esp + edx*4 + 0x5c], ebx
je 0x439bf0
mov cx, word [esp + 0x18]
cmp word [eax + 0x3a], cx
je 0x439bf0
mov ecx, dword [0x871740]
imul esi, esi, 0x724
mov edx, dword [ecx + 0x34]
mov ax, word [esi + edx + 0x46c]
lea ebp, [esi + edx]
or ebx, 0xffffffff
cmp ax, 3
mov word [ebp + 0x3b8], bx
je 0x439c85
cmp ax, 4
jne 0x439c94
mov word [ebp + 0x46c], 0
mov dword [ebp + 0x480], ebx
mov eax, dword [ecx + 0x34]
add eax, esi
movsx eax, word [eax + 0x6c]
imul eax, eax, 0x38
mov eax, dword [eax + 0x6502b8]
test eax, eax
je 0x439cb0
push edi
call eax
add esp, 4
mov al, byte [ebp + 9]
test al, al
je 0x439cbe
call fcn.004369a0
jmp 0x439ccf
cmp dword [ebp + 0x34], ebx
je 0x439ccf
push 0
mov eax, edi
call fcn.00436630
add esp, 4
mov eax, dword [esp + 0x220]
cmp eax, ebx
jne 0x439d6d
mov ecx, dword [0x871734]
mov al, byte [ecx + 1]
test al, al
je 0x439bf0
mov ebx, dword [ecx + 8]
mov edx, dword [0x871740]
mov eax, dword [edx + 0x34]
add eax, esi
mov dword [eax + 0x2c], ebx
mov dword [ecx + 8], edi
mov cl, byte [eax + 8]
neg cl
mov byte [eax + 9], 1
sbb ecx, ecx
and ecx, 0x5a
mov word [eax + 0x10], cx
mov eax, dword [edx + 0x34]
mov cx, word [eax + esi + 0x46c]
add eax, esi
or ebp, 0xffffffff
cmp cx, 3
mov word [eax + 0x3b8], bp
je 0x439d38
cmp cx, 4
jne 0x439d47
mov word [eax + 0x46c], 0
mov dword [eax + 0x480], ebp
mov eax, dword [edx + 0x34]
movsx edx, word [eax + esi + 0x6c]
add eax, esi
imul edx, edx, 0x38
mov eax, dword [edx + 0x6502b8]
test eax, eax
je 0x439bf0
push edi
call eax
add esp, 4
jmp 0x439bf0
mov edx, dword [esp + 0x18]
push 1
push eax
push edi
call fcn.00436780
add esp, 0xc
jmp 0x439bf0