Function at 0x413020
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 0x7f4f23
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
push esi
push edi
mov eax, dword [0x908074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], 0x8cd26c
push 1
mov dword [ebp - 4], 0
call fcn.004657aa
add esp, 4
mov dword [esi + 0xc], eax
mov dword [ebp - 4], 1
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0xf
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 7
mov word [esi + 0x28], ax
mov byte [ebp - 4], 3
push 0x34
mov word [esi + 0x48], ax
mov byte [esi + 0x4a], al
call fcn.00479a52
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [edi + 4], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
push 0
mov dword [edi], 0x81227c
call fcn.00465a23
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x74], 0
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x6c], ax
mov dword [ebp - 0x68], eax
mov word [ebp - 0x64], ax
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], al
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], al
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0xc
push 0x8cd238
push eax
call fcn.004658b1
lea eax, [ebp - 0x50]
push eax
call fcn.00465fa6
add esp, 0xc
lea ecx, [ebp - 0x84]
movups xmm0, xmmword [eax]
movups xmmword [edi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [edi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [edi + 0x30], eax
call fcn.004086f0
mov byte [ebp - 4], 3
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x1c]
mov dword [edi], 0x8cd240
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x44], eax
push dword [esi + 0xc]
mov dword [esi + 4], edi
call fcn.00465916
mov ecx, dword [0x17f9694]
add esp, 4
mov edi, eax
test ecx, ecx
jne 0x4131c8
push ecx
lea ecx, [ebp - 0x18]
call fcn.00465a23
cmp dword [0x17f9694], 0
jne 0x4131ba
mov eax, dword [0x17f9688]
inc eax
mov dword [0x17f9688], eax
mov dword [0x17f9694], eax
lea ecx, [ebp - 0x18]
call fcn.00465a7b
mov ecx, dword [0x17f9694]
push ecx
push dword [ebp - 0x20]
push edi
call fcn.00466178
mov dword [edi + 0x10], 0
add esp, 0xc
mov eax, dword [edi + 0x18]
cmp eax, 0x8cd234
je 0x41322f
test eax, eax
je 0x4131f3
push eax
call fcn.006c0569
add esp, 4
mov dword [edi + 0x18], 0
mov esi, 0x8cd234
nop
inc esi
cmp byte [esi], 0
jne 0x413200
inc esi
sub esi, 0x8cd234
push esi
call fcn.006c0a86
add esp, 4
mov dword [edi + 0x18], eax
test eax, eax
je 0x41322c
push esi
push 0x8cd234
push eax
call fcn.006b6ca0
add esp, 0xc
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 0xd
mov ecx, dword [esi + 0xc]
cmp ecx, edi
je 0x413259
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x41324f
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov dword [esi + 0xc], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x413272
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, esi
mov dword [esi + 0x4c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret