Function at 0x494884
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x49488d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4948a7
add esp, 0xfffffff0
call fcn.00404898
mov dword [ebp - 4], ecx
mov byte [ebp - 5], dl
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405944
lea esi, [ebp - 0xc]
xor eax, eax
push ebp
push 0x494c63
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00494828
xor eax, eax
mov dword [esi], eax
xor eax, eax
push ebp
push 0x494c04
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
lea eax, [ebp - 0x10]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x10]
call fcn.0040a770
mov dword [ebx + 4], eax
push esi
lea eax, [ebp - 0x14]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x14]
call fcn.0040a770
mov dword [ebx + 0x10], eax
push esi
lea eax, [ebp - 0x18]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x18]
call fcn.0040a770
mov dword [ebx + 0x14], eax
push esi
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x1c]
call fcn.0040a770
mov byte [ebx + 0x18], al
push esi
lea eax, [ebp - 0x20]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0xc]
call fcn.004054e4
push esi
lea eax, [ebp - 0x24]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x24]
call fcn.0040a770
mov byte [ebx + 0x19], al
push esi
lea eax, [ebp - 0x28]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x30]
call fcn.004054e4
push esi
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x38]
call fcn.004054e4
push esi
lea eax, [ebp - 0x30]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x3c]
call fcn.004054e4
push esi
lea eax, [ebp - 0x34]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x34]
call fcn.004054e4
push esi
lea eax, [ebp - 0x38]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x40]
call fcn.004054e4
push esi
lea eax, [ebp - 0x3c]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x48]
call fcn.004054e4
push esi
lea eax, [ebp - 0x40]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x40]
call fcn.0040a770
mov dword [ebx + 0x24], eax
push esi
lea eax, [ebp - 0x44]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x44]
call fcn.004054e4
push esi
lea eax, [ebp - 0x48]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0x2c]
call fcn.004054e4
push esi
lea eax, [ebp - 0x4c]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x4c]
call fcn.0040a770
mov dword [ebx + 0x1c], eax
push esi
lea eax, [ebp - 0x50]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x50]
call fcn.0040a770
mov dword [ebx + 0x28], eax
lea edi, [ebx + 0x54]
push esi
lea eax, [ebp - 0x54]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x54]
call fcn.0040a770
mov dword [edi], eax
push esi
lea eax, [ebp - 0x58]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x58]
call fcn.0040a770
mov dword [edi + 4], eax
push esi
lea eax, [ebp - 0x5c]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x5c]
call fcn.0040a770
mov dword [edi + 8], eax
push esi
lea eax, [ebp - 0x60]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x60]
call fcn.0040a770
mov dword [ebx + 0x20], eax
push esi
lea eax, [ebp - 0x64]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x64]
call fcn.0040a770
mov dword [ebx + 0x64], eax
push esi
lea eax, [ebp - 0x68]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x68]
lea eax, [ebx + 8]
call fcn.004054e4
push esi
lea eax, [ebp - 0x6c]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x6c]
call fcn.0040a770
mov byte [ebx + 0x1a], al
push esi
lea eax, [ebp - 0x70]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x70]
call fcn.0040a770
mov edx, eax
mov eax, ebx
call fcn.004971ac
push esi
lea eax, [ebp - 0x74]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x74]
lea eax, [ebx + 0x60]
call fcn.004054e4
push esi
lea eax, [ebp - 0x78]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x78]
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x494c1f
mov eax, dword [ebp - 4]
test eax, eax
je 0x494c2b
sub eax, 4
mov eax, dword [eax]
cmp eax, dword [esi]
jle 0x494c40
mov dl, 1
mov eax, dword [0x5a105c]
call fcn.005a4418
call fcn.00404de8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494c6a
lea eax, [ebp - 0x78]
mov edx, 0x1b
call fcn.004054b4
lea eax, [ebp - 4]
call fcn.00405490
ret