Function at 0x4b1b90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4b1faa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
call fcn.0040464c
test eax, eax
jne 0x4b1be6
mov ebx, 0x2303
jmp 0x4b1f7e
mov eax, ebx
call fcn.0040464c
test eax, eax
setne al
test al, al
je 0x4b1e7d
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0x7001
jne 0x4b1cea
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor edx, edx
call fcn.004b1214
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.004049d8
lea eax, [ebp - 0x1c]
call fcn.004048a4
mov edx, eax
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004b1214
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.004049d8
lea edx, [ebp - 0x13c]
mov eax, ebx
call fcn.00458900
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x28]
call fcn.0045f5c0
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x28]
call fcn.0045d318
mov edx, dword [ebp - 0x140]
lea eax, [ebp - 0x12a]
call fcn.0046bb8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, 0xc
mov edx, dword [ebp - 0x10]
call fcn.004049d8
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, 0xc
call fcn.004048a4
push eax
lea eax, [ebp - 0x1c]
call fcn.004048a4
mov edx, eax
lea eax, [ebp - 0x12a]
pop ecx
call fcn.0046bbbc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, 8
call fcn.0040438c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, 4
mov edx, dword [0x4fc5f8]
mov edx, dword [edx]
call fcn.004043e0
jmp 0x4b1e36
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor edx, edx
call fcn.004b1214
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.004049d8
lea eax, [ebp - 0x1c]
call fcn.004048a4
mov edx, eax
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004b1214
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.004049d8
push ebp
call fcn.004b1b38
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4b1d47
mov ebx, 0x2303
jmp 0x4b1f7e
xor eax, eax
push ebp
push 0x4b1e1d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4b1e0c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x1c]
call fcn.004048a4
mov edx, eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
call fcn.004afeec
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x14]
call fcn.004049d8
lea eax, [ebp - 0x20]
call fcn.004048a4
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x1c]
call fcn.004048a4
mov edx, eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
call fcn.004afeec
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x14]
call fcn.004049d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, 4
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x2c]
call fcn.004043e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, 8
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x30]
call fcn.004043e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, 0xc
mov edx, dword [ebp - 0x20]
call fcn.004043e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1e13
lea eax, [ebp - 0x18]
call fcn.0040dbe4
ret
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.004b13c4
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x14]
call fcn.004049d8
lea eax, [ebp - 0x20]
call fcn.004048a4
mov edx, eax
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004b13c4
lea eax, [ebp - 0x24]
mov edx, 0x4b1fc4
call fcn.00404424
jmp 0x4b1ec2
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor edx, edx
call fcn.004b1214
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x14]
call fcn.004049d8
lea eax, [ebp - 0x20]
call fcn.004048a4
mov edx, eax
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004b1214
lea eax, [ebp - 0x24]
mov edx, 0x4b1fe4
call fcn.00404424
cmp byte [ebp + 8], 0
je 0x4b1f50
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0
lea eax, [ebp - 0x20]
call fcn.004048a4
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.004a0c18
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.004049d8
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
call fcn.004048a4
push eax
lea eax, [ebp - 0x20]
call fcn.004048a4
mov edx, dword [ebp - 0x14]
pop ecx
call fcn.004a0c18
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jge 0x4b1f31
mov ebx, 0x2308
jmp 0x4b1f46
lea eax, [ebp - 0x1c]
call fcn.004048a4
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
call fcn.00402c84
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x4b1f7e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x14]
jge 0x4b1f61
mov ebx, 0x2308
jmp 0x4b1f76
lea eax, [ebp - 0x20]
call fcn.004048a4
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
call fcn.00402c84
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1fb1
lea eax, [ebp - 0x140]
mov edx, dword [0x45cac8]
call fcn.004057d8
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004043b0
ret