Function at 0x582f20
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 0x582f5f
push str.DISCOUNT_PASSENGER_TYPE_UNKNOWN
call fcn.004eb620
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 0x582f8b
push 0x6313d8
call fcn.004eb620
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 0x582fb7
push str.NO_FARES
call fcn.004eb620
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 0x582f9a
mov ebx, dword [ebp + 0x4070]
test ebx, ebx
jne 0x58302a
push esi
call fcn.004eb620
add esp, 4
mov dword [ebp + 0x4070], eax
jmp 0x5830ab
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 0x5830c4
cmp byte [ecx + eax - 0xa], 0x2b
je 0x5830cc
inc eax
cmp eax, 0xa
jl 0x5830b7
jmp 0x5830ce
mov bl, 1
push 0x62be0c
push esi
call edi
mov edx, eax
add esp, 8
test edx, edx
jne 0x583121
test bl, bl
jne 0x583156
mov edx, dword [ebp + 0x4070]
push 0x62ed2c
push edx
call edi
add esp, 8
test eax, eax
jne 0x5831ef
mov eax, dword [ebp + 0x4070]
push str.EQUIV__CNY
push eax
call edi
add esp, 8
test eax, eax
jne 0x5831ef
mov ecx, dword [ebp + 0x4070]
push ecx
jmp 0x582f9f
mov edi, 0x62be0c
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 0x583171
push 0
mov ecx, ebp
call fcn.00582a20
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.00582a20
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 0x62ed2c
push esi
call edi
add esp, 8
test eax, eax
jne 0x5831ef
push str.EQUIV__CNY
push esi
call edi
add esp, 8
test eax, eax
jne 0x5831ef
mov al, byte [ebp + 0x405d]
test al, al
jne 0x5831e9
mov ecx, ebp
call fcn.00582320
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 0x5831e9
push eax
mov ecx, ebp
call fcn.00583210
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 0x582f9f
mov ecx, ebp
call fcn.005833e0
neg al
sbb eax, eax
pop edi
neg eax
pop esi
pop ebp
dec eax
pop ebx
add esp, 0x10
ret 8