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

Disassembly:
sub esp, 0xd8
mov edx, dword [esp + 0xdc]
mov ecx, dword [0x8716a8]
mov ecx, dword [ecx + 0x34]
mov eax, edx
and eax, 0xffff
imul eax, eax, 0x6c
push ebx
push ebp
lea ebp, [ecx + eax]
mov ecx, dword [0x6521c4]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x6521c8]
mov dword [esp + 0x64], ecx
mov ecx, dword [0x6521cc]
mov dword [esp + 0x68], ecx
mov ecx, dword [0x6521d0]
push esi
mov dword [esp + 0x70], ecx
push edi
mov ecx, 0x1c
lea esi, [esp + 0x68]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x871734]
mov bl, byte [ecx + 1]
mov dword [esp + 0x28], eax
or eax, 0xffffffff
test bl, bl
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x12], 0
je 0x43862f
cmp edx, eax
jne 0x438628
mov edx, dword [ecx + 8]
mov dword [esp + 0x3c], edx
jmp 0x43862f
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x871734]
mov dl, byte [ecx + 1]
test dl, dl
je 0x4388a5
cmp eax, 0xffffffff
mov dword [esp + 0x38], eax
je 0x4388a5
mov edx, dword [0x871740]
mov ebp, dword [edx + 0x34]
mov edx, dword [0x86cff4]
mov edi, eax
and edi, 0xffff
mov esi, edi
imul esi, esi, 0x724
mov ecx, dword [esi + ebp + 0x58]
mov ebx, dword [esi + ebp + 0x18]
mov eax, dword [esi + ebp + 0x2c]
add esi, ebp
and ecx, 0xffff
shl ecx, 5
cmp ebx, 0xffffffff
mov ecx, dword [ecx + edx + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ecx
mov byte [esp + 0x13], 0
je 0x438633
push 0
push 0
push 1
call fcn.00430400
fstp dword [esp + 0x20]
mov edx, dword [0x871740]
mov eax, dword [edx + 0x34]
add esp, 0xc
imul edi, edi, 0x724
mov edi, dword [edi + eax + 0x50]
jmp 0x4386d0
fstp st(0)
jmp 0x4386d0
cmp edi, 0xffffffff
mov ebp, edi
je 0x438838
mov edx, dword [0x8716a0]
mov ecx, edi
mov edi, dword [edx + 0x34]
and ecx, 0xffff
imul ecx, ecx, 0x138
mov al, byte [ecx + edi + 0x127]
add ecx, edi
test al, al
mov edi, dword [ecx + 8]
je 0x4386d0
mov bl, byte [ecx + 0x60]
test bl, bl
je 0x438742
mov eax, dword [esp + 0x20]
test byte [eax + 4], 0x40
jne 0x43872d
cmp word [ecx + 0x76], 0xd2
jge 0x43872d
fld dword [0x66c594]
xor edx, edx
mov dword [esp + 0x1c], 0x3f333333
jmp 0x438755
fld dword [0x66c588]
mov edx, 1
mov dword [esp + 0x1c], 0
jmp 0x438755
fld dword [0x66ca2c]
mov edx, 2
mov dword [esp + 0x1c], 0x3ecccccd
fcom dword [ecx + 0x11c]
fnstsw ax
test ah, 0x41
jne 0x4386c4
fdiv dword [ecx + 0x11c]
fld dword [0x66c52c]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x438783
fstp st(0)
fld dword [0x66c52c]
fld dword [esp + 0x14]
fcomp dword [0x66c5ec]
fnstsw ax
test ah, 0x41
jne 0x43879a
fld dword [esp + 0x14]
jmp 0x4387a0
fld dword [0x66c5ec]
movsx eax, word [ecx + 0x76]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x66caa8]
fld dword [0x66c410]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x4387c9
fstp st(0)
fld dword [0x66c410]
fld dword [0x66c52c]
mov al, byte [ecx + 0x12e]
test al, al
fsub st(1)
fmul st(2)
fmul st(3)
fadd dword [esp + 0x1c]
fstp dword [esp + 0x18]
fstp st(0)
fstp st(0)
fstp st(0)
je 0x4387fb
fld dword [esp + 0x18]
fadd dword [0x66c52c]
fstp dword [esp + 0x18]
test bl, bl
je 0x438804
mov byte [esp + 0x13], 1
mov ecx, dword [ecx + 0x18]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x3c]
movsx edx, dx
push ebp
push eax
shl edx, 5
push ecx
lea eax, [esp + edx + 0x78]
push eax
call fcn.00438400
add esp, 0x14
test al, al
je 0x4386d0
mov byte [esp + 0x12], 1
jmp 0x4386d0
mov al, byte [esp + 0x13]
test al, al
je 0x43862f
mov esi, dword [esi + 0x18]
mov edx, dword [0x851c30]
mov eax, dword [edx + 0x34]
and esi, 0xffff
lea ecx, [esi + esi*2]
mov ecx, dword [eax + ecx*4 + 8]
movsx edx, word [ecx + 0x42a]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], edx
push 0xffffffffffffffff
push 0xffffffffffffffff
fild dword [esp + 0x28]
push ecx
lea ecx, [esp + 0xd4]
fmul dword [0x66c5d8]
fadd dword [esp + 0x20]
fstp dword [esp]
push eax
push ecx
call fcn.00438400
add esp, 0x14
test al, al
je 0x43862f
mov byte [esp + 0x12], 1
jmp 0x43862f
mov al, byte [esp + 0x12]
test al, al
je 0x4389b6
lea edx, [esp + 0x48]
push edx
lea ebx, [esp + 0x6c]
call fcn.00438490
mov word [esp + 0x34], ax
mov eax, dword [esp + 0x30]
add esp, 4
cmp word [eax + 2], 2
jne 0x4388dd
cmp word [eax + 0x4c], 8
jl 0x4389b6
mov edi, dword [0x6521d0]
lea ecx, [esp + 0x68]
mov byte [esp + 0x12], 0
xor esi, esi
mov edx, ecx
cmp si, word [esp + 0x30]
jne 0x438931
mov ebx, dword [0x6521c4]
mov eax, ecx
mov dword [eax], ebx
mov ebx, dword [0x6521c8]
mov dword [eax + 4], ebx
mov ebx, dword [0x6521cc]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov ebp, dword [eax]
lea ebx, [ecx + 0x10]
mov dword [ebx], ebp
mov ebp, dword [eax + 4]
mov dword [ebx + 4], ebp
mov ebp, dword [eax + 8]
mov dword [ebx + 8], ebp
mov eax, dword [eax + 0xc]
mov dword [ebx + 0xc], eax
jmp 0x43897d
mov eax, dword [ecx]
cmp eax, dword [esp + 0x48]
je 0x438942
mov eax, dword [ecx + 0xc]
cmp eax, dword [esp + 0x54]
jne 0x43897d
lea eax, [edx + 0x10]
mov ebp, dword [eax]
mov ebx, edx
mov dword [ebx], ebp
mov ebp, dword [eax + 4]
mov dword [ebx + 4], ebp
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], eax
mov ebx, dword [0x6521c4]
lea eax, [ecx + 0x10]
mov dword [eax], ebx
mov ebx, dword [0x6521c8]
mov dword [eax + 4], ebx
mov ebx, dword [0x6521cc]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
cmp dword [ecx], 0xffffffff
je 0x438987
mov byte [esp + 0x12], 1
inc esi
add edx, 0x20
add ecx, 0x20
cmp si, 4
jl 0x4388f0
mov al, byte [esp + 0x12]
test al, al
je 0x4389b6
lea ecx, [esp + 0x58]
push ecx
lea ebx, [esp + 0x6c]
call fcn.00438490
add esp, 4
mov word [esp + 0x32], ax
mov eax, dword [esp + 0x2c]
cmp word [eax + 2], 2
jne 0x4389cc
cmp word [eax + 0x4c], 4
jl 0x438cd9
mov eax, dword [0x871734]
mov dl, byte [eax + 1]
or ecx, 0xffffffff
test dl, dl
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 0
je 0x438a08
cmp dword [esp + 0xec], ecx
jne 0x4389f5
mov edi, dword [eax + 8]
jmp 0x438a10
mov edx, dword [0x8716a8]
mov eax, dword [edx + 0x34]
mov ecx, dword [esp + 0x28]
mov edi, dword [eax + ecx + 0x14]
jmp 0x438a10
mov edi, dword [esp + 0x3c]
lea esp, [esp]
mov edx, dword [0x871734]
mov cl, byte [edx + 1]
test cl, cl
mov byte [esp + 0x13], cl
je 0x438ac6
cmp edi, 0xffffffff
mov ebp, edi
je 0x438ac6
mov ecx, dword [0x871740]
mov edx, dword [ecx + 0x34]
mov esi, edi
and esi, 0xffff
mov eax, esi
imul eax, eax, 0x724
mov edi, dword [eax + edx + 0x2c]
add eax, edx
mov eax, dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x438a10
push 0
push 0
push 1
mov ebx, eax
call fcn.00430400
imul esi, esi, 0x724
fstp dword [esp + 0x20]
mov edx, dword [0x871740]
mov eax, dword [edx + 0x34]
movsx ecx, word [esi + eax + 4]
mov edx, dword [ecx*4 + 0x67f3a8]
mov al, byte [edx + 4]
add esp, 0xc
test al, 2
je 0x438a10
fld dword [esp + 0x14]
fcomp dword [0x66c52c]
fnstsw ax
test ah, 0x41
jne 0x438a10
fld dword [esp + 0x14]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x438a10
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], eax
jmp 0x438a10
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
mov dword [esp + 0x44], eax
je 0x438cd9
mov esi, dword [esp + 0x1c]
mov edx, dword [0x871740]
mov eax, dword [edx + 0x34]
and esi, 0xffff
imul esi, esi, 0x724
fld dword [esi + eax + 0x1b8]
fcomp dword [0x66c408]
add esi, eax
mov dword [esp + 0x20], eax
fnstsw ax
test ah, 5
jp 0x438b5b
fld dword [esi + 0x3b4]
fsub dword [esi + 0x1b8]
fcomp dword [0x66c5d4]
fnstsw ax
test ah, 0x41
jne 0x438b5b
fld dword [0x66c528]
or ebp, 0xffffffff
test cl, cl
mov dword [esp + 0x24], 3
mov dword [esp + 0x14], ebp
je 0x438bfb
cmp dword [esp + 0xec], ebp
jne 0x438be9
mov edx, dword [0x871734]
mov edi, dword [edx + 8]
jmp 0x438c00
mov edx, dword [esp + 0x2c]
mov ax, word [edx + 0x2a]
mov ecx, 1
cmp ax, cx
jne 0x438b7c
cmp word [edx + 0x1a], cx
jle 0x438b7c
mov dword [esp + 0x24], ecx
jmp 0x438cd9
cmp ax, 2
jl 0x438bc5
mov ecx, 2
jg 0x438b8c
movsx ecx, ax
movsx edi, ax
add edi, ecx
movsx ecx, word [edx + 0x1a]
cmp ecx, edi
jl 0x438ba6
mov dword [esp + 0x24], 4
jmp 0x438cd9
cmp ax, 2
jl 0x438bc5
movsx edx, word [edx + 0x1a]
movsx eax, ax
dec edx
cmp eax, edx
jl 0x438bc5
mov dword [esp + 0x24], 5
jmp 0x438cd9
fld dword [esi + 0x1b8]
fcomp dword [0x66c5e0]
fnstsw ax
test ah, 0x41
jne 0x438cd9
mov dword [esp + 0x24], 2
jmp 0x438cd9
mov eax, dword [0x8716a8]
mov edx, dword [eax + 0x34]
mov eax, dword [esp + 0x28]
mov edi, dword [edx + eax + 0x14]
jmp 0x438c00
mov edi, dword [esp + 0x3c]
nop
test cl, cl
je 0x438cc6
cmp edi, 0xffffffff
mov ebx, edi
je 0x438cc6
mov eax, edi
mov edi, dword [esp + 0x20]
and eax, 0xffff
imul eax, eax, 0x724
mov edx, dword [eax + edi + 0x18]
add eax, edi
cmp edx, 0xffffffff
mov edi, dword [eax + 0x2c]
je 0x438c00
cmp ebx, dword [esp + 0x1c]
je 0x438c00
fld dword [eax + 0x120]
fsub dword [esi + 0x120]
fld dword [eax + 0x124]
fsub dword [esi + 0x124]
fld dword [eax + 0x128]
fsub dword [esi + 0x128]
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 dword [esp + 0x28]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [0x66c528]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x438c9a
fld st(0)
fmul st(1)
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jne 0x438c00
mov ecx, dword [esi + 0x18]
push ecx
mov ecx, ebx
call fcn.0043ea90
mov cl, byte [esp + 0x17]
add esp, 4
cmp eax, 0xffffffff
je 0x438c00
fstp st(0)
mov ebp, ebx
fld dword [esp + 0x28]
mov dword [esp + 0x14], eax
jmp 0x438c00
cmp ebp, 0xffffffff
fstp st(0)
je 0x438cd9
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x20], edx
mov ebx, dword [0x871740]
lea esi, [esp + 0x30]
lea ecx, [esp + 0x48]
mov edi, 2
lea esp, [esp]
mov dx, word [esi]
cmp dx, 0xffff
je 0x438d2b
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x438d2b
mov ebp, dword [ebx + 0x34]
and eax, 0xffff
imul eax, eax, 0x724
movsx edx, dx
mov dx, word [edx*2 + str._t_a_b_n]
add eax, ebp
mov word [eax + 0x1e4], dx
mov edx, dword [ecx + 8]
mov dword [eax + 0x1e8], edx
add esi, 2
add ecx, 0x10
dec edi
jne 0x438cf0
mov ecx, dword [esp + 0x24]
cmp cx, 0xffff
je 0x438d94
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
je 0x438d94
mov edx, dword [ebx + 0x34]
and eax, 0xffff
imul eax, eax, 0x724
add eax, edx
mov word [eax + 0x1e4], cx
mov dword [eax + 0x1e8], 0xffffffff
mov eax, dword [esp + 0x40]
cmp eax, 0xffffffff
je 0x438d94
mov ecx, dword [ebx + 0x34]
and eax, 0xffff
imul eax, eax, 0x724
add eax, ecx
mov ecx, dword [esp + 0x20]
mov word [eax + 0x1e4], 6
mov dword [eax + 0x1e8], ecx
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov byte [eax + 0x47], 1
mov byte [eax + 0x48], 0
mov word [eax + 0x4a], 0x78
mov word [eax + 0x4c], 0
pop ebx
add esp, 0xd8
ret