Function at 0x582c70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push str.DISCOUNT_PASSENGER_TYPE_UNKNOWN
mov ebp, ecx
push esi
call edi
add esp, 8
test eax, eax
je 0x582caf
push str.DISCOUNT_PASSENGER_TYPE_UNKNOWN
call fcn.004eb640
add esp, 4
mov dword [ebp + 0x28], eax
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
push str.RETRANSMIT
push esi
call edi
add esp, 8
test eax, eax
je 0x582cdb
push 0x6313c8
call fcn.004eb640
add esp, 4
mov dword [ebp + 0x28], eax
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
push str.NO_FARES
push esi
call edi
add esp, 8
test eax, eax
je 0x582d07
push str.NO_FARES
call fcn.004eb640
add esp, 4
mov dword [ebp + 0x28], eax
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
mov al, 0x4a
mov byte [esp + 0x10], 0xe
mov byte [esp + 0x13], al
mov byte [esp + 0x14], al
lea eax, [esp + 0x10]
mov byte [esp + 0x11], 0x4e
push eax
push esi
mov byte [esp + 0x1a], 0x5e
mov byte [esp + 0x1d], 0x53
mov byte [esp + 0x1e], 0x43
mov byte [esp + 0x1f], 0x35
mov byte [esp + 0x20], 0x44
mov byte [esp + 0x21], 0x54
mov byte [esp + 0x22], 0x4b
mov byte [esp + 0x23], 0x3c
mov byte [esp + 0x24], 0x5b
mov byte [esp + 0x25], 0
call edi
add esp, 8
test eax, eax
jne 0x582cea
mov ebx, dword [ebp + 0x4070]
test ebx, ebx
jne 0x582d7a
push esi
call fcn.004eb640
add esp, 4
mov dword [ebp + 0x4070], eax
jmp 0x582dfb
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + edx + 0xa]
push eax
call sub.MFC42.DLL_operatornew
mov edx, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x4070], edx
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [ebp + 0x4070]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov ecx, dword [esp + 0x28]
xor bl, bl
xor eax, eax
add ecx, esi
mov dl, 0x20
cmp byte [ecx + eax - 0xb], dl
jne 0x582e14
cmp byte [ecx + eax - 0xa], 0x2b
je 0x582e1c
inc eax
cmp eax, 0xa
jl 0x582e07
jmp 0x582e1e
mov bl, 1
push 0x62bdfc
push esi
call edi
mov edx, eax
add esp, 8
test edx, edx
jne 0x582e71
test bl, bl
jne 0x582ea6
mov edx, dword [ebp + 0x4070]
push 0x62ed1c
push edx
call edi
add esp, 8
test eax, eax
jne 0x582f3f
mov eax, dword [ebp + 0x4070]
push str.EQUIV__CNY
push eax
call edi
add esp, 8
test eax, eax
jne 0x582f3f
mov ecx, dword [ebp + 0x4070]
push ecx
jmp 0x582cef
mov edi, 0x62bdfc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
mov al, byte [edx]
mov cl, byte [edx + 2]
cmp al, cl
jge 0x582ec1
push 0
mov ecx, ebp
call fcn.00582770
neg al
sbb eax, eax
pop edi
and eax, 2
pop esi
pop ebp
dec eax
pop ebx
add esp, 0x10
ret 8
push 1
mov ecx, ebp
call fcn.00582770
neg al
sbb eax, eax
pop edi
and eax, 2
pop esi
pop ebp
dec eax
pop ebx
add esp, 0x10
ret 8
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x62ed1c
push esi
call edi
add esp, 8
test eax, eax
jne 0x582f3f
push str.EQUIV__CNY
push esi
call edi
add esp, 8
test eax, eax
jne 0x582f3f
mov al, byte [ebp + 0x405d]
test al, al
jne 0x582f39
mov ecx, ebp
call fcn.00582070
mov ecx, dword [ebp + 0x4070]
mov dword [ebp + 0x4060], eax
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebp + 0x4060]
add esp, 4
test eax, eax
mov dword [ebp + 0x4070], 0
jle 0x582f39
push eax
mov ecx, ebp
call fcn.00582f60
neg al
sbb eax, eax
pop edi
and eax, 2
pop esi
pop ebp
dec eax
pop ebx
add esp, 0x10
ret 8
push esi
jmp 0x582cef
mov ecx, ebp
call fcn.00583130
neg al
sbb eax, eax
pop edi
neg eax
pop esi
pop ebp
dec eax
pop ebx
add esp, 0x10
ret 8