Function at 0x35a630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x3914ae
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x24], 0x39d788
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov esi, dword [esp + 0x8c]
add esi, 0xc
lea eax, [esp + 0x24]
mov dword [esp + 0x84], ebp
cmp eax, esi
jne 0x35a68f
call fcn.0038b3a8
mov eax, dword [esi + 8]
lea edi, [esp + 0x24]
call fcn.0031ffd0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x28]
push ecx
push edx
push ebx
call fcn.00320240
call fcn.0031f840
mov edi, dword [esp + 0x2c]
xor eax, eax
cmp edi, ebp
mov dword [esp + 0x18], eax
jle 0x35a8d3
mov ecx, ebx
mov dword [esp + 0x1c], ebx
test eax, eax
jl 0x35a68a
cmp eax, edi
jge 0x35a68a
lea eax, [esp + 0x58]
push eax
call fcn.003406a0
mov ecx, dword [esp + 0x8c]
mov byte [esp + 0x84], 1
mov edi, dword [ecx + 0x14]
xor ebx, ebx
mov dword [esp + 0x20], edi
test edi, edi
jle 0x35a824
xor esi, esi
test esi, esi
jl 0x35a68a
mov eax, dword [esp + 0x8c]
add eax, 0xc
cmp ebx, dword [eax + 8]
jge 0x35a68a
mov ecx, dword [eax + 4]
lea edx, [esp + 0x38]
add ecx, esi
push edx
call fcn.003406a0
mov byte [esp + 0x84], 2
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x64]
call dword [0x39ad1c]
mov dword [esp + 0x38], 0x3a2cc0
test eax, eax
jl 0x35a7c0
mov byte [esp + 0x84], 8
cmp dword [esp + 0x48], 0
mov dword [esp + 0x44], 0x39d770
je 0x35a792
xor ebp, ebp
cmp dword [esp + 0x4c], ebp
jle 0x35a785
xor edi, edi
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + edi]
mov eax, dword [edx]
add ecx, edi
push 0
call eax
inc ebp
add edi, 0x1c
cmp ebp, dword [esp + 0x4c]
jl 0x35a768
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0038b3c0
add esp, 4
lea ecx, [esp + 0x40]
call dword [0x39ad2c]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 1
call dword [0x39ad2c]
inc ebx
add esi, 0x20
cmp ebx, edi
jl 0x35a6fe
jmp 0x35a824
mov byte [esp + 0x84], 6
cmp dword [esp + 0x48], 0
mov dword [esp + 0x44], 0x39d770
je 0x35a808
xor ebp, ebp
cmp dword [esp + 0x4c], ebp
jle 0x35a7fb
xor edi, edi
mov edx, dword [esp + 0x48]
mov eax, dword [edi + edx]
lea ecx, [edi + edx]
mov edx, dword [eax]
push 0
call edx
inc ebp
add edi, 0x1c
cmp ebp, dword [esp + 0x4c]
jl 0x35a7e1
mov eax, dword [esp + 0x48]
push eax
call fcn.0038b3c0
add esp, 4
lea ecx, [esp + 0x40]
call dword [0x39ad2c]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 1
call dword [0x39ad2c]
lea edi, [esp + 0x64]
call fcn.0031f380
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebx
add edx, 0xc
call fcn.0031f8d0
mov dword [esp + 0x58], 0x3a2cc0
mov byte [esp + 0x84], 0xa
cmp dword [esp + 0x68], 0
mov dword [esp + 0x64], 0x39d770
je 0x35a893
xor ebp, ebp
cmp dword [esp + 0x6c], ebp
jle 0x35a886
xor edi, edi
mov edx, dword [esp + 0x68]
mov eax, dword [edi + edx]
lea ecx, [edi + edx]
mov edx, dword [eax]
push 0
call edx
inc ebp
add edi, 0x1c
cmp ebp, dword [esp + 0x6c]
jl 0x35a86c
mov eax, dword [esp + 0x68]
push eax
call fcn.0038b3c0
add esp, 4
lea ecx, [esp + 0x60]
call dword [0x39ad2c]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 0
call dword [0x39ad2c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
inc eax
add ecx, 0x20
cmp eax, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jl 0x35a6ca
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x84], 0xffffffff
test ebx, ebx
je 0x35a903
test edi, edi
jle 0x35a8fa
mov esi, ebx
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
add esi, 0x20
sub edi, 1
jne 0x35a8e8
push ebx
call fcn.0038b3c0
add esp, 4
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4