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

Disassembly:
sub esp, 0x5c
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 4]
push esi
mov esi, ecx
mov ecx, dword [eax]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x68]
test eax, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
je 0x63506f
cmp dword [eax + 0x54], 0
je 0x63506f
mov ecx, dword [esp + 0x74]
add ecx, 0x2d
cmp ecx, 0x5a
ja 0x63506f
mov edx, dword [eax + 0x4c]
mov eax, dword [eax + 0x48]
push ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
push edi
xor ebx, ebx
xor edi, edi
test eax, eax
mov dword [esp + 0x38], edx
jne 0x634bf4
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
jmp 0x634c12
mov edx, dword [eax + 0x1c]
mov edi, dword [eax + 0x14]
mov ebx, dword [eax + 0x18]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
fild dword [esp + 0x7c]
push ebp
mov dword [esp + 0x68], ecx
fmul qword [0x6de378]
fstp dword [esp + 0x80]
fld dword [esp + 0x80]
call fcn.00652c10
fstp dword [esp + 0x80]
fld dword [esp + 0x80]
fstp dword [esp + 0x78]
fild dword [esp + 0x44]
fld dword [esp + 0x78]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.006519c0
fild dword [esp + 0x48]
cdq
mov ebp, eax
xor ebp, edx
fmul st(1)
sub ebp, edx
add ebp, 1
mov dword [esp + 0x18], ebp
call fcn.006519c0
fild dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
cdq
xor eax, edx
sub eax, edx
fmul st(1)
mov edx, dword [esp + 0x38]
add eax, 1
sub ecx, eax
sub edx, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
call fcn.006519c0
fild dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
cdq
xor eax, edx
sub eax, edx
fmul st(1)
lea ebp, [eax + ecx + 1]
mov dword [esp + 0x54], ebp
call fcn.006519c0
fmul qword [0x6e2198]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x40]
fstp dword [esp + 0x78]
lea ecx, [esp + 0x4c]
lea eax, [eax + edx + 1]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x5c], eax
call fcn.0040bfa0
test eax, eax
jne 0x634cf0
pop ebp
pop edi
pop ebx
pop esi
add esp, 0x5c
ret 0x20
xor eax, eax
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
call fcn.004052a4
test eax, eax
jne 0x634e17
cmp dword [esi + 0x20], eax
mov dword [esp + 0x70], 1
jne 0x634d2d
push 0x10000
call fcn.0065014a
add esp, 4
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x64]
mov dword [esp + 0x8c], eax
call fcn.00408012
sub ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
mov edx, dword [esi]
sub edi, dword [esp + 0x5c]
add dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x58]
add dword [esp + 0x4c], edi
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x24]
mov ecx, esi
mov dword [esp + 0x30], ebx
call eax
mov edx, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x24]
mov ecx, esi
mov dword [esp + 0x34], ebp
call eax
mov edx, dword [esi]
mov edi, eax
imul edi, dword [esp + 0x50]
mov eax, dword [edx + 0x1c]
add edi, dword [esp + 0x4c]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x84]
imul ecx, ebp
add ecx, dword [esp + 0x24]
test ebx, ebx
lea edi, [eax + edi*2]
lea eax, [edx + ecx*2]
mov dword [esp + 0x24], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x54]
lea ecx, [eax + eax]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ecx
je 0x634e00
mov edi, edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x80]
push edx
push edi
push eax
sub ebx, 1
call fcn.00652860
mov eax, dword [esp + 0x1c]
add eax, eax
add edi, eax
lea eax, [ebp + ebp]
add dword [esp + 0x8c], eax
add esp, 0xc
test ebx, ebx
jne 0x634dd0
mov edx, dword [esp + 0x84]
mov ecx, ebp
imul ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x1c]
lea edi, [edx + ecx*2]
jmp 0x634e53
sub ebx, dword [esp + 0x60]
sub edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, ebx
lea ebx, [edi + ecx]
lea edi, [eax + edx]
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
mov dword [esp + 0x70], 0
call edx
mov ebp, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
imul edi, ebp
add edi, ebx
lea edi, [eax + edi*2]
mov ebx, dword [esp + 0x74]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x7c]
test eax, eax
jge 0x634e6d
xor eax, eax
jmp 0x634e77
cmp eax, 0x20
jl 0x634e77
mov eax, 0x1f
mov ecx, dword [esp + 0x8c]
test ecx, ecx
mov dword [0x7d2b94], 0
push eax
jne 0x634e90
mov ecx, dword [ebx + 0x30]
call fcn.00625f40
mov ecx, dword [esp + 0x88]
and ecx, 0x10
mov dword [0x7d2ba8], eax
mov eax, dword [esp + 0x3c]
mov edx, ecx
neg edx
sbb edx, edx
and edx, eax
lea edx, [edi + edx*2]
mov dword [0x7d2b78], edx
mov edx, dword [esp + 0x80]
mov dword [0x7d2b70], edx
mov edi, dword [ebx + 0x34]
add edi, edx
mov dword [0x7d2b68], edi
mov edi, dword [ebx + 0x28]
mov edx, dword [ebx + 0x3c]
lea edx, [edi + edx*4]
mov dword [0x7d2b4c], edx
mov edx, dword [0x7b72e4]
mov edi, dword [edx + 0x24]
imul edi, ebp
mov dword [0x7d2b98], edi
mov edi, dword [esp + 0x40]
add edi, 0xffffffff
shl edi, 0x10
add edi, eax
test ecx, ecx
mov dword [0x7d2b60], 0
mov dword [0x7d2b7c], edi
je 0x634f18
sub eax, dword [esp + 0x44]
jmp 0x634f1c
mov eax, dword [esp + 0x44]
fldz
mov edi, dword [esp + 0x48]
fld dword [esp + 0x78]
shl edi, 0x10
fcom st(1)
add edi, eax
mov dword [0x7d2b9c], edi
fnstsw ax
fstp st(1)
test ah, 5
jp 0x634f80
fnstcw word [esp + 0x80]
movzx eax, word [esp + 0x80]
fchs
or eax, 0xc00
mov dword [esp + 0x74], eax
fldcw word [esp + 0x74]
fistp qword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov dword [0x7d2b50], eax
mov eax, dword [edx + 0x24]
fldcw word [esp + 0x80]
imul eax, ebp
mov dword [0x7d2b84], eax
mov edx, dword [edx + 0x24]
neg edx
jmp 0x634fc0
fnstcw word [esp + 0x80]
movzx eax, word [esp + 0x80]
or eax, 0xc00
mov dword [esp + 0x74], eax
fldcw word [esp + 0x74]
fistp qword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov dword [0x7d2b50], eax
mov eax, dword [edx + 0x24]
fldcw word [esp + 0x80]
imul eax, ebp
neg eax
mov dword [0x7d2b84], eax
mov edx, dword [edx + 0x24]
test ecx, ecx
mov dword [0x7d2b80], edx
je 0x634fd1
call fcn.00649479
jmp 0x634fd6
call fcn.0064926f
cmp dword [esp + 0x70], 0
jne 0x634ff5
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
mov ecx, esi
call edx
pop ebp
pop edi
pop ebx
mov eax, 1
pop esi
add esp, 0x5c
ret 0x20
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
test edi, edi
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
lea ecx, [eax + eax]
mov dword [esp + 0x80], ecx
je 0x635057
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
lea eax, [edx + edx]
lea edx, [ecx + ecx]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
lea esp, [esp]
mov eax, dword [esp + 0x80]
push eax
push ebp
push ebx
sub edi, 1
call fcn.00652860
add ebx, dword [esp + 0x80]
add ebp, dword [esp + 0x84]
add esp, 0xc
test edi, edi
jne 0x635030
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
pop ebp
pop edi
pop ebx
mov eax, 1
pop esi
add esp, 0x5c
ret 0x20
xor eax, eax
pop esi
add esp, 0x5c
ret 0x20