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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x65d24d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
mov ebx, ecx
mov ecx, dword [0x826818]
push esi
mov ax, word [ebx + 0x210]
push edi
push eax
call fcn.004466b0
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x63606b
push eax
call fcn.00473df0
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x30f]
add esp, 4
cmp eax, edi
je 0x63606b
lea ecx, [esp + 0x44]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], 0x40efffe0
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x78], 2
call fcn.00643d62
mov eax, dword [ebx + 0x307]
mov dword [esp + 0x110], edi
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x20], ecx
je 0x635859
lea esi, [ecx + 0x10]
mov ecx, 5
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [esp + 0xc]
push esi
call fcn.00472c00
mov ecx, dword [esp + 0xb8]
push eax
push ecx
push esi
mov dword [esp + 0x88], eax
call fcn.0047d600
fld st(0)
fcomp qword [esp + 0x8c]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x6357d5
fst qword [esp + 0x7c]
fld st(0)
fcomp qword [esp + 0x8c]
fnstsw ax
test ah, 1
je 0x6357ee
fstp qword [esp + 0x8c]
jmp 0x6357f0
fstp st(0)
mov eax, dword [esp + 0x10]
test eax, eax
je 0x63580d
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jae 0x635833
mov dword [esp + 0x14], eax
jmp 0x635833
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jae 0x635820
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jae 0x635833
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x20]
inc esi
mov dword [esp + 0x3c], esi
call fcn.00637560
mov eax, dword [ebx + 0x307]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jne 0x63578b
xor edi, edi
lea ecx, [esp + 0x48]
call fcn.0064414c
mov esi, dword [ebp + 8]
mov byte [esp + 0x110], 1
cmp esi, edi
jne 0x635875
xor eax, eax
jmp 0x635878
mov eax, dword [esi + 4]
push eax
call dword [fcn.0065e0d0]
push eax
lea ecx, [esp + 0x4c]
call fcn.00644146
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], 0x661a18
mov eax, dword [ebx + 0x33f]
mov ecx, dword [ebx + 0x337]
mov edx, dword [ebx + 0x333]
sub eax, ecx
mov ecx, dword [ebx + 0x33b]
push eax
sub ecx, edx
mov edx, dword [esi + 4]
push ecx
push edx
mov byte [esp + 0x11c], 2
call dword [fcn.0065e0c8]
push eax
lea ecx, [esp + 0x5c]
call fcn.006440f8
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x58]
neg eax
sbb eax, eax
and eax, esi
push eax
mov eax, dword [esp + 0x50]
push eax
call fcn.00644140
mov ecx, dword [ebx + 0x33f]
mov esi, dword [ebx + 0x337]
mov edx, dword [ebx + 0x33b]
mov dword [esp + 0xcc], eax
mov eax, dword [ebx + 0x333]
sub ecx, esi
push 0xf0f0f0
sub edx, eax
push ecx
push edx
push edi
push edi
lea ecx, [esp + 0x5c]
call fcn.0064413a
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], 0x661a2c
push 0x69af88
push 0x32
push edi
push 2
push 3
push 0x86
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0xc
mov byte [esp + 0x148], 3
call dword [fcn.0065e0c0]
push eax
lea ecx, [esp + 0x74]
call fcn.006440f8
lea eax, [esp + 0x70]
lea ecx, [esp + 0x48]
push eax
call fcn.00644128
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0xa4], eax
call fcn.00644122
push 1
lea ecx, [esp + 0x4c]
call fcn.0064412e
mov eax, dword [ebx + 0x33f]
mov edx, dword [ebx + 0x337]
mov ecx, dword [ebx + 0x33b]
mov esi, dword [ebx + 0x333]
sub eax, edx
sub ecx, esi
sub eax, 4
sub ecx, 0xa
push eax
push ecx
push 4
lea ecx, [esp + 0x6c]
push 0x30
push ecx
call dword [fcn.0065f4dc]
push 0xc8c8c8
lea ecx, [esp + 0x28]
call fcn.0064408c
cmp eax, edi
jne 0x6359d2
xor eax, eax
jmp 0x6359d5
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x64]
push edx
push eax
call dword [0x65f570]
mov dword [esp + 0x24], 0x661578
lea ecx, [esp + 0x24]
mov byte [esp + 0x110], 4
call fcn.0064406e
push 1
push 1
push 1
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x120], 3
call fcn.00644080
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x3c]
mov edx, ecx
sub edx, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x28], edi
fild dword [esp + 0xc]
fild qword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
cmp eax, edi
mov eax, dword [esp + 0x60]
fdivp st(1)
fstp qword [esp + 0x24]
je 0x635a7b
sub edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], edx
mov dword [esp + 0x2c], eax
fild dword [esp + 0xc]
mov dword [esp + 0x30], edi
fild qword [esp + 0x2c]
fdivp st(1)
fstp qword [esp + 0x94]
fild dword [esp + 0x60]
jmp 0x635abb
sub edx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
fild dword [esp + 0xc]
add edx, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edx
fild qword [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edi
fdivp st(1)
fstp qword [esp + 0x94]
fild qword [esp + 0x2c]
fmul qword [esp + 0x94]
fiadd dword [esp + 0x60]
fstp qword [esp + 0x2c]
mov eax, dword [ebx + 0x307]
mov dword [esp + 0x34], ecx
fild dword [esp + 0x6c]
mov edx, dword [eax]
mov ecx, dword [esp + 0x3c]
xor eax, eax
cmp ecx, edi
fstp qword [esp + 0x14]
mov dword [esp + 0x20], edx
jbe 0x635d61
fld qword [esp + 0x14]
fadd qword [0x65f9a0]
fild dword [esp + 0x6c]
inc eax
lea esi, [edx + 0x10]
mov dword [esp + 0x40], eax
mov ecx, 5
fild dword [esp + 0x40]
lea edi, [esp + 0xf0]
rep movsd dword es:[edi], dword [esi]
fmul qword [esp + 0x24]
fsubp st(1)
fstp qword [esp + 0x14]
fld qword [esp + 0x24]
fcomp qword [0x662e00]
fnstsw ax
movsw word es:[edi], word [esi]
test ah, 1
je 0x635b41
fld qword [esp + 0x14]
fadd qword [0x65f9a0]
fild dword [esp + 0x34]
fcompp
fnstsw ax
test ah, 1
je 0x635b56
fld qword [esp + 0x24]
fcomp qword [0x662e00]
fnstsw ax
test ah, 0x41
jne 0x635d12
mov eax, dword [esp + 0x10]
test eax, eax
je 0x635be8
fild dword [esp + 0xf4]
fmul qword [esp + 0x94]
fld qword [esp + 0x2c]
fadd qword [0x65f9a0]
fld st(0)
call fcn.00645030
fld qword [esp + 0x14]
fadd qword [0x65f9a0]
mov dword [esp + 0xd0], eax
call fcn.00645030
fadd st(1)
mov dword [esp + 0xd4], eax
call fcn.00645030
fstp st(0)
mov dword [esp + 0xd8], eax
call fcn.00645030
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xd0]
push eax
call fcn.00635690
add esp, 4
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x48]
push 0
push 0xb40000
push 0xff0000
push ecx
push edx
jmp 0x635ced
fild dword [esp + 0xf8]
fmul qword [esp + 0x94]
fsubr qword [esp + 0x2c]
fadd qword [0x65f9a0]
call fcn.00645030
fld qword [esp + 0x14]
fadd qword [0x65f9a0]
mov dword [esp + 0xe0], eax
call fcn.00645030
fld qword [esp + 0x2c]
fadd qword [0x65f9a0]
mov esi, eax
mov dword [esp + 0xe4], esi
fst qword [esp + 0x84]
call fcn.00645030
mov edi, eax
mov dword [esp + 0xe8], edi
call fcn.00645030
mov dword [esp + 0xc], eax
mov dword [esp + 0xec], eax
lea eax, [esp + 0xe0]
push eax
call fcn.00635690
add esp, 4
lea ecx, [esp + 0xe0]
lea edx, [esp + 0x48]
push 0
push 0xd2
push 0x2828ff
push ecx
push edx
mov ecx, 0x898828
call fcn.005115e0
fild dword [esp + 0xfc]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], esi
fmul qword [esp + 0x94]
fld qword [esp + 0x84]
fadd st(1)
call fcn.00645030
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc0], eax
push ecx
fstp st(0)
call fcn.00635690
add esp, 4
lea edx, [esp + 0xb4]
lea eax, [esp + 0x48]
push 0
push 0xb400
push 0xff00
push edx
push eax
mov ecx, 0x898828
call fcn.005115e0
fld qword [esp + 0x24]
fcomp qword [0x662e00]
fnstsw ax
test ah, 1
je 0x635d0c
dec dword [esp + 0x34]
mov edx, dword [esp + 0x20]
jmp 0x635d14
fstp st(0)
mov eax, dword [edx + 8]
mov ecx, dword [0x8a34ec]
cmp eax, ecx
je 0x635d2c
push eax
call fcn.006378b0
add esp, 4
jmp 0x635d47
mov eax, dword [edx + 4]
cmp edx, dword [eax + 8]
jne 0x635d42
mov edx, eax
mov dword [esp + 0x20], edx
mov eax, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x635d34
cmp dword [edx + 8], eax
je 0x635d4d
mov edx, eax
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jb 0x635ae5
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
lea ecx, [esi + 0xa]
sub eax, esi
mov edi, ecx
cdq
fld qword [esp + 0x7c]
sub ecx, esi
mov dword [esp + 0xa4], 3
idiv ecx
fcomp qword [esp + 0x8c]
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], 0x2c
mov dword [esp + 0xb0], edi
mov dword [esp + 0x10], ecx
mov edx, eax
fnstsw ax
mov dword [esp + 0x14], edx
test ah, 0x40
jne 0x635f78
fld qword [esp + 0x7c]
fsub qword [esp + 0x8c]
lea eax, [edx - 1]
cmp word [esp + 0x78], 2
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fadd qword [0x662cb0]
fdivr st(1)
fst qword [esp + 0x34]
jne 0x635e08
fcom qword [0x65f9b0]
fnstsw ax
test ah, 1
je 0x635e08
fstp st(0)
fld st(0)
fmul qword [0x663768]
mov dword [esp + 0x34], 0x47ae147b
mov dword [esp + 0x38], 0x3f847ae1
jmp 0x635e2d
fcomp qword [0x662cb0]
fnstsw ax
test ah, 1
je 0x635e42
fld st(0)
fmul qword [0x6767a0]
mov dword [esp + 0x34], 0xd2f1a9fc
mov dword [esp + 0x38], 0x3f50624d
fadd qword [0x66f538]
call fcn.00645030
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov edx, eax
mov eax, dword [esp + 0x3c]
cmp edx, eax
jbe 0x635e6b
mov dword [esp + 0x14], eax
dec eax
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x14]
fild dword [esp + 0xc]
fadd qword [0x662cb0]
fdivr st(1)
fstp qword [esp + 0x34]
fstp st(0)
jmp 0x635e6d
fstp st(0)
mov eax, edx
mov dword [esp + 0x10], 0
imul eax, ecx
mov ecx, eax
mov eax, dword [esp + 0x6c]
sub eax, ecx
sub eax, esi
mov dword [esp + 0xc], eax
lea eax, [edx - 1]
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
test edx, edx
fadd qword [0x662cb0]
fdivp st(1)
fstp qword [esp + 0x2c]
jle 0x635f78
jmp 0x635eb8
mov edi, dword [esp + 0xb0]
mov esi, dword [esp + 0x64]
fild dword [esp + 0x10]
mov eax, dword [esp + 0xa8]
sub edi, eax
sub esi, eax
fstp qword [esp + 0x84]
mov dword [esp + 0xc], edi
fild dword [esp + 0xc]
mov dword [esp + 0xc], esi
fadd qword [esp + 0x2c]
fmul qword [esp + 0x84]
fild dword [esp + 0xc]
faddp st(1)
fadd qword [0x65f9a0]
call fcn.00645030
push eax
lea ecx, [esp + 0xa8]
push 0
push ecx
call dword [fcn.0065f568]
fld qword [esp + 0x84]
fmul qword [esp + 0x34]
cmp word [esp + 0x78], 2
fsubr qword [esp + 0x7c]
fstp qword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
jne 0x635f33
push 0x6b5d04
jmp 0x635f38
push 0x6c0130
lea ecx, [esp + 0x50]
push ecx
call fcn.00643d50
mov eax, dword [esp + 0x54]
add esp, 0x10
lea edx, [esp + 0xa4]
mov ecx, dword [eax - 8]
push 0x24
push edx
push ecx
push eax
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x58]
call dword [eax + 0x70]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x635ead
mov ecx, dword [ebx + 0x33f]
mov edx, dword [ebx + 0x337]
mov eax, dword [ebx + 0x333]
mov esi, dword [ebx + 0x337]
sub ecx, edx
mov edx, dword [ebx + 0x33b]
mov edi, dword [esp + 0x4c]
sub edx, eax
mov ebx, eax
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edi
push 0
push 0
push eax
push ecx
mov ecx, dword [ebp + 8]
push edx
push esi
mov edx, dword [ecx + 4]
push ebx
push edx
call dword [fcn.0065e0cc]
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x48]
push eax
call fcn.00644128
lea ecx, [esp + 0x70]
call fcn.0064406e
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x635fed
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call fcn.00644140
lea ecx, [esp + 0x58]
call fcn.0064406e
lea ecx, [esp + 0x48]
call fcn.00644134
mov edi, 0x661578
mov dword [esp + 0x70], edi
lea ecx, [esp + 0x70]
mov byte [esp + 0x110], 5
call fcn.0064406e
mov esi, 0x6602dc
mov dword [esp + 0x58], edi
mov dword [esp + 0x70], esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x110], 6
call fcn.0064406e
lea ecx, [esp + 0x48]
mov dword [esp + 0x58], esi
mov byte [esp + 0x110], 0
call fcn.0064411c
lea ecx, [esp + 0x44]
mov dword [esp + 0x110], 0xffffffff
call fcn.00643d26
mov ecx, dword [esp + 0x108]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4