Function at 0x1000dee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1006f7d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008ab54]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [edi + 0xc], ebx
mov byte [edi + 0x18], 1
mov eax, dword [0x1009087c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009087c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ebx
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call edx
mov ebp, eax
lea esi, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.1000dd90
push ebp
push eax
lea eax, [esp + 0x1c]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
mov byte [esp + 0x38], 2
call fcn.1001e8b0
mov esi, eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or ebp, 0xffffffff
add esp, 0x10
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000df8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000dfaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x1000dfd1
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], ebx
je 0x1000dfd1
lea edx, [esp + 0x14]
lea ecx, [edi + 0x14]
push edx
call fcn.1000d4b0
mov byte [edi + 0x1c], bl
jmp 0x1000e119
lea ecx, [esp + 0x14]
mov dword [edi + 0xc], ebx
mov byte [edi + 0x18], bl
call fcn.10002060
mov edx, dword [edi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call edx
mov esi, eax
mov byte [esp + 0x28], 3
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call edx
push esi
push eax
lea eax, [esp + 0x1c]
push SysReAllocString
push eax
mov byte [esp + 0x38], 4
call fcn.1001e8b0
mov esi, eax
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e042
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e065
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x1000e076
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], ebx
jne 0x1000e10c
mov edx, dword [edi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call edx
mov esi, eax
mov byte [esp + 0x28], 5
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call edx
push esi
push eax
lea eax, [esp + 0x1c]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
mov byte [esp + 0x38], 6
call fcn.1001e8b0
mov esi, eax
mov byte [esp + 0x38], 5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e0d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e0fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
mov esi, dword [esp + 0x14]
je 0x1000e120
cmp dword [esi - 0xc], ebx
je 0x1000e120
mov byte [edi + 0x18], 1
lea edx, [esp + 0x14]
lea ecx, [edi + 0x14]
push edx
call fcn.1000d4b0
mov dword [edi + 0xc], 1
lea eax, [esi - 0x10]
mov dword [esp + 0x28], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x1000e13d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret