Function at 0x1118a40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11459fe
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x1161d94
call edx
add eax, 0x10
mov dword [ebp - 0x40], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov dword [ebp - 4], 0
call edx
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 2
call edx
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 3
call edx
add eax, 0x10
mov dword [ebp - 0x38], eax
xor eax, eax
cmp dword [esi + 0x30], eax
mov bl, 4
mov byte [ebp - 4], bl
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
jne 0x1118b40
mov esi, 0x48862
call fcn.01127f00
test al, al
je 0x1118d31
push 0x1061670
push 0x10620e0
push 0
call fcn.01128b70
add esp, 0xc
jmp 0x1118d31
xor eax, eax
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x100f6f8
call fcn.0107f6b0
mov ecx, esi
call fcn.011183a0
test eax, eax
jl 0x1118d2c
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx - 0xc], 0
je 0x1118d2c
push 1
push 0x80
mov ecx, edi
call fcn.010a03e0
mov ecx, dword [esi + 0x30]
lea edx, [ebp - 0x30]
push edx
call fcn.0109b7e0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.0109c210
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1118bce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0xc0]
push 0xfde9
mov dword [ebp - 0xc4], ecx
push edx
lea ecx, [ebp - 0xc4]
call fcn.01097b60
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.01081d40
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.01098c30
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0109c0b0
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1118c3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xc4]
test eax, eax
mov byte [ebp - 4], bl
je 0x1118c5c
lea ecx, [ebp - 0xc0]
cmp eax, ecx
je 0x1118c5c
push eax
call fcn.01083cad
add esp, 4
mov eax, dword [ebp - 0x40]
push 0xfde9
lea edx, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], edx
call fcn.01097b60
mov ecx, dword [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.01133ee0
mov eax, dword [ebp - 0xc4]
test eax, eax
mov byte [ebp - 4], bl
je 0x1118caf
lea edx, [ebp - 0xc0]
cmp eax, edx
je 0x1118caf
push eax
call fcn.01083cad
add esp, 4
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax - 0xc]
cmp eax, 0x18
jb 0x1118cbf
mov eax, 0x18
mov ecx, dword [ebp - 0x34]
push eax
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.01086710
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x38]
call fcn.0109c0b0
lea ecx, [ebp - 0x3c]
call fcn.01117890
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.010d56b0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax - 0xc]
mov edx, dword [0x1162cd4]
push edi
push 0x100
push 0x6603
push 0x80
push 0x10620d8
push ecx
push eax
push 0x18
lea ecx, [ebp - 0x28]
add edx, 0x260
push ecx
push edx
call fcn.01127910
mov esi, eax
jmp 0x1118d31
mov esi, 0x80048024
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0109b310
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0109b310
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0109c040
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1118d78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1118d9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret 4