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

Disassembly:
push 0xffffffffffffffff
push 0x1006e646
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, 0xd
lea edi, [esi + 0x20]
lea ebp, [esi + 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [edi], eax
mov dword [ebp], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x88], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x9c], 1
mov dword [esi], eax
xor ebx, ebx
mov ecx, dword [eax + 0x20]
lea eax, [esp + 0x10]
mov dword [esi + 4], ecx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x98], ebx
mov edx, dword [ecx + 0x18]
push ebx
push eax
mov eax, dword [ecx + 0x14]
push edx
push eax
call fcn.1005da20
cmp dword [esp + 0x10], 7
je 0x100054c0
lea ecx, [esp + 0x10]
call fcn.10045cf0
push eax
push 0x100860fc
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0x10
jmp 0x100054d0
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.10005860
test eax, eax
jne 0x100054f1
lea ecx, [esp + 0x10]
call fcn.10045c00
mov dword [edi], 5
mov dword [ebp], 5
mov dword [esi + 0x9c], ebx
jmp 0x100056be
mov ecx, dword [esp + 0x18]
push ebx
push edi
push 0x100860f4
call fcn.1000bbe0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push ebx
push edx
push 0x100860ec
call fcn.1000bbe0
cmp dword [eax], 7
jne 0x1000552c
mov ecx, dword [esp + 0x28]
push ebx
push ebp
push 0x100860f4
call fcn.1000bbe0
jmp 0x10005533
mov dword [ebp], 5
lea ecx, [esp + 0x20]
call fcn.10045c00
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push ebx
push eax
push 0x100860e8
call fcn.1000bbe0
mov ecx, dword [eax]
or ebp, 0xffffffff
cmp ecx, 7
jne 0x100055a9
lea ecx, [esp + 0x30]
push ebx
push ecx
mov ecx, dword [esp + 0x30]
push 0x100860e0
call fcn.1000bbe0
cmp dword [eax], 3
jne 0x100055a0
mov edi, dword [esp + 0x38]
push 8
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, ebx
mov dword [esp + 0x48], ebx
je 0x10005597
push edi
mov ecx, eax
call fcn.100327f0
jmp 0x10005599
xor eax, eax
mov dword [esp + 0x48], ebp
mov dword [esi + 0x40], eax
lea ecx, [esp + 0x30]
call fcn.10045c00
lea ecx, [esp + 0x20]
call fcn.10045c00
mov edi, dword [esi + 0x40]
cmp edi, ebx
je 0x100055d5
cmp dword [edi], ebx
jne 0x10005647
cmp edi, ebx
je 0x100055d5
mov ecx, edi
call fcn.100328c0
push edi
call fcn.10060e0f
add esp, 4
mov edx, dword [esi]
mov eax, dword [edx]
cmp eax, ebx
je 0x10005616
mov eax, dword [eax + 4]
push eax
call fcn.1000f820
push eax
call fcn.1000f930
mov ecx, eax
add esp, 8
mov dword [esi + 0x40], ecx
mov eax, dword [ecx + 4]
cmp byte [eax], 0x2f
jne 0x10005609
push 0x100860cc
push ebx
call fcn.10033890
jmp 0x10005647
push 0x100860b8
push ebx
call fcn.10033890
jmp 0x10005647
push 8
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, ebx
mov dword [esp + 0x48], 1
je 0x1000563e
push 0x100860b8
mov ecx, eax
call fcn.100326a0
jmp 0x10005640
xor eax, eax
mov dword [esp + 0x48], ebp
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x48]
push ebx
push eax
push 0x100860ac
call fcn.1000bbe0
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x58]
push ebx
push eax
push 0x1008609c
call fcn.1000bbe0
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x68]
push ebx
push eax
push 0x10086090
call fcn.1000bbe0
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x78]
push ebx
push eax
push 0x10086084
call fcn.1000bbe0
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x88]
push ebx
push eax
push 0x10086074
call fcn.1000bbe0
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.10006020
lea ecx, [esp + 0x10]
call fcn.10045c00
mov ecx, dword [esp + 0x40]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4