Function at 0x4a06b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5af789
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 0x4a06ed
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, 0x50
ja case.0x4a0716.8
xor ecx, ecx
mov cl, byte [eax + 0x4a0900]
jmp dword [ecx*4 + 0x4a08ec]
mov dword [esp + 0x10], 0
push edi
call dword [edi + 0x14]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a0739
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x4a074f
push 0
push edi
call dword [edi + 0x38]
add esp, 8
test eax, eax
je 0x4a074f
push eax
call dword [eax + 0x14]
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x4a0880
mov ebx, dword [ebx + 0x24]
test ebx, ebx
je 0x4a0880
mov al, byte [ebx]
cmp al, 0xa
je 0x4a0778
cmp al, 0x3a
je 0x4a0778
test al, al
je 0x4a0778
mov al, byte [ebx - 1]
dec ebx
cmp al, 0xa
jne 0x4a0768
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_3
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 0x4a07e1
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 0x4a07e1
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x14
dec ecx
jne 0x4a07d3
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 0x4a0824
mov ecx, ebp
call fcn.004a0690
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 0x4a0810
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 0x4a0865
mov dword [eax], ebx
jmp 0x4a0868
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.0x4a0716.7
push edi
xor ebx, ebx
call dword [edi + 0x44]
add esp, 4
test eax, eax
jbe case.0x4a0716.7
push esi
push edi
push ebx
push edi
call dword [edi + 0x38]
add esp, 8
mov ecx, ebp
push eax
call fcn.004a06b0
push edi
inc ebx
call dword [edi + 0x44]
add esp, 4
cmp ebx, eax
jb 0x4a0895
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 0x8e1
push 8
push edi
call dword [edi + 0x58]
add esp, 4
mov ecx, ebp
push eax
call fcn.00494f90
jmp case.0x4a0716.7