Function at 0x4e168c
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push ebx
push esi
mov esi, eax
xor eax, eax
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x2c], edx
mov ebx, esi
cmp esi, eax
jne 0x4e16b1
xor ebx, ebx
jmp 0x4e16c9
cmp byte [esi], al
je 0x4e16c1
lea esp, [esp]
inc ebx
cmp byte [ebx], al
jne 0x4e16bc
sub ebx, esi
and ebx, 0x3fffffff
test cl, 0x40
jne 0x4e16da
cmp dword [0x56460c], eax
je 0x4e1b78
cmp ebx, 5
jl 0x4e1b78
cmp dword [esi], 0x656c6966
jne 0x4e1b78
cmp byte [esi + 4], 0x3a
jne 0x4e1b78
mov dword [ebp - 8], eax
lea eax, [ebx + 2]
cdq
mov edi, eax
or ecx, 0x40
xor eax, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0xc], ecx
test ebx, ebx
jle 0x4e172c
cmp byte [eax + esi], 0x26
jne 0x4e171e
mov ecx, 1
jmp 0x4e1720
xor ecx, ecx
xor edx, edx
add edi, ecx
adc dword [ebp - 0x24], edx
inc eax
cmp eax, ebx
jl 0x4e1711
call fcn.004dea27
test eax, eax
jne 0x4e1749
mov eax, dword [ebp - 0x24]
push eax
push edi
call fcn.004a847d
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x4e1755
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, 0x2f
mov eax, 5
cmp byte [esi + 5], bl
jne 0x4e17d5
cmp byte [esi + 6], bl
jne 0x4e17d5
mov cl, byte [esi + 7]
lea edx, [esi + 7]
mov eax, 7
mov dword [ebp - 0x24], edx
test cl, cl
je 0x4e17d5
lea esp, [esp]
cmp cl, bl
je 0x4e1789
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x4e177c
cmp eax, 7
je 0x4e17d5
cmp eax, 0x10
jne 0x4e17b9
lea ecx, [eax - 7]
mov ebx, str.localhost
nop
mov edi, dword [ebx]
cmp edi, dword [edx]
jne 0x4e17b6
sub ecx, 4
add edx, 4
add ebx, 4
cmp ecx, 4
jae 0x4e179c
mov cl, byte [edx]
cmp cl, byte [ebx]
je 0x4e17d5
mov edx, dword [ebp - 0x24]
push edx
add eax, 0xfffffff9
push eax
push str.invalid_uri_authority:__.s
call fcn.004bd65c
mov edx, dword [ebp + 0x14]
add esp, 0xc
mov dword [edx], eax
jmp 0x4e1be5
mov cl, byte [eax + esi]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
test cl, cl
je 0x4e1959
lea esp, [esp]
cmp cl, 0x23
je 0x4e1946
inc eax
cmp cl, 0x25
jne 0x4e18bb
mov dl, byte [eax + esi]
movzx edi, dl
test byte [edi + 0x53bb18], 8
je 0x4e18bb
movzx edi, byte [eax + esi + 1]
test byte [edi + 0x53bb18], 8
je 0x4e18bb
movsx edi, byte [eax + esi + 1]
movsx ecx, dl
mov edx, ecx
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
sub cl, bl
mov edx, edi
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
mov dword [ebp - 0x24], edi
movzx edx, byte [ebp - 0x24]
sub dl, bl
and ecx, 0xf
shl ecx, 4
add eax, 2
and edx, 0xf
add ecx, edx
jne 0x4e192b
mov cl, byte [eax + esi]
test cl, cl
je 0x4e1938
mov edx, dword [ebp - 0x10]
cmp cl, 0x23
je 0x4e1938
test edx, edx
jne 0x4e188f
cmp cl, 0x3f
jmp 0x4e18a7
cmp edx, 1
jne 0x4e189f
cmp cl, 0x3d
je 0x4e1938
jmp 0x4e18a4
cmp edx, 2
jne 0x4e18ad
cmp cl, 0x26
je 0x4e1938
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x4e187d
jmp 0x4e1938
cmp ebx, 1
jne 0x4e190d
cmp cl, 0x26
je 0x4e18ca
cmp cl, 0x3d
jne 0x4e192b
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 4]
cmp byte [edi + edx - 1], 0
jne 0x4e18f5
mov cl, byte [eax + esi]
test cl, cl
je 0x4e1938
cmp cl, 0x23
je 0x4e1938
cmp byte [eax + esi - 1], 0x26
je 0x4e1938
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x4e18de
jmp 0x4e1938
cmp cl, 0x26
jne 0x4e1904
mov byte [edi + edx], 0
inc edx
mov dword [ebp - 8], edx
jmp 0x4e1929
mov dword [ebp - 0x10], 2
jmp 0x4e1929
test ebx, ebx
jne 0x4e1918
cmp cl, 0x3f
je 0x4e1922
jmp 0x4e192b
cmp ebx, 2
jne 0x4e192b
cmp cl, 0x26
jne 0x4e192b
mov dword [ebp - 0x10], 1
xor cl, cl
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov byte [edi + edx], cl
inc edx
mov dword [ebp - 8], edx
mov cl, byte [eax + esi]
mov ebx, dword [ebp - 0x10]
test cl, cl
jne 0x4e17ec
cmp ebx, 1
jne 0x4e1959
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov byte [ecx + eax], 0
inc eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov word [ebx + eax], 0
cmp byte [ebx], 0
mov eax, ebx
je 0x4e1972
inc eax
cmp byte [eax], 0
jne 0x4e196c
sub eax, ebx
and eax, 0x3fffffff
cmp byte [eax + ebx + 1], 0
lea edx, [eax + ebx + 1]
je 0x4e1bb9
mov esi, 0x60000
mov eax, edx
inc eax
cmp byte [eax], 0
jne 0x4e198f
sub eax, edx
and eax, 0x3fffffff
lea edi, [eax + edx + 1]
mov dword [ebp - 0x10], edi
mov ecx, edi
test edi, edi
jne 0x4e19ae
mov dword [ebp - 8], edi
jmp 0x4e19c4
cmp byte [edi], 0
je 0x4e19b9
inc ecx
cmp byte [ecx], 0
jne 0x4e19b3
sub ecx, edi
and ecx, 0x3fffffff
mov dword [ebp - 8], ecx
cmp eax, 3
jne 0x4e19ee
cmp byte [edx], 0x76
jne 0x4e1b44
cmp byte [edx + 1], 0x66
jne 0x4e1b44
cmp byte [edx + 2], 0x73
jne 0x4e1b44
mov dword [ebp - 0x2c], edi
jmp 0x4e1b44
cmp eax, 5
jne 0x4e1a1d
cmp dword [edx], 0x68636163
jne 0x4e1b44
cmp byte [edx + 4], 0x65
jne 0x4e1b44
mov dword [ebp - 0x24], esi
mov ebx, 0x5655bc
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], str.cache
jmp 0x4e1a50
cmp eax, 4
jne 0x4e1b44
cmp dword [edx], 0x65646f6d
jne 0x4e1b44
mov eax, dword [ebp - 0xc]
and eax, 0x87
mov dword [ebp - 0x24], 0x87
mov ebx, 0x5655d4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], str.access
mov ecx, dword [ebx]
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x4e1afd
mov eax, ecx
test ecx, ecx
je 0x4e1a79
cmp byte [ecx], 0
je 0x4e1a72
inc eax
cmp byte [eax], 0
jne 0x4e1a6c
sub eax, ecx
and eax, 0x3fffffff
cmp dword [ebp - 8], eax
jne 0x4e1aea
mov esi, dword [ebp - 8]
mov edx, edi
cmp esi, 4
jb 0x4e1aa0
lea esp, [esp]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4e1aa4
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x4e1a8c
test esi, esi
je 0x4e1b17
movzx eax, byte [edx]
movzx edi, byte [ecx]
sub eax, edi
jne 0x4e1adf
cmp esi, 1
jbe 0x4e1b14
movzx eax, byte [edx + 1]
movzx edi, byte [ecx + 1]
sub eax, edi
jne 0x4e1adf
cmp esi, 2
jbe 0x4e1b14
movzx eax, byte [edx + 2]
movzx edi, byte [ecx + 2]
sub eax, edi
jne 0x4e1adf
cmp esi, 3
jbe 0x4e1b14
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov edi, dword [ebp - 0x10]
sar eax, 0x1f
or eax, 1
je 0x4e1b17
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + eax*8 + 8]
inc eax
mov dword [ebp - 0x18], eax
test ecx, ecx
jne 0x4e1a61
mov eax, dword [ebp - 0x1c]
push edi
push eax
push str.no_such__s_mode:__s
call fcn.004bd65c
add esp, 0xc
jmp 0x4e1be0
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + edx*8 + 4]
test eax, eax
je 0x4e1afd
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [ebp - 0x20]
jg 0x4e1b58
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 4]
not ecx
and ecx, dword [ebp - 0xc]
mov esi, 0x60000
or ecx, eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
cmp byte [edx + edi + 1], 0
lea edx, [edx + edi + 1]
jne 0x4e198d
jmp 0x4e1bb9
mov edx, dword [ebp - 0x1c]
push edi
push edx
push str._s_mode_not_allowed:__s
call fcn.004bd65c
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
mov dword [ebp - 0x14], 3
jmp 0x4e1bec
call fcn.004dea27
test eax, eax
jne 0x4e1749
lea eax, [ebx + 2]
cdq
push edx
push eax
call fcn.004a847d
mov edi, eax
add esp, 8
mov dword [ebp - 4], edi
test edi, edi
je 0x4e1749
push ebx
push esi
push 0xffffffffffffffff
push edi
call fcn.0040ab34
add esp, 0x10
and dword [ebp - 0xc], 0xffffffbf
mov word [edi + ebx], 0
mov ebx, edi
mov esi, dword [ebp - 0x2c]
push esi
call fcn.004dec31
mov edx, dword [ebp + 0xc]
add esp, 4
mov dword [edx], eax
test eax, eax
jne 0x4e1c51
push esi
push str.no_such_vfs:__s
call fcn.004bd65c
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [ebp - 0x14], 1
cmp dword [0x564600], 0
je 0x4e1c3a
mov eax, dword [0x56a338]
test eax, eax
je 0x4e1c08
push eax
call dword [0x564654]
add esp, 4
mov esi, dword [ebp - 4]
push esi
call dword [0x564630]
sub dword [0x56a1d8], eax
dec dword [0x56a1fc]
push esi
call dword [0x564628]
mov eax, dword [0x56a338]
add esp, 8
test eax, eax
je 0x4e1c47
push eax
call dword [0x56465c]
jmp 0x4e1c44
mov edx, dword [ebp - 4]
push edx
call dword [0x564628]
add esp, 4
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
pop edi
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
pop esi
mov dword [edx], ebx
pop ebx
mov esp, ebp
pop ebp
ret