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

Disassembly:
push 0xffffffffffffffff
push 0x101c628c
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x102832a0]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x104]
mov ebx, ecx
cmp dword [esp + 0x108], 0
mov eax, dword [ebx + 0x20]
je 0x100358cb
mov edi, dword [eax + 0xdc]
jmp 0x100358d1
mov edi, dword [eax + 0xd8]
fld qword [eax + 0x48]
fmul qword [eax + 0x60]
fld qword [eax + 0x58]
fmul qword [eax + 0x50]
fsubp st(1)
fld1
fdivrp st(1)
fld qword [eax + 0x60]
fmul st(1)
fst qword [esp + 0x54]
fld st(1)
fmul qword [eax + 0x50]
fchs
fstp qword [esp + 0x5c]
fld qword [eax + 0x58]
fmul st(2)
fchs
fstp qword [esp + 0x64]
fld qword [eax + 0x48]
fmul st(2)
fstp qword [esp + 0x6c]
fld qword [eax + 0x70]
fmul qword [eax + 0x58]
fld qword [eax + 0x68]
fmul qword [eax + 0x60]
fsubp st(1)
fmul st(2)
fstp qword [esp + 0x74]
fld qword [eax + 0x68]
fmul qword [eax + 0x50]
fld qword [eax + 0x70]
fmul qword [eax + 0x48]
fsubp st(1)
fmulp st(2)
fxch st(1)
fstp qword [esp + 0x7c]
fld qword [ebx + 0x30]
fmul qword [ebp + 0x50]
fld qword [ebp + 0x58]
fmul qword [ebx + 0x40]
faddp st(1)
fst qword [esp + 0x84]
fld qword [ebp + 0x58]
fmul qword [ebx + 0x48]
fld qword [ebx + 0x38]
fmul qword [ebp + 0x50]
faddp st(1)
fst qword [esp + 0x8c]
fld qword [ebx + 0x30]
fmul qword [ebp + 0x60]
fld qword [ebp + 0x68]
fmul qword [ebx + 0x40]
faddp st(1)
fst qword [esp + 0x94]
fld qword [ebp + 0x68]
fmul qword [ebx + 0x48]
fld qword [ebp + 0x60]
fmul qword [ebx + 0x38]
faddp st(1)
fst qword [esp + 0x9c]
fld qword [ebx + 0x30]
fmul qword [ebp + 0x70]
fld qword [ebp + 0x78]
fmul qword [ebx + 0x40]
faddp st(1)
fadd qword [ebx + 0x50]
fst qword [esp + 0xa4]
fld qword [ebp + 0x78]
fmul qword [ebx + 0x48]
fld qword [ebp + 0x70]
fmul qword [ebx + 0x38]
faddp st(1)
fadd qword [ebx + 0x58]
fstp qword [esp + 0xac]
fld st(3)
fmul qword [esp + 0x64]
fld st(5)
fmulp st(7)
faddp st(6)
fxch st(5)
fstp qword [esp + 0xb4]
fld st(2)
mov esi, dword [eax + 0x2bc]
fmul qword [esp + 0x6c]
fld st(4)
fmul qword [esp + 0x5c]
faddp st(1)
fstp qword [esp + 0xbc]
fld qword [esp + 0x64]
fmul st(1)
fld st(2)
fmul qword [esp + 0x54]
faddp st(1)
fstp qword [esp + 0xc4]
fld qword [esp + 0x6c]
fmul st(1)
fld st(2)
fmul qword [esp + 0x5c]
faddp st(1)
fstp qword [esp + 0xcc]
fld qword [esp + 0xac]
fmul qword [esp + 0x64]
fld st(5)
fmul qword [esp + 0x54]
faddp st(1)
fadd qword [esp + 0x74]
fstp qword [esp + 0xd4]
fld qword [esp + 0xac]
fmul qword [esp + 0x6c]
fld st(5)
fmul qword [esp + 0x5c]
faddp st(1)
fadd qword [esp + 0x7c]
fstp qword [esp + 0xdc]
fld st(0)
fmul st(4)
fld st(2)
fmul st(4)
fsubp st(1)
fld1
fdivrp st(1)
fld st(1)
fmul st(1)
fstp qword [esp + 0x54]
fld st(3)
fmul st(1)
fchs
fstp qword [esp + 0x5c]
fld st(2)
fmul st(1)
fchs
fstp qword [esp + 0x64]
fld st(4)
fmul st(1)
fstp qword [esp + 0x6c]
fld qword [esp + 0xac]
fld st(0)
fmulp st(4)
fld st(6)
fmulp st(3)
fxch st(3)
fsubrp st(2)
fmul st(1), st(0)
fxch st(1)
fstp qword [esp + 0x74]
fxch st(4)
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fmulp st(1)
fstp qword [esp + 0x7c]
call fcn.100303f0
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
push edx
call eax
mov esi, dword [ebx + 0x20]
push esi
call fcn.10045110
mov dword [eax + 0x300], esi
mov dword [ebx + 0x20], eax
cmp dword [ebp + 8], 2
jne 0x10035b71
mov esi, dword [edi + 4]
test esi, esi
je 0x10035b71
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov edi, dword [ebx + 0x20]
mov ecx, dword [edi + 0xd8]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x10035b0a
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x14]
mov dword [edi + 0xd8], ecx
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [ebx + 0x20]
mov edx, dword [edx + 0x78]
push eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov esi, dword [ebx + 0x20]
mov ecx, dword [esi + 0xdc]
mov edi, eax
test ecx, ecx
je 0x10035b42
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xdc], edi
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov edx, dword [ebx + 0x20]
mov eax, dword [eax + 0x7c]
push edx
call eax
mov eax, dword [ebx + 0x20]
lea esi, [eax + 0xe0]
lea edi, [eax + 0x160]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
jmp 0x10035c25
push 4
call fcn.100f5c37
add esp, 4
mov dword [esp + 0x24], eax
xor edi, edi
mov dword [esp + 0xfc], edi
cmp eax, edi
je 0x10035b94
push eax
call fcn.10045950
mov edi, eax
mov dword [esp + 0xfc], 0xffffffff
mov esi, dword [ebx + 0x20]
mov ecx, dword [esi + 0xd8]
test ecx, ecx
je 0x10035bb4
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0xd8], edi
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [ebx + 0x20]
mov edx, dword [edx + 0x78]
push eax
call edx
push 4
call fcn.100f5c37
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0xfc], 1
test eax, eax
je 0x10035bef
push eax
call fcn.10045950
mov edi, eax
jmp 0x10035bf1
xor edi, edi
mov dword [esp + 0xfc], 0xffffffff
mov esi, dword [ebx + 0x20]
mov ecx, dword [esi + 0xdc]
test ecx, ecx
je 0x10035c11
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xdc], edi
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov edx, dword [ebx + 0x20]
mov eax, dword [eax + 0x7c]
push edx
call eax
mov esi, dword [ebx + 0x20]
mov ecx, dword [esi + 0x1e0]
xor edi, edi
cmp ecx, edi
je 0x10035c3c
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x1e0], edi
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [ebx + 0x20]
mov edx, dword [edx + 0x80]
push eax
call edx
mov esi, dword [ebx + 0x20]
mov ecx, dword [esi + 0x1e4]
cmp ecx, edi
je 0x10035c68
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x1e4], edi
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov edx, dword [ebx + 0x20]
mov eax, dword [eax + 0x84]
push edx
call eax
mov ecx, dword [ebx + 0x20]
cmp dword [esp + 0x108], edi
jne 0x10035cc5
fldz
fstp qword [ecx + 0x218]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [ebx + 0x20]
mov edx, dword [edx + 0x68]
push eax
call edx
mov ecx, dword [ebx + 0x20]
call fcn.10051b90
mov ecx, dword [ebx + 8]
cmp dword [esp + 0x10c], edi
je 0x10035cd7
mov edx, dword [ecx]
mov eax, dword [ebx + 0x20]
mov edx, dword [edx + 0xe4]
push eax
call edx
jmp 0x10035ce5
call fcn.10051f30
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xe8]
jmp 0x10035cdf
mov eax, dword [ecx]
mov eax, dword [eax + 0xe0]
mov edx, dword [ebx + 0x20]
push edx
call eax
mov edi, dword [ebx + 0x20]
call fcn.10051ad0
mov eax, dword [ebx + 0x20]
fld qword [eax + 0x2e0]
fld qword [eax + 0x2e8]
fld qword [eax + 0x2f0]
fst qword [esp + 0x34]
fld qword [eax + 0x2f8]
fxch st(1)
fcomp st(3)
fnstsw ax
test ah, 5
jnp 0x10036161
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x10036161
fld st(1)
fld qword [esp + 0x64]
fmul st(1), st(0)
fxch st(1)
fst qword [esp + 0x2c]
fld st(4)
fmul qword [esp + 0x54]
fld st(0)
faddp st(2)
fld qword [esp + 0x74]
fadd st(2), st(0)
fxch st(2)
fst qword [esp + 0x3c]
fst qword [esp + 0x1c]
fxch st(5)
fmul qword [esp + 0x6c]
fst qword [esp + 0x4c]
fxch st(6)
fmul qword [esp + 0x5c]
fld st(0)
faddp st(7)
fld qword [esp + 0x7c]
fadd st(7), st(0)
fxch st(7)
fst qword [esp + 0x24]
fstp qword [esp + 0x14]
fld st(4)
fmulp st(4)
fld st(3)
faddp st(2)
fxch st(1)
fadd st(2)
fxch st(4)
fmul qword [esp + 0x6c]
fld st(0)
faddp st(2)
fxch st(1)
fadd st(6)
fxch st(4)
fcom st(5)
fnstsw ax
test ah, 5
jp 0x10035d9f
fstp qword [esp + 0x1c]
jmp 0x10035db2
fcom st(5)
fnstsw ax
test ah, 0x41
jne 0x10035dc9
fstp st(5)
fxch st(4)
fst qword [esp + 0x3c]
fxch st(4)
fld qword [esp + 0x24]
fcom st(4)
fnstsw ax
test ah, 0x41
jne 0x10035dcd
fstp st(0)
fxch st(3)
fstp qword [esp + 0x14]
jmp 0x10035de0
fstp st(0)
jmp 0x10035db2
fcomp st(4)
fnstsw ax
test ah, 5
jp 0x10035dde
fxch st(3)
fstp qword [esp + 0x24]
jmp 0x10035de0
fstp st(3)
fld qword [esp + 0x34]
fld qword [esp + 0x54]
fmul st(1)
fld qword [esp + 0x2c]
fadd st(1)
fadd st(3)
fxch st(2)
fmul qword [esp + 0x5c]
fst qword [esp + 0x2c]
fadd qword [esp + 0x4c]
fadd st(7)
fstp qword [esp + 0x34]
fld qword [esp + 0x1c]
fcomp st(2)
fnstsw ax
fxch st(1)
test ah, 0x41
jne 0x10035e1b
fstp qword [esp + 0x1c]
jmp 0x10035e2e
fcom st(5)
fnstsw ax
test ah, 0x41
jne 0x10035e47
fstp st(5)
fxch st(4)
fst qword [esp + 0x3c]
fxch st(4)
fld qword [esp + 0x14]
fld qword [esp + 0x34]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x10035e4b
fstp qword [esp + 0x14]
jmp 0x10035e60
fstp st(0)
jmp 0x10035e2e
fld qword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x10035e5e
fstp qword [esp + 0x24]
jmp 0x10035e60
fstp st(0)
faddp st(2)
faddp st(1)
fld qword [esp + 0x2c]
faddp st(2)
fxch st(1)
faddp st(3)
fld qword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x10035e81
fstp st(2)
fstp st(1)
jmp 0x10035e94
fxch st(2)
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x10035e92
fstp qword [esp + 0x3c]
jmp 0x10035e94
fstp st(0)
fld qword [esp + 0x14]
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x10035ea9
fxch st(1)
fstp qword [esp + 0x14]
jmp 0x10035ec0
fld qword [esp + 0x24]
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x10035ebe
fxch st(1)
fstp qword [esp + 0x24]
jmp 0x10035ec0
fstp st(1)
fld qword [ebp + 0x30]
sub esp, 8
fabs
fst qword [esp + 0x3c]
fld qword [ebp + 0x38]
fabs
fstp qword [esp + 0x34]
fxch st(1)
fsub qword [ebp + 0x20]
fdivrp st(1)
fstp qword [esp]
call fcn.101090b0
call fcn.1010cd70
fld qword [esp + 0x44]
fsub qword [ebp + 0x10]
mov dword [esp + 0x54], eax
fdiv qword [esp + 0x3c]
fstp qword [esp]
call fcn.1010ce20
call fcn.1010cd70
fld qword [esp + 0x1c]
fsub qword [ebp + 0x28]
mov edi, eax
inc edi
fdiv qword [esp + 0x34]
fstp qword [esp]
call fcn.101090b0
call fcn.1010cd70
fld qword [esp + 0x2c]
fsub qword [ebp + 0x18]
mov dword [esp + 0x24], eax
fdiv qword [esp + 0x34]
fstp qword [esp]
call fcn.1010ce20
add esp, 8
call fcn.1010cd70
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0xc0]
mov esi, eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x9c], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x98], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
inc esi
mov dword [esp + 0x24], esi
call edx
test eax, eax
je 0x10036069
fld qword [esp + 0xd4]
mov eax, dword [ebx + 0x78]
fstp qword [esp + 0xa4]
fld qword [esp + 0xdc]
fstp qword [esp + 0xac]
test eax, eax
je 0x10035ff4
cmp dword [eax], 0
jne 0x10036167
cmp dword [ebp + 0x40], 7
jne 0x1003601e
mov eax, dword [ebp + 0x40]
cmp eax, 7
je 0x10036019
push 7
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d
xor edx, edx
call fcn.1001d950
add esp, 0xc
call fcn.10105849
mov edx, dword [ebp + 0x48]
jmp 0x10036020
xor edx, edx
fld qword [esp + 0x2c]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, dword [ebx + 8]
fld qword [esp + 0x44]
lea eax, [ebp + 0x10]
fstp qword [esp]
push esi
mov esi, dword [esp + 0x30]
push edi
push esi
mov esi, dword [esp + 0x68]
push esi
push eax
lea eax, [esp + 0xa8]
push eax
mov eax, dword [ebx + 0x20]
push edx
mov edx, dword [ebp + 8]
push edx
sub ebp, 0xffffff80
push ebp
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
call edx
jmp 0x10036167
mov eax, dword [esp + 0x1c]
cmp eax, esi
mov dword [esp + 0x1c], eax
jge 0x10036167
mov esi, dword [esp + 0x4c]
cmp esi, edi
mov dword [esp + 0x14], esi
jge 0x1003614c
fild dword [esp + 0x1c]
fmul qword [esp + 0x2c]
fld qword [esp + 0xc4]
fmul st(1)
fstp qword [esp + 0x3c]
fmul qword [esp + 0xcc]
fstp qword [esp + 0xe4]
cmp dword [ebp + 0x40], 7
fild dword [esp + 0x14]
fmul qword [esp + 0x34]
fld qword [esp + 0xb4]
fmul st(1)
fadd qword [esp + 0x3c]
fadd qword [esp + 0xd4]
fstp qword [esp + 0xa4]
fmul qword [esp + 0xbc]
fadd qword [esp + 0xe4]
fadd qword [esp + 0xdc]
fstp qword [esp + 0xac]
jne 0x10036115
mov eax, dword [ebp + 0x40]
cmp eax, 7
je 0x10036110
push 7
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d
xor edx, edx
call fcn.1001d950
add esp, 0xc
call fcn.10105849
mov eax, dword [ebp + 0x48]
jmp 0x10036117
xor eax, eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebp + 0x80]
push ecx
push ebx
lea ecx, [esp + 0xb0]
call fcn.1003ce80
inc esi
cmp esi, edi
mov dword [esp + 0x14], esi
jl 0x100360ac
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
jl 0x10036079
jmp 0x10036167
fstp st(2)
fstp st(0)
fstp st(0)
mov esi, dword [ebx + 0x20]
call fcn.10052300
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x20], eax
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x48]
call eax
mov esi, dword [ebx + 0x20]
mov ebx, dword [esi + 0x2bc]
test ebx, ebx
je 0x100361a4
call fcn.10050c20
push ebx
call fcn.100f5c66
mov ecx, dword [esp + 0x4c]
add esp, 4
mov dword [esi + 0x2bc], ecx
jmp 0x100361ae
mov edx, dword [esp + 0x48]
mov dword [esi + 0x2bc], edx
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret 0xc