Function at 0x480e08
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x480e11
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
lea eax, [ebp - 4]
call fcn.00405ed0
xor eax, eax
push ebp
push 0x4812eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
push 0xffffffffffffffff
mov ecx, 0x481300
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov dword [esi + 8], eax
push 0
mov ecx, 0x48131c
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov dword [esi + 0xc], eax
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x481330
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x24]
lea eax, [esi + 0x10]
call fcn.00405904
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x48134c
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x28]
lea eax, [esi + 0x14]
call fcn.00405904
push 0x481360
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x481368
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046abe4
fstp qword [esi + 0x18]
wait
push 0x481360
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x48137c
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x30]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046abe4
fstp qword [esi + 0x20]
wait
push 0x481360
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x481390
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x34]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046abe4
fstp qword [esi + 0x28]
wait
push 0x481360
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x4813a4
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x38]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046abe4
fstp qword [esi + 0x30]
wait
push 0x481360
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x4813bc
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046abe4
fstp qword [esi + 0x38]
wait
push 0x481360
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x4813d4
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x40]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046abe4
fstp qword [esi + 0x40]
wait
push 0x481360
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x4813ec
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x44]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046abe4
fstp qword [esi + 0x48]
wait
push 0x481360
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x481404
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x48]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046abe4
fstp qword [esi + 0x50]
wait
push 0x481360
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x48141c
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x4c]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046abe4
fstp qword [esi + 0x58]
wait
push 0x481360
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x481434
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x50]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046abe4
fstp qword [esi + 0x60]
wait
push 0x481360
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x48144c
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x54]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046abe4
fstp qword [esi + 0x68]
wait
push 0x481360
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x481464
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x58]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046abe4
fstp qword [esi + 0x70]
wait
push 0x481360
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x48147c
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x5c]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046abe4
fstp qword [esi + 0x78]
wait
mov ecx, dword [ebp - 4]
mov edx, ebx
mov eax, dword [esi + 0x80]
call fcn.00467e64
push 0
mov ecx, 0x481494
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebp - 0xc], eax
mov eax, esi
mov edx, dword [0x4803f0]
call fcn.00404458
test al, al
je 0x48117a
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x48117a
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
mov dl, 1
mov eax, dword [0x485c68]
call fcn.004877bc
mov dword [ebp - 0x14], eax
push dword [ebp - 4]
push 0x4814b8
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x10]
call fcn.0040af94
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
call fcn.00405a94
push dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00405bf4
mov ecx, dword [ebp - 0x60]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 8]
test al, al
je 0x48116a
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.004806ec
jmp 0x481172
mov eax, dword [ebp - 0x14]
call fcn.004042c0
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0x481110
mov eax, esi
mov edx, dword [0x48045c]
call fcn.00404458
test al, al
je 0x481208
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x481208
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
mov dl, 1
mov eax, dword [0x485ce8]
call fcn.004879f0
mov dword [ebp - 0x18], eax
push dword [ebp - 4]
push 0x4814b8
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x10]
call fcn.0040af94
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
call fcn.00405a94
push dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.00405bf4
mov ecx, dword [ebp - 0x6c]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 8]
test al, al
je 0x4811f8
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.004806ec
jmp 0x481200
mov eax, dword [ebp - 0x18]
call fcn.004042c0
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0x48119e
mov eax, esi
mov edx, dword [0x4804dc]
call fcn.00404458
test al, al
je 0x481296
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x481296
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
mov dl, 1
mov eax, dword [0x485de4]
call fcn.00487eb0
mov dword [ebp - 0x1c], eax
push dword [ebp - 4]
push 0x4814b8
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x10]
call fcn.0040af94
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
call fcn.00405a94
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.00405bf4
mov ecx, dword [ebp - 0x78]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 8]
test al, al
je 0x481286
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.004806ec
jmp 0x48128e
mov eax, dword [ebp - 0x1c]
call fcn.004042c0
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0x48122c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4812f2
lea eax, [ebp - 0x80]
call fcn.0040519c
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004058e0
lea eax, [ebp - 0x74]
call fcn.0040519c
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004058e0
lea eax, [ebp - 0x68]
call fcn.0040519c
lea eax, [ebp - 0x64]
mov edx, 0x11
call fcn.004058e0
lea eax, [ebp - 4]
call fcn.004058c8
ret