Function at 0x49ea6a
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
and dword [ebp - 0x18], 0
push ebx
push esi
mov eax, dword [eax]
push edi
mov edi, edx
mov dword [ebp - 0x24], ecx
mov ecx, edi
mov dword [ebp - 0x10], eax
call fcn.0045603a
mov ecx, dword [ebp - 0x10]
mov ebx, eax
test cl, 0x40
jne 0x49eaa2
cmp dword [0x5f6524], 0
je 0x49ee49
cmp ebx, 5
jl 0x49ee49
cmp dword [edi], 0x656c6966
jne 0x49ee49
cmp byte [edi + 4], 0x3a
jne 0x49ee49
and dword [ebp - 0xc], 0
lea edx, [ebx + 2]
or ecx, 0x40
mov dword [ebp - 0x10], ecx
xor ecx, ecx
test ebx, ebx
jle 0x49eae4
xor eax, eax
cmp byte [ecx + edi], 0x26
sete al
add edx, eax
inc ecx
cmp ecx, ebx
jl 0x49ead4
push edx
call fcn.00454017
pop ecx
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x49eafc
push 7
pop eax
jmp 0x49ee25
cmp byte [edi + 5], 0x2f
push 5
pop esi
push 7
pop edx
jne 0x49eb5f
cmp byte [edi + 6], 0x2f
jne 0x49eb5f
lea ebx, [edi + 7]
mov esi, edx
mov al, byte [ebx]
test al, al
je 0x49eb5f
cmp al, 0x2f
je 0x49eb25
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x49eb19
cmp esi, edx
je 0x49eb5f
cmp esi, 0x10
jne 0x49eb42
push 9
push ebx
push str.localhost
call fcn.0055728f
add esp, 0xc
test eax, eax
je 0x49eb5c
push ebx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.0045572a
mov esi, dword [ebp - 8]
add esp, 0xc
jmp 0x49ee00
mov ecx, dword [ebp - 8]
mov bl, byte [esi + edi]
xor edx, edx
mov dword [ebp - 0x14], edx
test bl, bl
je 0x49ecaa
cmp bl, 0x23
je 0x49ec26
inc esi
cmp bl, 0x25
jne 0x49ec35
mov al, byte [esi + edi]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x5c9db0], 8
je 0x49ec35
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x5c9db0], 8
je 0x49ec35
movsx ecx, byte [ebp - 1]
movsx edx, byte [esi + edi + 1]
mov eax, ecx
sar eax, 6
add esi, 2
and al, 1
push 7
pop ebx
imul bl
mov bl, cl
sub bl, al
mov eax, edx
sar eax, 6
and ebx, 0xf
push 7
pop ecx
and al, 1
shl ebx, 4
imul cl
mov cl, dl
mov edx, dword [ebp - 0x14]
sub cl, al
and ecx, 0xf
add ebx, ecx
je 0x49ec11
mov ecx, dword [ebp - 8]
jmp 0x49ec9b
cmp al, 0x23
je 0x49ec18
test edx, edx
jne 0x49ebfa
cmp al, 0x3f
je 0x49ec18
cmp edx, 1
jne 0x49ec07
cmp al, 0x3d
je 0x49ec18
cmp al, 0x26
je 0x49ec18
cmp edx, 2
jne 0x49ec10
cmp al, 0x26
je 0x49ec18
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x49ebee
mov ecx, dword [ebp - 8]
mov bl, byte [esi + edi]
test bl, bl
jne 0x49eb6f
mov eax, dword [ebp - 0xc]
cmp edx, 1
jne 0x49ecad
mov byte [ecx + eax], 0
inc eax
jmp 0x49ecad
cmp edx, 1
jne 0x49ec80
cmp bl, 0x26
je 0x49ec44
cmp bl, 0x3d
jne 0x49ec9b
mov eax, dword [ebp - 0xc]
cmp byte [ecx + eax - 1], 0
je 0x49ec6d
cmp bl, 0x26
jne 0x49ec76
mov ebx, eax
mov byte [ecx + ebx], 0
inc ebx
mov dword [ebp - 0xc], ebx
mov eax, ebx
jmp 0x49ec7c
cmp al, 0x23
je 0x49ec1b
cmp byte [esi + edi - 1], 0x26
je 0x49ec1b
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x49ec61
jmp 0x49ec1b
push 2
pop edx
mov dword [ebp - 0x14], edx
xor bl, bl
jmp 0x49ec9e
test edx, edx
jne 0x49ec89
cmp bl, 0x3f
je 0x49ec93
cmp edx, 2
jne 0x49ec9b
cmp bl, 0x26
jne 0x49ec9b
xor edx, edx
xor bl, bl
inc edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
mov byte [ecx + eax], bl
inc eax
mov dword [ebp - 0xc], eax
jmp 0x49ec1b
mov eax, dword [ebp - 0xc]
mov word [ecx + eax], 0
call fcn.0045603a
lea edx, [ecx + 1]
add edx, eax
jmp 0x49edd2
mov ecx, edx
call fcn.0045603a
mov esi, eax
lea ebx, [edx + 1]
add ebx, esi
mov dword [ebp - 0x1c], esi
mov ecx, ebx
call fcn.0045603a
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp esi, 3
jne 0x49ecfe
mov eax, 0x6676
cmp ax, word [edx]
jne 0x49ecfe
push 0x73
pop eax
cmp al, byte [edx + 2]
jne 0x49ecfe
mov dword [ebp - 0x24], ebx
jmp 0x49edcd
mov eax, dword [ebp - 0x1c]
xor edi, edi
and dword [ebp - 0xc], edi
xor esi, esi
and dword [ebp - 0x20], esi
cmp eax, 5
jne 0x49ed40
mov esi, 0x68636163
cmp esi, dword [edx]
jne 0x49edcd
push 0x65
pop ecx
cmp cl, byte [edx + 4]
mov ecx, dword [ebp - 0x14]
jne 0x49edcd
mov esi, 0x60000
mov dword [ebp - 0xc], str.cache
mov edi, 0x5f581c
mov dword [ebp - 0x20], esi
cmp eax, 4
jne 0x49ed68
cmp dword [edx], 0x65646f6d
jne 0x49ed68
mov eax, dword [ebp - 0x10]
mov edx, 0x87
and eax, edx
mov dword [ebp - 0xc], str.access
mov esi, edx
mov dword [ebp - 0x20], eax
mov edi, 0x5f5834
test edi, edi
je 0x49edcd
mov ecx, dword [edi]
xor edx, edx
jmp 0x49ed94
call fcn.0045603a
cmp dword [ebp - 0x14], eax
jne 0x49ed90
push dword [ebp - 0x14]
push ecx
push ebx
call fcn.0055728f
add esp, 0xc
test eax, eax
je 0x49eda9
mov edx, dword [ebp - 0x1c]
inc edx
mov ecx, dword [edi + edx*8]
mov dword [ebp - 0x1c], edx
test ecx, ecx
jne 0x49ed72
push ebx
push dword [ebp - 0xc]
push str.no_such__s_mode:__s
jmp 0x49eb4c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edi + eax*8 + 4]
test ecx, ecx
je 0x49ed9b
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x20]
jg 0x49ee2c
not esi
and esi, dword [ebp - 0x10]
or esi, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
lea edx, [ebx + 1]
add edx, ecx
cmp byte [edx], 0
jne 0x49ecc2
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x24]
push edi
call fcn.0045388d
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x49ee15
push edi
push str.no_such_vfs:__s
call fcn.0045572a
pop ecx
pop ecx
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp + 0x14]
push esi
mov dword [ecx], eax
call fcn.004541c2
pop ecx
xor esi, esi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [ecx], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push dword [ebp - 0xc]
push str._s_mode_not_allowed:__s
call fcn.0045572a
mov esi, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x18], 3
jmp 0x49ee07
lea eax, [ebx + 2]
push eax
call fcn.00454017
mov esi, eax
pop ecx
test esi, esi
je 0x49eaf4
push ebx
push edi
push esi
call fcn.00553450
add esp, 0xc
mov word [esi + ebx], 0
and dword [ebp - 0x10], 0xffffffbf
jmp 0x49edde