Function at 0x10035690
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c006
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xd0
push esi
mov esi, dword [ebx + 0x30]
xor eax, eax
push edi
mov edi, dword [ebx + 0x2c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], eax
movups xmm0, xmmword [ebx + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
push eax
movups xmm0, xmmword [ebx + 0x1c]
mov dword [ebp - 0x34], edi
movups xmmword [ebp - 0x90], xmm0
call fcn.100286a0
test al, al
je 0x1003589f
lea ecx, [ebp - 0x30]
call fcn.10030a80
mov dword [ebp - 4], 0
lea edx, [ebp - 0x80]
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
or ecx, 2
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, eax
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0xf
movups xmmword [ebp - 0x68], xmm0
mov byte [ebp - 0x80], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.10034b50
mov eax, dword [ebp - 0x14]
and eax, 0xfffffffd
or eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x80]
mov edx, dword [edi + 4]
mov dword [ebp - 0x1c], edx
push eax
cmp edx, dword [edi + 8]
je 0x1003583d
cmp esi, edx
jne 0x100357a9
mov ecx, edx
call fcn.100358c0
add dword [edi + 4], 0x48
jmp 0x10035847
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xe0], edi
call fcn.100358c0
mov ecx, dword [ebp - 0x1c]
add edx, 0xffffffb8
push edx
call fcn.100358c0
add dword [edi + 4], 0x48
cmp edx, esi
je 0x10035804
lea edi, [edx + 0x78]
sub edi, 0x48
sub edx, 0x48
push edx
mov dword [ebp - 0x1c], edx
lea ecx, [edi - 0x30]
call fcn.1002b5e0
lea eax, [edi - 0x60]
push eax
lea ecx, [edi - 0x18]
call fcn.1002b5e0
lea eax, [edi - 0x48]
mov ecx, edi
push eax
call fcn.1002b5e0
mov edx, dword [ebp - 0x1c]
cmp edx, esi
jne 0x100357d1
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0xdc]
mov ecx, esi
push eax
call fcn.1002b5e0
lea eax, [ebp - 0xc4]
push eax
lea ecx, [esi + 0x18]
call fcn.1002b5e0
lea eax, [ebp - 0xac]
push eax
lea ecx, [esi + 0x30]
call fcn.1002b5e0
lea ecx, [ebp - 0xdc]
call fcn.10035370
jmp 0x10035847
push esi
mov ecx, edi
call fcn.10035970
mov esi, eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
add esi, 0x48
call fcn.10035370
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
sub eax, 1
je 0x10035874
sub eax, 1
je 0x1003586e
inc dword [ebp - 0x24]
jmp 0x10035888
add dword [ebp - 0x28], 0x10
jmp 0x10035888
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
call fcn.1002be10
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x30]
call fcn.100286a0
test al, al
jne 0x10035705
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
mov dword [eax + 4], esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret