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

Disassembly:
push 0xffffffffffffffff
push 0xb8d5730
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x28], 1
call fcn.10074c12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 3
lea eax, [esp + 0x18]
mov bl, 2
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], bl
call fcn.10001d50
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call fcn.10001f50
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004de2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x10]
push 0xb8dd640
push edi
call fcn.10062803
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
add esp, 8
test eax, eax
jne 0x1004de92
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
call fcn.10001a00
add eax, 0x10
mov dword [edi], eax
lea eax, [esi - 0x10]
mov dword [esp + 0x24], esp
mov edi, esp
push eax
mov byte [esp + 0x34], 4
call fcn.10001a00
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x30], bl
call fcn.1004cdc0
mov edi, dword [esp + 0x18]
add esp, 8
jmp 0x1004dfae
push 0xb8dd63c
push edi
call fcn.10062803
add esp, 8
test eax, eax
jne 0x1004dec9
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x20], esp
mov ebx, esp
push eax
call fcn.10001a00
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.1004bce0
add esp, 4
jmp 0x1004dfae
push 0xb8dd638
push edi
call fcn.10062803
add esp, 8
test eax, eax
jne 0x1004df21
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.10001a00
add eax, 0x10
mov dword [edi], eax
lea eax, [esi - 0x10]
mov dword [esp + 0x20], esp
mov edi, esp
push eax
mov byte [esp + 0x34], 5
call fcn.10001a00
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x30], bl
call fcn.1004c710
mov edi, dword [esp + 0x18]
add esp, 8
jmp 0x1004dfae
push 0xb8dd634
push edi
call fcn.10062803
add esp, 8
test eax, eax
jne 0x1004df68
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.10001d30
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x34], 6
call fcn.10001d30
mov byte [esp + 0x30], bl
call fcn.1004bfe0
add esp, 8
jmp 0x1004dfae
push 0xb8dd630
push edi
call fcn.10062803
add esp, 8
test eax, eax
jne 0x1004dfae
push eax
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.10001d30
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x38], 7
call fcn.10001d30
mov byte [esp + 0x34], bl
call fcn.1004d270
add esp, 0xc
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004dfcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004dfec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004e00e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret