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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x52a640
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x52aab0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x52aacc
call fcn.00406374
push 0
mov ecx, 0x52aae8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004f4d78
mov edx, dword [ebx + 0x11c]
mov dword [edx + 4], eax
push 0
mov ecx, 0x52ab08
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004f4d78
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0xc], eax
push 0
mov ecx, 0x52ab2c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004f4d78
mov edx, dword [ebx + 0x11c]
mov dword [edx + 8], eax
push 0
mov ecx, 0x52ab4c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004f4d78
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x10], eax
push 0
mov ecx, 0x52ab74
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004f4d78
mov esi, dword [ebx + 0x11c]
mov dword [esi + 0x18], eax
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040654c
mov edx, dword [ebp - 0x14]
mov ecx, 0x52ab8c
mov eax, dword [ebx + 0x34]
call fcn.004f4bdc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00406524
mov ecx, dword [ebp - 0xc]
mov edx, dword [esi + 0x14]
mov eax, ebx
call fcn.00528b50
push 0
mov ecx, 0x52aba0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004f4d78
mov esi, dword [ebx + 0x11c]
mov dword [esi + 0x1c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040654c
mov edx, dword [ebp - 0x20]
mov ecx, 0x52abb8
mov eax, dword [ebx + 0x34]
call fcn.004f4bdc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.00406524
mov ecx, dword [ebp - 0x18]
mov edx, dword [esi + 0x44]
mov eax, ebx
call fcn.00528b50
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040654c
mov edx, dword [ebp - 0x2c]
mov ecx, 0x52abd0
mov eax, dword [ebx + 0x34]
call fcn.004f4bdc
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.00406524
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x11c]
mov edx, dword [eax + 0x48]
mov eax, ebx
call fcn.00528b50
push 0xffffffffffffffff
mov ecx, 0x52abe8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004f4d78
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x2c], eax
push 0xffffffffffffffff
mov ecx, 0x52ac10
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004f4d78
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x30], eax
push 0xffffffffffffffff
mov ecx, 0x52ac3c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004f4d78
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x34], eax
push 0
mov ecx, 0x52ac64
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004f4d78
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x4c], eax
push 0
mov ecx, 0x52ac94
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004f4d78
mov esi, dword [ebx + 0x11c]
mov dword [esi + 0x50], eax
cmp dword [esi + 0x1c], 1
jle 0x52a85a
xor eax, eax
mov dword [esi + 0x1c], eax
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040654c
mov edx, dword [ebp - 0x34]
mov ecx, 0x52acc4
mov eax, dword [ebx + 0x34]
call fcn.004f4bdc
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
call fcn.00406524
cmp dword [ebp - 8], 0
je 0x52a89d
mov eax, dword [ebx + 0x11c]
mov byte [eax + 0x54], 1
jmp 0x52a8a7
mov eax, dword [ebx + 0x11c]
mov byte [eax + 0x54], 0
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040654c
mov edx, dword [ebp - 0x3c]
mov ecx, 0x52ace0
mov eax, dword [ebx + 0x34]
call fcn.004f4bdc
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.00406524
cmp dword [ebp - 8], 0
je 0x52a8ea
mov eax, dword [ebx + 0x11c]
mov byte [eax + 0x55], 1
jmp 0x52a8f4
mov eax, dword [ebx + 0x11c]
mov byte [eax + 0x55], 0
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040654c
mov edx, dword [ebp - 0x44]
mov ecx, 0x52ad00
mov eax, dword [ebx + 0x34]
call fcn.004f4bdc
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 8]
call fcn.00406524
cmp dword [ebp - 8], 0
je 0x52a937
mov eax, dword [ebx + 0x11c]
mov byte [eax + 0x56], 1
jmp 0x52a941
mov eax, dword [ebx + 0x11c]
mov byte [eax + 0x56], 0
push 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040654c
mov edx, dword [ebp - 0x50]
mov ecx, 0x52acc4
mov eax, dword [ebx + 0x34]
call fcn.004f4bdc
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
call fcn.00406524
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebx + 0xb8]
mov eax, ebx
call fcn.0052bec8
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x38], eax
push 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040654c
mov edx, dword [ebp - 0x5c]
mov ecx, 0x52ace0
mov eax, dword [ebx + 0x34]
call fcn.004f4bdc
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
call fcn.00406524
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebx + 0xb8]
mov eax, ebx
call fcn.0052bec8
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x3c], eax
push 0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040654c
mov edx, dword [ebp - 0x68]
mov ecx, 0x52ad00
mov eax, dword [ebx + 0x34]
call fcn.004f4bdc
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
call fcn.00406524
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebx + 0xb8]
mov eax, ebx
call fcn.0052bec8
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x40], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52aaba
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004052a0
lea eax, [ebp - 0x60]
call fcn.00406310
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004052a0
lea eax, [ebp - 0x54]
call fcn.00406310
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004052a0
lea eax, [ebp - 0x48]
call fcn.00406310
lea eax, [ebp - 0x44]
mov edx, 8
call fcn.004052a0
lea eax, [ebp - 0x24]
call fcn.00406310
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004052a0
lea eax, [ebp - 0x18]
call fcn.00406310
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004052a0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406318
ret