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

Disassembly:
sub esp, 0xa44
push esi
mov esi, ecx
lea eax, [esp + 0xe4]
mov ecx, 0xc9
xor edx, edx
mov dword [eax - 8], edx
mov dword [eax - 4], edx
mov dword [eax], edx
add eax, 0xc
dec ecx
jne 0x635b05
mov eax, dword [esi + 0xfa4]
dec eax
mov dword [esp + 0x40], eax
jns 0x635b29
add eax, 0x64
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0xfa0]
mov eax, dword [eax + 0x24]
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
push eax
mov dword [esp + 0x48], eax
call fcn.004aea30
mov edx, dword [0x7a39fc]
mov ecx, dword [edx + 8]
push eax
call fcn.004ae770
test eax, eax
mov dword [esp + 0x48], eax
je 0x636166
push ebx
push ebp
push edi
mov ecx, esi
call fcn.00634d40
imul eax, eax, 0x88
mov ecx, dword [esi + 0xfa0]
mov edi, dword [eax + ecx + 0x48]
cmp edi, 0x64
mov dword [esp + 0x1c], edi
jge 0x635b87
test edi, edi
jge 0x635b93
mov dword [esp + 0x1c], 0
mov edi, dword [esp + 0x1c]
push edi
mov ecx, esi
call fcn.00634cc0
mov edx, dword [eax]
mov dword [esp + 0xe8], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xec], ecx
mov edx, dword [eax + 8]
inc edi
cmp edi, 0x64
mov ebp, 1
mov dword [esp + 0xf0], edx
mov dword [esp + 0x10], ebp
jl 0x635bc9
xor edi, edi
lea ecx, [esp + 0xcc]
call fcn.00405ed0
lea eax, [esp + 0xf4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
lea ebx, [esp + 0xe8]
jmp 0x635bf0
mov eax, dword [esp + 0x4c]
cmp edi, eax
je 0x635e8d
cmp eax, dword [esp + 0x1c]
je 0x635e8d
cmp ebp, 0xc8
jge 0x635f56
xor eax, eax
push edi
mov ecx, esi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], 0x7f000000
call fcn.00634cc0
fld dword [ebx]
fsub dword [eax]
push edi
mov ecx, esi
fstp dword [esp + 0x30]
fld dword [ebx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x34]
fld dword [ebx + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x38]
call fcn.00634cc0
fld dword [ebx]
fsub dword [eax]
fld dword [ebx + 4]
fsub dword [eax + 4]
fld dword [ebx + 8]
fsub dword [eax + 8]
fld dword [esp + 0x34]
fmul st(1)
fxch st(2)
fmul dword [esp + 0x30]
faddp st(2)
fxch st(2)
fmul dword [esp + 0x2c]
faddp st(1)
fcomp qword [0x743308]
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x635d8a
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x340]
mov edx, dword [eax + 4]
mov dword [esp + 0x68], edx
mov eax, dword [eax + 0x14]
push edi
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.00634cc0
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
lea edx, [esp + 0x84]
push edx
mov edx, dword [esp + 0x68]
push 1
push edx
lea edx, [esp + 0x74]
push edx
mov edx, dword [esp + 0x60]
push eax
push ebx
lea eax, [esp + 0xe4]
push eax
push edx
call fcn.004aee80
mov dword [esp + 0x18], eax
jmp 0x635d92
mov dword [esp + 0x18], 1
mov eax, dword [0x7a39fc]
mov edx, dword [esp + 0xc4]
mov ecx, dword [eax + 4]
push edx
call fcn.005eda50
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
cmp eax, 0xfffffffd
jne 0x635e2e
mov edx, dword [esi + 0xfa0]
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x44], eax
jle 0x635de1
mov eax, dword [esp + 0x48]
add edx, 0x24
lea ecx, [ecx]
cmp dword [edx], eax
je 0x635e33
inc ecx
add edx, 0x88
cmp ecx, dword [esp + 0x44]
jl 0x635dd0
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00634cc0
push eax
push ebx
call fcn.004aa980
add esp, 8
test eax, eax
je 0x635e48
push edi
mov ecx, esi
call fcn.00634cc0
mov edx, dword [eax]
mov ecx, dword [esp + 0x10]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, ecx
add eax, 0xc
inc ebp
add ebx, 0xc
inc edi
cmp edi, 0x64
mov dword [esp + 0x10], eax
jl 0x635e75
xor edi, edi
jmp 0x635e75
cmp eax, 1
jne 0x635de1
mov dword [esp + 0x14], edi
inc edi
cmp edi, 0x64
jl 0x635bf0
xor edi, edi
jmp 0x635bf0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00634cc0
mov ecx, dword [eax]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov ecx, edx
add ecx, 0xc
inc ebp
mov dword [edx + 8], eax
mov dword [esp + 0x10], ecx
add ebx, 0xc
cmp ebp, 0xc8
jge 0x635f56
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x635bf0
cmp ebp, 0xc8
mov dword [esp + 0x10], ebp
jge 0x635f5a
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x340]
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov eax, dword [eax + 0x14]
push edi
mov ecx, esi
mov dword [esp + 0x48], eax
call fcn.00634cc0
mov edx, dword [esp + 0x44]
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
push 0
push 1
push edx
lea edx, [esp + 0x54]
push edx
push eax
lea ebx, [ebp + ebp*2]
lea ebx, [esp + ebx*4 + 0xfc]
lea eax, [ebx - 0xc]
push eax
mov eax, dword [esp + 0x68]
lea edx, [esp + 0xe4]
push edx
push eax
call fcn.004aee80
cmp eax, 1
jne 0x635f15
push edi
mov ecx, esi
call fcn.00634cc0
mov ecx, dword [eax]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
jmp 0x635f55
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00634cc0
mov edx, dword [eax]
mov dword [ebx], edx
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 8]
push edi
mov ecx, esi
mov dword [ebx + 8], edx
inc ebp
call fcn.00634cc0
lea ecx, [ebp + ebp*2]
lea edx, [esp + ecx*4 + 0xe8]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
inc ebp
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.00634cc0
test ebp, ebp
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esi + 0xfa4], eax
jle 0x63613c
lea ecx, [esp + 0xe8]
mov dword [esp + 0x18], ecx
nop
fld dword [ecx]
fsub dword [esp + 0x20]
fstp dword [esp + 0x38]
fld dword [ecx + 4]
fsub dword [esp + 0x24]
fstp dword [esp + 0x3c]
fld dword [ecx + 8]
fsub dword [esp + 0x28]
fst dword [esp + 0x40]
fmul dword [esp + 0x40]
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
faddp st(1)
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fcomp dword [0x73d764]
fnstsw ax
test ah, 0x41
jne 0x636038
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.004ab180
fld dword [esp + 0x84]
fld dword [esp + 0x88]
mov ecx, dword [esp + 0x20]
fld dword [esp + 0x80]
add esp, 8
fadd dword [esp + 0x20]
fstp dword [esp + 0x58]
mov edi, dword [esp + 0x58]
fxch st(1)
fadd dword [esp + 0x24]
fstp dword [esp + 0x5c]
mov ebx, dword [esp + 0x5c]
fadd dword [esp + 0x28]
fstp dword [esp + 0x60]
mov ebp, dword [esp + 0x60]
jmp 0x636052
mov edx, dword [esp + 0x14]
mov eax, ecx
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
inc edx
add ecx, 0xc
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0xfa4]
lea edx, [eax + eax*4]
lea eax, [esi + edx*8]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
fld dword [esp + 0x38]
fcomp dword [0x73d700]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
fnstsw ax
test ah, 0x44
jp 0x6360b4
fld dword [esp + 0x3c]
fcomp dword [0x73d700]
fnstsw ax
test ah, 0x44
jp 0x6360b4
fld dword [esp + 0x40]
fcomp dword [0x73d700]
fnstsw ax
test ah, 0x44
jp 0x6360b4
mov eax, dword [esi + 0xfa4]
lea edx, [eax + eax*4]
fld dword [esi + edx*8 + 0xc]
jmp 0x6360f7
fld dword [esp + 0x2c]
lea eax, [esp + 0x6c]
fsub dword [esp + 0x20]
push eax
lea ecx, [esp + 0xe0]
push ecx
fstp dword [esp + 0x74]
fld dword [esp + 0x38]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x78]
fld dword [esp + 0x3c]
fsub dword [esp + 0x30]
fstp dword [esp + 0x7c]
call fcn.004ab180
push eax
call fcn.004aa0f0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esi + 0xfa4]
lea edx, [eax + eax*4]
fstp dword [esi + edx*8 + 0xc]
mov eax, dword [esi + 0xfa4]
cmp eax, 0x63
jl 0x636113
xor eax, eax
jmp 0x63611a
inc eax
mov dword [esi + 0xfa4], eax
mov edx, dword [esp + 0x10]
mov dword [esi + 0xfa4], eax
mov eax, dword [esp + 0x14]
cmp eax, edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
jl 0x635fa0
mov eax, dword [0x833920]
pop edi
add eax, 6
cmp eax, 0x28
pop ebp
mov dword [0x833920], eax
pop ebx
jle 0x63615b
mov dword [0x833920], 0
mov ecx, dword [esi + 0xfa0]
call fcn.006359c0
pop esi
add esp, 0xa44
ret