Function at 0x466c10
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x5af297
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_1
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push str.ticket_no
push edi
mov dword [esp + 0x34], ebx
call fcn.004666d0
add esp, 0xc
cmp eax, ebx
je 0x466fe4
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x10]
push edx
push str.ACCESS_TKT
push edi
call fcn.004edbb0
add esp, 0xc
cmp eax, ebx
je 0x466fe4
mov eax, dword [esp + 0x10]
mov dl, byte [eax]
cmp dl, 0x31
lea edx, [esp + 0x10]
push edx
push str.NAME
sete cl
push edi
mov byte [ebp + 0x2c], cl
call fcn.004edbb0
add esp, 0xc
cmp eax, ebx
je 0x466fe4
lea eax, [esp + 0x10]
lea ecx, [ebp + 4]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
push ecx
push str.EXCH
push edi
call fcn.004edbb0
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea esi, [ebp + 0xc]
cmp dword [edx - 8], ebx
je 0x466ce4
push str.EXCH
jmp 0x466ce9
push str.TKTT
mov ecx, esi
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x10]
push eax
push 0x61a3c4
push edi
call fcn.004edbb0
add esp, 0xc
cmp eax, ebx
je 0x466fe4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x10]
push edx
push str.OFFICECODE
push edi
call fcn.004edbb0
add esp, 0xc
cmp eax, ebx
je 0x466fe4
lea eax, [esp + 0x10]
lea ecx, [ebp + 0x24]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
push ecx
push str.CATACODE
push edi
call fcn.004edbb0
add esp, 0xc
cmp eax, ebx
je 0x466fe4
lea edx, [esp + 0x10]
lea ecx, [ebp + 0x28]
push edx
call sub.MFC42.DLL_CString::operator_1
cmp byte [ebp + 0x2c], bl
jne 0x466df2
mov esi, dword [esi]
push str.TKTT
push esi
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
mov eax, 0x61a3a8
je 0x466d90
mov eax, str.CNY_TOTAL
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
call fcn.004eddf0
add esp, 0xc
cmp eax, ebx
je 0x466fe4
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
push str.TCNYCN
push edi
mov dword [ebp + 0x30], edx
call fcn.004eddf0
add esp, 0xc
cmp eax, ebx
je 0x466fe4
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
push str.TCNYYQ
push edi
mov dword [ebp + 0x38], ecx
call fcn.004eddf0
add esp, 0xc
cmp eax, ebx
je 0x466fe4
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x34], eax
lea ecx, [esp + 0x10]
push ecx
push str.CITYSTART_code
push edi
call fcn.004666d0
add esp, 0xc
cmp eax, ebx
je 0x466fd4
mov edx, dword [ebp + 0x10]
lea esi, [ebp + 0x10]
cmp dword [edx - 8], ebx
je 0x466e21
push 0x2f
mov ecx, esi
call fcn.0059b7b2
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0059ba4c
lea ecx, [esp + 0x10]
push ecx
push str.CITYARRIVE_code
push edi
call fcn.004666d0
add esp, 0xc
cmp eax, ebx
je 0x466fdc
push 0x2d
mov ecx, esi
call fcn.0059b7b2
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.0059ba4c
lea eax, [esp + 0x10]
push eax
push str.CARRIER
push edi
call fcn.004edbb0
add esp, 0xc
cmp eax, ebx
je 0x467006
mov ecx, dword [ebp + 0x14]
lea esi, [ebp + 0x14]
cmp dword [ecx - 8], ebx
je 0x466e8f
push 0x619e98
mov ecx, esi
call fcn.0059b7ac
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.0059ba4c
lea eax, [esp + 0x10]
push eax
push str.FLIGHT
push edi
call fcn.004edbb0
add esp, 0xc
cmp eax, ebx
je 0x467006
mov ecx, dword [ebp + 0x18]
lea esi, [ebp + 0x18]
cmp dword [ecx - 8], ebx
je 0x466ecd
push 0x619e98
mov ecx, esi
call fcn.0059b7ac
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.0059ba4c
lea eax, [esp + 0x10]
push eax
push str.CLASS
push edi
call fcn.004edbb0
add esp, 0xc
cmp eax, ebx
je 0x467006
mov ecx, dword [ebp + 0x1c]
lea esi, [ebp + 0x1c]
cmp dword [ecx - 8], ebx
je 0x466f0b
push 0x619e98
mov ecx, esi
call fcn.0059b7ac
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.0059ba4c
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x10]
mov byte [esp + 0x28], 1
push eax
push str.DATE
push edi
call fcn.004edbb0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x466ff9
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 5
jle 0x466f65
add eax, 5
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::CString_3
or dword [esp + 0x18], 1
mov byte [esp + 0x28], 2
jmp 0x466f69
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::operator_1
mov al, byte [esp + 0x18]
mov dword [esp + 0x28], 1
test al, 1
je 0x466f96
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
and al, 0xfe
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [ebp + 0x20]
lea esi, [ebp + 0x20]
cmp dword [ecx - 8], ebx
je 0x466fb6
push 0x619e98
mov ecx, esi
call fcn.0059b7ac
lea edx, [esp + 0x30]
mov ecx, esi
push edx
call fcn.0059ba4c
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
jmp 0x466df2
mov eax, dword [ebp + 0x10]
cmp dword [eax - 8], ebx
jmp 0x466fe2
mov ecx, dword [ebp + 0x10]
cmp dword [ecx - 8], ebx
jne 0x46701b
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x46702e
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x46702e
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4