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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, esp
mov edi, ecx
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [esi + 0xa8], eax
xor ebx, ebx
cmp byte [ecx + 0x38], 0
jne 0x10035265
cmp byte [edi + 0x39], 0
je 0x10035260
cmp dword [edi + 0x34], 1
mov ebx, 2
sbb ebx, 0
jmp 0x10035265
mov ebx, 3
push 0x60
call fcn.1020d865
add esp, 4
pxor xmm0, xmm0
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x40], xmm0
movdqu xmmword [eax + 0x4c], xmm0
mov edx, dword [edi + 0x34]
test edx, edx
je 0x10035764
mov dword [esi], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 4], edi
lea edi, [esi + 0x8c]
mov dword [edi], 0xffffffff
mov ecx, dword [edx]
push edi
push edx
call dword [ecx + 0xc]
mov edi, dword [edi]
xor ecx, ecx
mov eax, 0
test edi, edi
je 0x100352ce
push edi
call fcn.1020d865
xor ecx, ecx
add esp, 4
lea ebx, [esi + 0x90]
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 8], ecx
push ebx
push eax
push edi
call fcn.1015e8b0
add esp, 0xc
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x34]
movsd xmm0, qword [ebx]
mov edx, dword [esi]
movsd qword [edx], xmm0
mov ecx, dword [ebx + 8]
mov dword [edx + 8], ecx
lea edi, [esi + 0x88]
mov dword [edi], 0xffffffff
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x10]
xor ecx, ecx
mov edi, dword [edi]
test edi, edi
je 0x10035323
push edi
call fcn.1020d865
add esp, 4
mov ecx, eax
xor eax, eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x98], eax
lea eax, [esi + 0x90]
push eax
push ecx
push edi
call fcn.1015e8b0
add esp, 0xc
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x34]
movsd xmm0, qword [esi + 0x90]
mov ebx, dword [esi]
movsd qword [ebx + 0xc], xmm0
mov ecx, dword [esi + 0x98]
mov dword [ebx + 0x14], ecx
xor ecx, ecx
dec ecx
lea edi, [esi + 0x80]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
movsd xmm0, qword [edi]
movsd qword [esi + 0x18], xmm0
fld qword [esi + 0x18]
fnstcw word [esi + 0xa]
movzx eax, word [esi + 0xa]
or eax, 0xc00
mov word [esi + 0xe], ax
fldcw word [esi + 0xe]
fistp qword [esi + 0x18]
fldcw word [esi + 0xa]
movsd xmm0, qword [esi + 0x18]
movlps qword [esi + 0x40], xmm0
fild qword [esi + 0x40]
fstp qword [esi + 0x38]
movsd xmm0, qword [esi + 0x38]
movsd qword [ebx + 0x18], xmm0
lea edi, [esi + 0x78]
xor eax, eax
dec eax
mov dword [edi + 4], eax
mov dword [edi], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x18]
movsd xmm0, qword [edi]
movsd qword [esi + 0x10], xmm0
fld qword [esi + 0x10]
fnstcw word [esi + 8]
movzx eax, word [esi + 8]
or eax, 0xc00
mov word [esi + 0xc], ax
fldcw word [esi + 0xc]
fistp qword [esi + 0x10]
fldcw word [esi + 8]
movsd xmm0, qword [esi + 0x10]
movlps qword [esi + 0x30], xmm0
fild qword [esi + 0x30]
fstp qword [esi + 0x28]
movsd xmm0, qword [esi + 0x28]
movsd qword [ebx + 0x20], xmm0
mov ebx, dword [esi + 4]
lea edi, [esi + 0x74]
xor eax, eax
dec eax
mov dword [edi], eax
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
mov edi, dword [edi]
mov eax, 0
test edi, edi
je 0x10035438
push edi
call fcn.1020d865
add esp, 4
xor ecx, ecx
mov dword [esi + 0x94], ecx
mov dword [esi + 0x90], ecx
mov dword [esi + 0x98], ecx
lea ecx, [esi + 0x90]
push ecx
push eax
push edi
call fcn.1015e8b0
add esp, 0xc
mov eax, dword [ebx + 0x34]
movsd xmm0, qword [esi + 0x90]
mov edx, dword [esi]
movsd qword [edx + 0x28], xmm0
mov ecx, dword [esi + 0x98]
mov dword [edx + 0x30], ecx
lea edi, [esi + 0x70]
mov dword [edi], 0xffffffff
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x20]
xor ecx, ecx
mov edi, dword [edi]
test edi, edi
je 0x1003549b
push edi
call fcn.1020d865
add esp, 4
mov ecx, eax
xor ebx, ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x98], ebx
lea eax, [esi + 0x90]
push eax
push ecx
push edi
call fcn.1015e8b0
add esp, 0xc
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x34]
movsd xmm0, qword [esi + 0x90]
mov edx, dword [esi]
movsd qword [edx + 0x34], xmm0
mov ecx, dword [esi + 0x98]
mov dword [edx + 0x3c], ecx
lea edi, [esi + 0x6c]
mov dword [edi], 0xffffffff
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x24]
mov edi, dword [edi]
mov eax, 0
test edi, edi
je 0x10035502
push edi
call fcn.1020d865
add esp, 4
mov dword [esi + 0x94], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x98], ebx
lea ecx, [esi + 0x90]
push ecx
push eax
push edi
call fcn.1015e8b0
add esp, 0xc
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x34]
movq xmm0, qword [esi + 0x90]
mov edx, dword [esi]
movq qword [edx + 0x40], xmm0
mov ecx, dword [esi + 0x98]
mov dword [edx + 0x48], ecx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
lea edi, [esi + 0x5c]
mov dword [edi], 0xffffffff
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x28]
lea edx, [esi + 0x58]
mov dword [edx], ebx
mov eax, dword [edi]
mov ecx, dword [eax]
push edx
mov edi, edx
push eax
call dword [ecx + 0xc]
mov eax, 0
cmp dword [edi], ebx
je 0x1003571e
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x54], 0xffffffff
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax]
lea edx, [esi + 0x54]
push edx
mov dword [esi + 0x24], edi
push edi
push eax
call dword [ecx + 0x10]
mov edi, dword [esi + 0x54]
mov eax, 0
test edi, edi
je 0x100355aa
push edi
call fcn.1020d865
add esp, 4
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
lea ecx, [esi + 0x48]
push ecx
push eax
push edi
call fcn.1015e8b0
add esp, 0xc
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x68]
cmp ecx, eax
jae 0x100355e5
mov eax, dword [esi + 0x50]
mov dword [ecx + 8], eax
movq xmm0, qword [esi + 0x48]
movq qword [ecx], xmm0
add ecx, 0xc
mov dword [esi + 0x64], ecx
jmp 0x1003570b
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x90], xmm0
mov dword [esi + 0xa0], 0xffffffff
mov edi, dword [esi + 0x60]
sub ecx, edi
sar ecx, 2
imul edx, ecx, 0xaaaaaaab
lea ecx, [edx + 1]
cmp ecx, 0x15555556
jae 0x1003578d
sub eax, edi
sar eax, 2
imul eax, eax, 0xaaaaaaab
lea edi, [eax + eax]
cmp edi, ecx
cmovb edi, ecx
cmp eax, 0xaaaaaaa
mov eax, 0x15555555
cmovae edi, eax
lea ecx, [esi + 0x90]
lea eax, [esi + 0x6c]
push eax
push edx
push edi
call fcn.10030214
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x50]
mov dword [eax + 8], ecx
movq xmm0, qword [esi + 0x48]
movq qword [eax], xmm0
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov eax, dword [esi + 0x94]
mov edi, dword [esi + 0x98]
add edi, 0xc
mov dword [esi + 0x98], edi
mov edx, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
cmp ecx, edx
je 0x100356c3
mov edi, dword [ecx - 4]
mov dword [eax - 4], edi
movq xmm0, qword [ecx - 0xc]
movq qword [eax - 0xc], xmm0
mov dword [ecx - 8], ebx
mov dword [ecx - 0xc], ebx
mov dword [ecx - 4], ebx
add ecx, 0xfffffff4
mov eax, dword [esi + 0x94]
add eax, 0xfffffff4
mov dword [esi + 0x94], eax
cmp edx, ecx
jne 0x10035686
mov edx, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
mov edi, dword [esi + 0x98]
jmp 0x100356c5
mov edx, ecx
mov dword [esi + 0x60], eax
mov dword [esi + 0x94], edx
mov dword [esi + 0x64], edi
mov dword [esi + 0x98], ecx
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x9c]
mov dword [esi + 0x68], ecx
mov dword [esi + 0x9c], eax
mov dword [esi + 0x90], edx
lea ecx, [esi + 0x90]
call fcn.10030276
cmp byte [esi + 0x53], 0
jns 0x1003570b
push dword [esi + 0x48]
call fcn.10205096
add esp, 4
mov edi, dword [esi + 0x24]
inc edi
cmp edi, dword [esi + 0x58]
jb 0x1003557d
mov ebx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
mov ecx, dword [esi]
add ecx, 0x4c
push eax
push ebx
call fcn.10031a5e
xor ebx, ebx
dec ebx
mov dword [esi + 0x90], ebx
mov edi, dword [esi + 4]
mov eax, dword [edi + 0x34]
mov ecx, dword [eax]
lea edx, [esi + 0x90]
push edx
push eax
call dword [ecx + 0x2c]
mov eax, dword [esi + 0x90]
cmp eax, 3
cmovb ebx, eax
mov eax, dword [esi]
mov dword [eax + 0x58], ebx
lea ecx, [esi + 0x60]
call fcn.10030810
mov eax, dword [esi]
mov ebx, dword [esi + 0x20]
add edi, 0x30
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov ecx, edi
call fcn.10035796
mov ecx, dword [esi + 0xa8]
xor ecx, ebp
call fcn.10205d16
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esi + 0x60]
call fcn.1002bb40
int3