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

Disassembly:
push 0xffffffffffffffff
push 0x5b3a66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
xor edi, edi
cmp ebp, edi
mov dword [esp + 0x10], edi
je 0x4ecece
mov ebx, dword [esp + 0x78]
cmp ebx, 6
jle 0x4ecece
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
push str.UNABLE_TO_SELL
push ebp
call esi
add esp, 8
test eax, eax
jne 0x4eca5f
push str.TICKET
push ebp
call esi
add esp, 8
test eax, eax
je 0x4eca74
mov esi, dword [esp + 0x70]
push 0x62fc5c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
jmp 0x4ecede
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x74]
mov dword [esp + 0x68], 1
call sub.MFC42.DLL_CString::CString_1
xor esi, esi
mov byte [esp + 0x68], 2
test ebx, ebx
jle 0x4ecaf1
mov al, byte [esi + ebp]
cmp al, 0xd
je 0x4ecab2
cmp edi, 0x4f
je 0x4ecab2
push eax
lea ecx, [esp + 0x78]
call fcn.005928d0
inc edi
jmp 0x4ecaec
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x74]
cmp dword [eax - 8], 6
jl 0x4ecae1
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::Empty
xor edi, edi
inc esi
cmp esi, ebx
jl 0x4eca99
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x74]
cmp dword [eax - 8], 6
jl 0x4ecb20
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x78]
mov byte [esp + 0x68], 3
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x54]
mov ebx, 4
xor edi, edi
mov byte [esp + 0x68], bl
test eax, eax
jle 0x4ece17
lea eax, [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x54]
call fcn.0041ac50
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x74]
mov esi, dword [eax - 8]
cmp esi, 6
jl 0x4eccf2
cmp esi, 0x10
jge 0x4eccf2
mov cl, byte [eax]
mov byte [esp + 0x18], cl
mov edx, dword [esp + 0x18]
push edx
call fcn.004ecf20
add esp, 4
test al, al
je 0x4eccf2
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 1]
mov byte [esp + 0x1c], cl
mov edx, dword [esp + 0x1c]
push edx
call fcn.004ecf20
add esp, 4
test al, al
jne 0x4ecbe9
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 1]
mov byte [esp + 0x20], cl
mov edx, dword [esp + 0x20]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x4eccf2
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 2]
mov byte [esp + 0x24], cl
mov edx, dword [esp + 0x24]
push edx
call fcn.004ecf20
add esp, 4
test al, al
jne 0x4ecc25
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 2]
mov byte [esp + 0x28], cl
mov edx, dword [esp + 0x28]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x4eccf2
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 3]
mov byte [esp + 0x2c], cl
mov edx, dword [esp + 0x2c]
push edx
call fcn.004ecf20
add esp, 4
test al, al
jne 0x4ecc61
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 3]
mov byte [esp + 0x30], cl
mov edx, dword [esp + 0x30]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x4eccf2
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 4]
mov byte [esp + 0x34], cl
mov edx, dword [esp + 0x34]
push edx
call fcn.004ecf20
add esp, 4
test al, al
jne 0x4ecc99
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 4]
mov byte [esp + 0x38], cl
mov edx, dword [esp + 0x38]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x4eccf2
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 5]
mov byte [esp + 0x3c], cl
mov edx, dword [esp + 0x3c]
push edx
call fcn.004ecf20
add esp, 4
test al, al
jne 0x4eccd1
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 5]
mov byte [esp + 0x40], cl
mov edx, dword [esp + 0x40]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x4eccf2
cmp esi, 6
je 0x4ecd45
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 6]
mov byte [esp + 0x44], cl
mov edx, dword [esp + 0x44]
push edx
call fcn.004ecfa0
add esp, 4
test al, al
jne 0x4ecd58
push str.__EOT_SUCCESSFUL
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 6
jge 0x4ecd84
push 0x61ffe4
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 6
jge 0x4ecdb4
push str._SPLIT_FR
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 6
jge 0x4ecde4
mov eax, dword [esp + 0x54]
inc edi
cmp edi, eax
jl 0x4ecb4e
jmp 0x4ece17
lea eax, [esp + 0x74]
lea ecx, [esp + 0x78]
push eax
call sub.MFC42.DLL_CString::operator_1
jmp 0x4ece17
lea ecx, [esp + 0x44]
push 6
push ecx
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x6c], 6
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x44]
jmp 0x4ece12
add eax, 0xfffffffa
push 6
lea edx, [esp + 0x48]
push eax
push edx
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x6c], 7
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x44]
jmp 0x4ece12
add eax, 0xfffffffa
push 6
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x6c], 8
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x44]
jmp 0x4ece12
add eax, 0xfffffffa
push 6
lea ecx, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x6c], 9
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x78]
cmp dword [eax - 8], 6
jne 0x4ece4c
push str.FORMAT
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4ece4c
lea eax, [esp + 0x78]
jmp 0x4ece67
push 0x62fc5c
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x10], 2
mov byte [esp + 0x68], 0xa
mov esi, dword [esp + 0x70]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x10]
mov dword [esp + 0x68], ebx
or al, 1
test al, 2
mov dword [esp + 0x10], eax
je 0x4ece94
and al, 0xfd
lea ecx, [esp + 0x44]
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov byte [esp + 0x68], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0
call fcn.00592bb2
jmp 0x4ecede
mov esi, dword [esp + 0x70]
push 0x62fc5c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x60]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret