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

Disassembly:
push 0xffffffffffffffff
push 0x10099ea0
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.1008cdb1
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.10003b90
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call fcn.100029e0
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 0x1005a6ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x10]
push 0x100a2d5c
push edi
call fcn.10077004
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
add esp, 8
test eax, eax
jne 0x1005a752
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
call fcn.10001a10
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.10001a10
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x30], bl
call fcn.10059680
mov edi, dword [esp + 0x18]
add esp, 8
jmp 0x1005a86e
push 0x100a2d58
push edi
call fcn.10077004
add esp, 8
test eax, eax
jne 0x1005a789
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x20], esp
mov ebx, esp
push eax
call fcn.10001a10
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.100585a0
add esp, 4
jmp 0x1005a86e
push 0x100a2d54
push edi
call fcn.10077004
add esp, 8
test eax, eax
jne 0x1005a7e1
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.10001a10
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.10001a10
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x30], bl
call fcn.10058fd0
mov edi, dword [esp + 0x18]
add esp, 8
jmp 0x1005a86e
push 0x100a2d50
push edi
call fcn.10077004
add esp, 8
test eax, eax
jne 0x1005a828
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.10002380
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x34], 6
call fcn.10002380
mov byte [esp + 0x30], bl
call fcn.100588a0
add esp, 8
jmp 0x1005a86e
push 0x100a2d4c
push edi
call fcn.10077004
add esp, 8
test eax, eax
jne 0x1005a86e
push eax
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.10002380
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x38], 7
call fcn.10002380
mov byte [esp + 0x34], bl
call fcn.10059b30
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 0x1005a88d
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 0x1005a8ac
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 0x1005a8ce
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