Function at 0x48c310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x549a79
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push edi
mov edi, dword [esp + 0x30]
mov ebp, ecx
test edi, edi
mov dword [esp + 0xc], ebp
jne 0x48c34d
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
push ebx
push esi
push edi
mov dword [esp + 0x14], 1
call dword [edi + 0x50]
mov esi, dword [esp + 0x44]
add eax, 0xfffffffc
add esp, 4
cmp eax, 0x4b
ja case.0x48c376.8
xor ecx, ecx
mov cl, byte [eax + 0x48c560]
jmp dword [ecx*4 + 0x48c54c]
mov dword [esp + 0x10], 0
push edi
call dword [edi + 0x14]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48c399
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x48c3af
push 0
push edi
call dword [edi + 0x38]
add esp, 8
test eax, eax
je 0x48c3af
push eax
call dword [eax + 0x14]
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x48c4e0
mov ebx, dword [ebx + 0x24]
test ebx, ebx
je 0x48c4e0
mov al, byte [ebx]
cmp al, 0xa
je 0x48c3d8
cmp al, 0x3a
je 0x48c3d8
test al, al
je 0x48c3d8
mov al, byte [ebx - 1]
dec ebx
cmp al, 0xa
jne 0x48c3c8
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_4
xor eax, eax
inc ebx
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
call dword [edi + 0x58]
add esp, 4
lea edx, [esp + 0x24]
push eax
push str.QMVBSRoutine.VBSRoutine__d_:
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esi + 0x10]
mov ebp, dword [esi + 8]
add esp, 0xc
test eax, eax
jne 0x48c441
mov eax, dword [esi + 0x18]
push 0x14
lea ecx, [esi + 0x14]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x10]
jl 0x48c441
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x14
dec ecx
jne 0x48c433
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx]
mov dword [esi + 0x10], eax
mov dword [ebx + 4], ebp
mov dword [ebx], 0
mov eax, dword [esi + 0xc]
lea ebp, [ebx + 8]
inc eax
mov edx, ebp
xor ecx, ecx
mov dword [esi + 0xc], eax
mov dword [esp + 0x40], ebp
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [esp + 0x38], ecx
mov dword [edx + 8], ecx
mov dword [esp + 0x18], ebp
test ebp, ebp
mov byte [esp + 0x30], 1
je 0x48c484
mov ecx, ebp
call fcn.0048c2f0
mov eax, dword [esp + 0x38]
add ebp, 0xc
mov ecx, eax
dec eax
test ecx, ecx
mov byte [esp + 0x30], 0
mov dword [esp + 0x40], ebp
mov dword [esp + 0x38], eax
jne 0x48c470
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
mov dword [ebx + 8], edx
mov eax, dword [esp + 0x20]
push ecx
lea ecx, [ebx + 0x10]
mov dword [ebx + 0xc], eax
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esi + 8]
test eax, eax
je 0x48c4c5
mov dword [eax], ebx
jmp 0x48c4c8
mov dword [esi + 4], ebx
lea ecx, [esp + 0x24]
mov dword [esi + 8], ebx
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x48c376.7
push edi
xor ebx, ebx
call dword [edi + 0x44]
add esp, 4
test eax, eax
jbe case.0x48c376.7
push esi
push edi
push ebx
push edi
call dword [edi + 0x38]
add esp, 8
mov ecx, ebp
push eax
call fcn.0048c310
push edi
inc ebx
call dword [edi + 0x44]
add esp, 4
cmp ebx, eax
jb 0x48c4f5
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
push edi
call dword [edi + 0x50]
add esp, 4
push eax
push 0x763
push 8
push edi
call dword [edi + 0x58]
add esp, 4
mov ecx, ebp
push eax
call fcn.004838f0
jmp case.0x48c376.7