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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
test dl, dl
je 0x48847a
add esp, 0xfffffff0
call fcn.004045ec
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4888ca
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00404298
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov dl, 1
mov eax, dword [0x422930]
call fcn.00422a68
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x10], 1
mov dl, 1
mov eax, dword [0x417e54]
call fcn.00404298
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.004051e8
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.004051e8
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00488d64
mov word [ebp - 0x12], ax
xor eax, eax
push ebp
push 0x4887eb
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp - 0x12]
add eax, 0xfffffc18
cmp eax, 0xa
ja case.0x488563.1001
jmp dword [eax*4 + 0x48856a]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov ecx, 4
call fcn.00487bf8
test al, al
je 0x4885c3
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
jmp case.0x488563.1001
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
call fcn.00487648
jmp case.0x488563.1001
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov ecx, 4
call fcn.00487bf8
test al, al
je 0x48860d
cmp dword [ebp - 0x10], 0
jbe case.0x488563.1001
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
jmp case.0x488563.1001
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
call fcn.00487648
jmp case.0x488563.1001
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov ecx, 4
call fcn.00487bf8
test al, al
je 0x488657
cmp dword [ebp - 0x10], 0
jbe case.0x488563.1001
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
jmp case.0x488563.1001
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
call fcn.00487648
jmp case.0x488563.1001
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov ecx, 4
call fcn.00487bf8
test al, al
je 0x4886a1
cmp dword [ebp - 0x10], 0
jbe case.0x488563.1001
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
jmp case.0x488563.1001
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
call fcn.00487648
jmp case.0x488563.1001
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov ecx, 4
call fcn.00487bf8
test al, al
je 0x4886dc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x30], edx
jmp case.0x488563.1001
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
call fcn.00487648
jmp case.0x488563.1001
mov eax, dword [ebp - 4]
lea edx, [eax + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00488ce4
test al, al
jne case.0x488563.1001
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
call fcn.00487648
jmp case.0x488563.1001
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 8]
jmp case.0x488563.1001
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00488ce4
test al, al
je 0x48875b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp case.0x488563.1001
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
call fcn.00487648
jmp case.0x488563.1001
mov dl, 1
mov eax, dword [0x417e54]
call fcn.00404298
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.00422a60
jmp case.0x488563.1001
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp dword [eax + 8], 0
jl 0x4887d3
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00488ce4
test al, al
je 0x4887c3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [eax + 8]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.00422ae8
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp case.0x488563.1001
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
call fcn.00487648
jmp case.0x488563.1001
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
call fcn.00487648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48882d
cmp word [ebp - 0x12], 0x3f3
je 0x48884b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
call fcn.0048738c
test al, al
jne 0x488534
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
call fcn.0048738c
test al, al
jne 0x488877
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 1
mov eax, dword [ebp - 4]
add eax, 0x34
mov edx, 0x4888fc
call fcn.0040523c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
jne 0x48889e
mov eax, dword [ebp - 4]
add eax, 0x20
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x34]
call fcn.0040523c
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.004051e8
jmp 0x4888b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4888d1
lea eax, [ebp - 0x18]
call fcn.004051e8
ret