Function at 0x4977e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bd907
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov dword [esp + 0x1c], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x49782e
mov esi, dword [esp + 0x30]
push 0x4e59d8
mov ecx, esi
call fcn.004ac728
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
push ebx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x18]
mov ebx, 1
mov eax, ecx
mov dword [esp + 0x30], ebx
and eax, 0xf00
cmp eax, 0x100
je 0x4978ca
cmp eax, 0x200
jne 0x497a0e
lea eax, [esi + 0x14]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 0x10]
test eax, eax
je 0x497880
push 0x4df1d8
lea ecx, [esp + 0x10]
call fcn.004ac79a
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
cmp edi, eax
je 0x497a0e
lea ecx, [edi + 8]
push 0x4df1d8
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov edi, dword [edi]
mov eax, dword [esi + 0xc]
cmp edi, eax
jne 0x49788d
jmp 0x497a0e
mov eax, ecx
and eax, 0xf
dec eax
je 0x497982
sub eax, 7
je 0x497938
test cl, 4
jne 0x4978ee
push 0x4df984
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
cmp edi, eax
je 0x497a0e
lea eax, [edi + 8]
push 0x4df984
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov edi, dword [edi]
mov eax, dword [esi + 0xc]
cmp edi, eax
jne 0x4978fb
jmp 0x497a0e
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
cmp edi, eax
je 0x497a0e
lea edx, [edi + 8]
push 0x4e16d8
lea eax, [esp + 0x1c]
push edx
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov edi, dword [edi]
mov eax, dword [esi + 0xc]
cmp edi, eax
jne 0x497945
jmp 0x497a0e
lea ecx, [esi + 0x14]
push 0x4e51cc
lea edx, [esp + 0x20]
push ecx
push edx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
cmp edi, eax
je 0x4979f2
lea eax, [edi + 8]
push 0x4e16d8
lea ecx, [esp + 0x24]
push eax
push ecx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov edi, dword [edi]
mov eax, dword [esi + 0xc]
cmp edi, eax
jne 0x4979ba
push 0x4e16d8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
push 0x4e51c4
lea ecx, [esp + 0x10]
call fcn.004ac79a
mov esi, dword [esp + 0x38]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4