Function at 0x1021b835
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x103a450a
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x104d9790]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x104d9790]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebx, ecx
push 0x103fa2a4
lea ecx, [esp + 0x64]
call fcn.10080eb1
and dword [esp + 0xa0], 0
mov cl, 4
call fcn.101e0c20
mov esi, eax
mov dword [esp + 0x1c], esi
mov byte [esp + 0xa0], 1
lea eax, [esp + 0x78]
push eax
call fcn.1021bb3e
mov edi, eax
mov byte [esp + 0xa0], 2
lea edx, [ebp + 8]
lea ecx, [esp + 0x30]
call fcn.1019917c
mov byte [esp + 0xa0], 3
mov edx, eax
push edi
lea ecx, [esp + 0x4c]
call fcn.10086ef6
pop ecx
mov byte [esp + 0xa0], 4
lea ecx, [esp + 0x60]
push eax
call fcn.1008a11b
mov byte [esp + 0xa0], 3
xor edi, edi
push edi
push 1
lea ecx, [esp + 0x50]
call fcn.10081569
mov byte [esp + 0xa0], 2
lea ecx, [esp + 0x30]
push edi
push 1
call fcn.10081569
mov byte [esp + 0xa0], 1
lea ecx, [esp + 0x78]
push edi
push 1
call fcn.10081569
lea eax, [ebp + 8]
lea edi, [ebx + 0xc]
push eax
mov ecx, edi
call fcn.1021c1fc
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.1021c1fc
mov edi, eax
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.1008bbbf
lea eax, [esp + 0x48]
mov ecx, edi
push eax
call fcn.1008bbd7
mov edi, dword [esp + 0x38]
cmp edi, dword [esp + 0x50]
je 0x1021ba38
lea ecx, [esp + 0x30]
call fcn.10198e72
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x14]
push eax
call fcn.1007e052
mov byte [esp + 0xa0], 7
mov cl, 5
call fcn.101e0c20
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.1008a251
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.101e0900
mov byte [esp + 0xa0], 7
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1021ba10
dec dword [eax + 0x48]
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x48], 0
jne 0x1021ba10
mov ecx, ebx
call fcn.101e0030
mov ecx, ebx
call fcn.101e5000
mov byte [esp + 0xa0], 5
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1021ba25
call fcn.1007dffa
inc edi
mov dword [esp + 0x38], edi
cmp edi, dword [esp + 0x50]
jne 0x1021b987
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
call fcn.10086615
mov byte [esp + 0xa0], 0xa
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [eax]
call fcn.1008ee6c
mov byte [esp + 0xa0], 0xc
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1021ba6a
call fcn.1007dffa
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.1008af6e
mov ecx, dword [esp + 0x28]
call fcn.1008ad25
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 0x1021bad0
call fcn.1007dffa
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 0x1021bb03
dec dword [esi + 0x48]
jne 0x1021bb03
mov ecx, esi
call fcn.101e0030
mov ecx, esi
call fcn.101e5000
or dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x60]
push 0
push 1
call fcn.10081569
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.103362c6
mov esp, ebp
pop ebp
ret 4