Function at 0x4a7b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x50ec7c
push eax
mov eax, 0x28a4
mov dword fs:[0], esp
call fcn.004c8da0
push ebx
push ebp
push esi
xor ebp, ebp
xor esi, esi
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], 0x5165a4
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0x28cc]
xor edi, edi
mov dword [esp + 0x28bc], ebp
mov dword [esp + 0x38], edi
cmp dword [eax + 0x4c], ebp
jle 0x4a7da4
mov edx, dword [eax + 0x4c]
cmp edi, edx
jb 0x4a7bbb
xor ecx, ecx
jmp 0x4a7c04
mov ebx, dword [eax + 0x44]
cmp ebx, ebp
je 0x4a7bd7
mov ecx, dword [eax + 0x48]
inc ecx
cmp ecx, edi
jne 0x4a7bd7
mov edx, dword [ebx + 8]
mov dword [eax + 0x48], ecx
mov dword [eax + 0x44], edx
mov ecx, edx
jmp 0x4a7c04
mov ecx, edx
shr ecx, 1
cmp edi, ecx
jae 0x4a7bf0
mov ecx, dword [eax + 0x3c]
cmp edi, ebp
jbe 0x4a7bfe
mov edx, edi
mov ecx, dword [ecx + 8]
dec edx
jne 0x4a7be8
jmp 0x4a7bfe
mov ecx, dword [eax + 0x40]
sub edx, edi
dec edx
je 0x4a7bfe
mov ecx, dword [ecx + 4]
dec edx
jne 0x4a7bf8
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], edi
mov ebx, dword [ecx]
cmp ebx, ebp
je 0x4a7d74
mov ecx, dword [ebx + 0x14]
xor edx, edx
test ecx, ecx
mov dword [esp + 0x14], edx
jle 0x4a7d5d
jmp 0x4a7c25
mov edx, dword [esp + 0x14]
cmp edx, ecx
jb 0x4a7c2d
xor eax, eax
jmp 0x4a7c76
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x4a7c49
mov eax, dword [ebx + 0x10]
inc eax
cmp eax, edx
jne 0x4a7c49
mov edx, dword [edi + 8]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], edx
mov eax, edx
jmp 0x4a7c76
mov eax, ecx
shr eax, 1
cmp edx, eax
jae 0x4a7c62
mov eax, dword [ebx + 4]
test edx, edx
jbe 0x4a7c70
mov ecx, edx
mov eax, dword [eax + 8]
dec ecx
jne 0x4a7c5a
jmp 0x4a7c70
mov eax, dword [ebx + 8]
sub ecx, edx
dec ecx
je 0x4a7c70
mov eax, dword [eax + 4]
dec ecx
jne 0x4a7c6a
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], edx
mov ebp, dword [eax]
test ebp, ebp
je 0x4a7d70
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x4a7d3a
mov ecx, dword [esp + 0x18]
xor eax, eax
mov edx, dword [ecx + 0x4c]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + edx*4]
mov edx, dword [ecx + 0x40]
test edx, edx
jle 0x4a7cc6
mov di, word [ebp]
mov ecx, dword [ecx + 0x3c]
mov esi, dword [ecx]
cmp si, di
mov dword [esp + 0x34], esi
jne 0x4a7cbe
mov si, word [esp + 0x36]
cmp si, word [ebp + 2]
je 0x4a7cc6
inc eax
add ecx, 4
cmp eax, edx
jl 0x4a7ca8
cmp eax, edx
jl 0x4a7d3a
mov esi, dword [ebp + 8]
test esi, esi
je 0x4a7d3a
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4a7d3a
cmp ecx, 0x2800
jae 0x4a7d3a
mov edx, ecx
lea edi, [esp + 0xb4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x541558
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + eax + 0xbc], 0
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x4a7d3a
xor eax, eax
xor edx, edx
mov ax, word [ebp]
mov dx, word [ebp + 2]
shl eax, 0x10
or eax, edx
lea ecx, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.0043cd40
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4a7c21
mov eax, dword [esp + 0x28cc]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov ecx, dword [eax + 0x4c]
inc edi
cmp edi, ecx
mov dword [esp + 0x38], edi
jge 0x4a7d9c
xor ebp, ebp
jmp 0x4a7bb0
mov esi, dword [esp + 0x40]
mov dword [esp + 0x3c], 0x5165a4
test esi, esi
mov dword [esp + 0x28bc], 1
je 0x4a7d94
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
or eax, 0xffffffff
jmp 0x4a830f
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4a7dcf
mov dword [esp + 0x3c], 0x5165a4
test esi, esi
mov dword [esp + 0x28bc], 2
je 0x4a7f76
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
jmp 0x4a830f
xor ebp, ebp
mov ebx, 0x5165a4
mov dword [esp + 0x14], ebp
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], ebp
mov esi, 0x515c40
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], esi
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
lea ecx, [esp + 0x20]
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x90]
push edx
lea ecx, [esp + 0xa8]
push eax
mov eax, dword [esp + 0x28e0]
lea edx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x28e0]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x28d8], 6
call fcn.004a7910
cmp dword [esp + 0x58], ebp
jne 0x4a7f7d
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x28bc], 7
cmp eax, ebp
je 0x4a7ec3
mov edx, dword [esp + 0x28]
push edx
push eax
call sub.MFC42.DLL_DestructElements
mov eax, dword [esp + 0x24]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edi, 0x514bb8
mov dword [esp + 0x50], ebx
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x54]
mov byte [esp + 0x28bc], 8
cmp eax, ebp
je 0x4a7ee9
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x8c], esi
mov eax, dword [esp + 0x90]
mov byte [esp + 0x28bc], 9
cmp eax, ebp
je 0x4a7f25
mov ecx, dword [esp + 0x94]
push ecx
push eax
call sub.MFC42.DLL_DestructElements
mov edx, dword [esp + 0x90]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x8c], edi
mov dword [esp + 0xa0], ebx
mov eax, dword [esp + 0xa4]
mov byte [esp + 0x28bc], 0xa
cmp eax, ebp
je 0x4a7f4f
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0xa0], edi
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28bc], 0xb
cmp eax, ebp
je 0x4a7f76
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
jmp 0x4a830f
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28bc], 0xc
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x28]
mov byte [esp + 0x28bc], 0xd
cmp eax, ebp
jle 0x4a8048
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov eax, dword [esp + 0x24]
lea ecx, [eax + ebp*4]
push ecx
lea ecx, [esp + 0x14]
call fcn.004c830a
mov edi, 0x541558
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x541558
push eax
call esi
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4a802f
push 0x541558
lea ecx, [esp + 0x14]
call fcn.004c8322
mov eax, dword [esp + 0x24]
lea ecx, [eax + ebp*4]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
lea ecx, [eax + ebp*4]
call fcn.004c830a
mov eax, dword [esp + 0x28]
inc ebp
cmp ebp, eax
jl 0x4a7fb1
mov ebx, 0x5165a4
xor ebp, ebp
mov esi, 0x515c40
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebp
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x28bc], 0xf
push ecx
lea ecx, [esp + 0x14]
call fcn.004c830a
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push ebp
push eax
xor ebx, ebx
call fcn.004a79d0
test eax, eax
je 0x4a81fc
mov ebp, dword [esp + 0x28c4]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xa8]
mov edi, eax
add eax, ecx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x80]
call fcn.0045bf60
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0xa4]
lea eax, [edx + edi*4]
mov edx, dword [esp + 0xa8]
test edx, edx
je 0x4a80fb
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x4a80ee
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x94]
mov esi, eax
add eax, ecx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x6c]
call fcn.00416000
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x90]
push edx
lea edx, [ecx + esi*4]
push eax
push edx
call sub.MFC42.DLL_CopyElements
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x4a8195
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x80]
mov eax, dword [eax + esi*4]
push eax
push ecx
lea ecx, [esp + 0x80]
call fcn.0043cd40
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push ebx
lea ecx, [eax + esi*4]
push ecx
mov ecx, edi
call fcn.004a79d0
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x68]
call fcn.00415d90
mov eax, dword [esp + 0x58]
inc esi
cmp esi, eax
jl 0x4a8141
mov edx, dword [esp + 0x28c8]
lea eax, [esp + 0x64]
lea ecx, [esp + 0x78]
push eax
push ecx
push edx
mov ecx, edi
call fcn.004a8330
test eax, eax
je 0x4a81e1
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 4]
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
inc eax
push 0
lea ecx, [esp + 0x80]
mov dword [esp + 0x1c], eax
call fcn.0045bf60
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x6c]
call fcn.00416000
lea eax, [esp + 0x1c]
inc ebx
push eax
lea ecx, [esp + 0x14]
push ebx
push ecx
mov ecx, edi
call fcn.004a79d0
test eax, eax
jne 0x4a80b4
mov ebx, 0x515c40
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x68]
mov byte [esp + 0x28bc], 0x10
test eax, eax
je 0x4a822d
mov edx, dword [esp + 0x6c]
push edx
push eax
call sub.MFC42.DLL_DestructElements
mov eax, dword [esp + 0x68]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edi, 0x514bb8
mov esi, 0x5165a4
mov dword [esp + 0x64], edi
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x28bc], 0x11
test eax, eax
je 0x4a8258
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], edi
mov byte [esp + 0x28bc], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28bc], 6
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x24]
mov byte [esp + 0x28bc], 0x12
test eax, eax
je 0x4a82aa
mov ecx, dword [esp + 0x28]
push ecx
push eax
call sub.MFC42.DLL_DestructElements
mov edx, dword [esp + 0x24]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x54]
mov byte [esp + 0x28bc], 0x13
test eax, eax
je 0x4a82cb
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x50], edi
mov byte [esp + 0x28bc], 3
call fcn.00415e00
lea ecx, [esp + 0xa0]
mov byte [esp + 0x28bc], 0
call fcn.00427a60
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28bc], 0xffffffff
call fcn.00427a60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28b4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28b0
ret 0x14