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

Disassembly:
push 0xffffffffffffffff
push 0x5b3e46
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 0x4ed10e
mov ebx, dword [esp + 0x78]
cmp ebx, 6
jle 0x4ed10e
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
push str.UNABLE_TO_SELL
push ebp
call esi
add esp, 8
test eax, eax
jne 0x4ecc9f
push str.TICKET
push ebp
call esi
add esp, 8
test eax, eax
je 0x4eccb4
mov esi, dword [esp + 0x70]
push 0x62fcec
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
jmp 0x4ed11e
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 0x4ecd31
mov al, byte [esi + ebp]
cmp al, 0xd
je 0x4eccf2
cmp edi, 0x4f
je 0x4eccf2
push eax
lea ecx, [esp + 0x78]
call fcn.00592cb0
inc edi
jmp 0x4ecd2c
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 0x4ecd21
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 0x4eccd9
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 0x4ecd60
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 0x4ed057
lea eax, [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x54]
call fcn.0041abd0
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 0x4ecf32
cmp esi, 0x10
jge 0x4ecf32
mov cl, byte [eax]
mov byte [esp + 0x18], cl
mov edx, dword [esp + 0x18]
push edx
call fcn.004ed160
add esp, 4
test al, al
je 0x4ecf32
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 1]
mov byte [esp + 0x1c], cl
mov edx, dword [esp + 0x1c]
push edx
call fcn.004ed160
add esp, 4
test al, al
jne 0x4ece29
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 1]
mov byte [esp + 0x20], cl
mov edx, dword [esp + 0x20]
push edx
call fcn.004ed140
add esp, 4
test al, al
je 0x4ecf32
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 2]
mov byte [esp + 0x24], cl
mov edx, dword [esp + 0x24]
push edx
call fcn.004ed160
add esp, 4
test al, al
jne 0x4ece65
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 2]
mov byte [esp + 0x28], cl
mov edx, dword [esp + 0x28]
push edx
call fcn.004ed140
add esp, 4
test al, al
je 0x4ecf32
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 3]
mov byte [esp + 0x2c], cl
mov edx, dword [esp + 0x2c]
push edx
call fcn.004ed160
add esp, 4
test al, al
jne 0x4ecea1
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 3]
mov byte [esp + 0x30], cl
mov edx, dword [esp + 0x30]
push edx
call fcn.004ed140
add esp, 4
test al, al
je 0x4ecf32
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 4]
mov byte [esp + 0x34], cl
mov edx, dword [esp + 0x34]
push edx
call fcn.004ed160
add esp, 4
test al, al
jne 0x4eced9
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 4]
mov byte [esp + 0x38], cl
mov edx, dword [esp + 0x38]
push edx
call fcn.004ed140
add esp, 4
test al, al
je 0x4ecf32
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 5]
mov byte [esp + 0x3c], cl
mov edx, dword [esp + 0x3c]
push edx
call fcn.004ed160
add esp, 4
test al, al
jne 0x4ecf11
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 5]
mov byte [esp + 0x40], cl
mov edx, dword [esp + 0x40]
push edx
call fcn.004ed140
add esp, 4
test al, al
je 0x4ecf32
cmp esi, 6
je 0x4ecf85
mov eax, dword [esp + 0x74]
mov cl, byte [eax + 6]
mov byte [esp + 0x44], cl
mov edx, dword [esp + 0x44]
push edx
call fcn.004ed1e0
add esp, 4
test al, al
jne 0x4ecf98
push str.__EOT_SUCCESSFUL
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 6
jge 0x4ecfc4
push 0x61fff4
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 6
jge 0x4ecff4
push str._SPLIT_FR
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 6
jge 0x4ed024
mov eax, dword [esp + 0x54]
inc edi
cmp edi, eax
jl 0x4ecd8e
jmp 0x4ed057
lea eax, [esp + 0x74]
lea ecx, [esp + 0x78]
push eax
call sub.MFC42.DLL_CString::operator_1
jmp 0x4ed057
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 0x4ed052
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 0x4ed052
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 0x4ed052
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 0x4ed08c
push str.FORMAT
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4ed08c
lea eax, [esp + 0x78]
jmp 0x4ed0a7
push 0x62fcec
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 0x4ed0d4
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.00592f92
jmp 0x4ed11e
mov esi, dword [esp + 0x70]
push 0x62fcec
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