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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1014787a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ebx, dword [eax + 0x18]
xor eax, eax
mov dword [esp + 0x10], eax
or eax, 0xffffffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], ebx
push eax
call fcn.10055853
and dword [esp + 0x5c], 0
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x10056550
and dword [esp + 0x28], esi
mov dword [esp + 0x24], 0x1000d650
test ebx, ebx
je 0x100564b5
mov eax, dword [edi]
lea ecx, [esp + 0x40]
push dword [eax + 0x44]
push dword [eax + 0x40]
call fcn.100577fb
push dword [esp + 0x3c]
lea ecx, [esp + 0x54]
push dword [esp + 0x3c]
call fcn.100577fb
add esp, 0x10
mov dword [esp + 0x20], 0x10
lea eax, [esp + 0x40]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 8]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10056420
mov edx, dword [ebx]
mov ecx, ebx
push eax
call dword [edx + 0x10]
mov edi, eax
jmp 0x10056518
mov edx, dword [edi]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
push dword [ebp + 0xc]
mov edx, dword [edx + 0x38]
lea ecx, [esp + 0x20]
call fcn.100559ce
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 1
call fcn.1004d3c7
mov byte [esp + 0x5c], 0
push dword [esp + 0x14]
call fcn.10123f6a
mov esi, dword [esp + 0x10]
pop ecx
test esi, esi
jne 0x10056550
push 0x10
call fcn.10123676
pop ecx
test eax, eax
je 0x10056484
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.10054b69
mov edi, eax
jmp 0x10056486
xor edi, edi
cmp byte [esp + 0x2c], 0
je 0x10056518
mov eax, dword [ebp + 0xc]
cmp byte [eax + 1], 0
je 0x10056518
mov eax, dword [ebx]
lea ecx, [esp + 0x1c]
push 0x100562ef
push dword [edi + 4]
push edi
push ecx
mov ecx, ebx
call dword [eax + 4]
mov dword [esp + 0x10], eax
jmp 0x10056518
mov edx, dword [edi]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
push dword [ebp + 0xc]
mov edx, dword [edx + 0x38]
lea ecx, [esp + 0x20]
call fcn.100559ce
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 2
call fcn.1004d3c7
mov byte [esp + 0x5c], 0
push dword [esp + 0x14]
call fcn.10123f6a
mov esi, dword [esp + 0x10]
pop ecx
test esi, esi
jne 0x10056550
push 0x10
call fcn.10123676
pop ecx
test eax, eax
je 0x10056516
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.10054b69
jmp 0x10056419
xor edi, edi
test edi, edi
je 0x10056550
mov eax, dword [ebp + 8]
mov ecx, edi
mov eax, dword [eax]
push dword [eax]
call fcn.10054ff8
mov ebx, eax
mov eax, dword [esp + 0x10]
mov ecx, ebx
test eax, eax
jne 0x1005653f
push eax
push edi
push 0x100562da
jmp 0x10056549
push eax
push dword [esp + 0x1c]
push 0x1005632a
call fcn.10055c22
jmp 0x1005655b
lea ecx, [esp + 0xc]
call fcn.10055d65
mov ebx, eax
push esi
call fcn.10123f6a
pop ecx
mov ecx, dword [esp + 0x54]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret