Function at 0x1031643b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x104d12cd
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x1072a790]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebx, ecx
push 0x105e4cbc
lea ecx, [esp + 0x64]
call fcn.10079d71
and dword [esp + 0xa0], 0
mov cl, 4
call fcn.102e21a0
mov esi, eax
mov dword [esp + 0x1c], esi
mov byte [esp + 0xa0], 1
lea eax, [esp + 0x78]
push eax
call fcn.10316744
mov edi, eax
mov byte [esp + 0xa0], 2
lea edx, [ebp + 8]
lea ecx, [esp + 0x30]
call fcn.10291792
mov byte [esp + 0xa0], 3
mov edx, eax
push edi
lea ecx, [esp + 0x4c]
call fcn.1007eb44
pop ecx
mov byte [esp + 0xa0], 4
lea ecx, [esp + 0x60]
push eax
call fcn.100807b4
mov byte [esp + 0xa0], 3
xor edi, edi
push edi
push 1
lea ecx, [esp + 0x50]
call fcn.1007a42c
mov byte [esp + 0xa0], 2
lea ecx, [esp + 0x30]
push edi
push 1
call fcn.1007a42c
mov byte [esp + 0xa0], 1
lea ecx, [esp + 0x78]
push edi
push 1
call fcn.1007a42c
lea eax, [ebp + 8]
lea edi, [ebx + 0xc]
push eax
mov ecx, edi
call fcn.10316eae
mov byte [esp + 0x24], 0
mov ebx, dword [eax + 0x14]
mov ecx, ebx
mov dword [esp + 0x20], ebx
mov eax, dword [ebx]
call dword [eax]
mov byte [esp + 0x24], 1
mov byte [esp + 0xa0], 5
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.10316eae
mov edi, eax
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.100822f1
lea eax, [esp + 0x48]
mov ecx, edi
push eax
call fcn.10082309
mov edi, dword [esp + 0x38]
cmp edi, dword [esp + 0x50]
je 0x1031663e
lea ecx, [esp + 0x30]
call fcn.10291488
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x14]
push eax
call fcn.10076f12
mov byte [esp + 0xa0], 7
mov cl, 5
call fcn.102e21a0
mov dword [esp + 0x18], eax
mov byte [esp + 0xa0], 8
lea edx, [esp + 0x18]
mov ecx, dword [esp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x1c]
call fcn.100808ea
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.102e1e80
mov byte [esp + 0xa0], 7
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10316616
dec dword [eax + 0x48]
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x48], 0
jne 0x10316616
mov ecx, ebx
call fcn.102e15b0
mov ecx, ebx
call fcn.102e6580
mov byte [esp + 0xa0], 5
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1031662b
call fcn.10076eba
inc edi
mov dword [esp + 0x38], edi
cmp edi, dword [esp + 0x50]
jne 0x1031658d
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
call fcn.1007e8c2
mov byte [esp + 0xa0], 0xa
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [eax]
call fcn.100855a2
mov byte [esp + 0xa0], 0xc
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10316670
call fcn.10076eba
mov edi, dword [esp + 0x28]
mov ecx, edi
mov dword [esp + 0x10], edi
mov byte [esp + 0x14], 0
mov eax, dword [edi]
call dword [eax]
mov byte [esp + 0x14], 1
mov byte [esp + 0xa0], 0xe
lea eax, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.10081607
mov ecx, dword [esp + 0x28]
call fcn.100813be
mov byte [esp + 0xa0], 0xc
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x14], 0
call dword [eax + 8]
mov byte [esp + 0xa0], 5
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x103166d6
call fcn.10076eba
mov byte [esp + 0xa0], 1
mov ecx, ebx
mov eax, dword [ebx]
mov byte [esp + 0x24], 0
call dword [eax + 8]
mov byte [esp + 0xa0], 0
test esi, esi
je 0x10316709
dec dword [esi + 0x48]
jne 0x10316709
mov ecx, esi
call fcn.102e15b0
mov ecx, esi
call fcn.102e6580
or dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x60]
push 0
push 1
call fcn.1007a42c
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.10436e26
mov esp, ebp
pop ebp
ret 4