Function at 0x4ed890
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], edx
cmp edi, ebx
jne 0x4ed8b9
xor esi, esi
jmp 0x4ed8d0
mov eax, edi
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4ed8c0
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
test cl, 0x40
jne 0x4ed8e1
cmp dword [0x52e0ec], ebx
je 0x4eddb9
cmp esi, 5
jl 0x4eddb9
cmp dword [edi], 0x656c6966
jne 0x4eddb9
cmp byte [edi + 4], 0x3a
jne 0x4eddb9
lea eax, [esi + 2]
cdq
mov dword [esp + 0x10], ebx
mov ebx, eax
or ecx, 0x40
xor eax, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], ecx
test esi, esi
jle 0x4ed937
cmp byte [eax + edi], 0x26
jne 0x4ed928
mov ecx, 1
jmp 0x4ed92a
xor ecx, ecx
xor edx, edx
add ebx, ecx
adc dword [esp + 0x34], edx
inc eax
cmp eax, esi
jl 0x4ed91b
call fcn.004eb1a0
test eax, eax
jne 0x4ed96a
mov eax, dword [esp + 0x34]
mov ecx, ebx
or ecx, eax
je 0x4ed95c
push eax
push ebx
call fcn.00474f70
add esp, 8
mov ebx, eax
mov dword [esp + 0x18], eax
jmp 0x4ed962
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x4ed976
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, 0x2f
mov esi, 5
cmp byte [edi + 5], dl
jne 0x4ed9fe
cmp byte [edi + 6], dl
jne 0x4ed9fe
mov al, byte [edi + 7]
lea ecx, [edi + 7]
mov esi, 7
mov dword [esp + 0x30], ecx
test al, al
je 0x4ed9fe
lea ebx, [ebx]
cmp al, dl
je 0x4ed9ad
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4ed9a0
cmp esi, 7
je 0x4ed9fe
cmp esi, 0x10
jne 0x4ed9de
lea eax, [esi - 7]
mov edx, str.localhost
nop
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x4ed9da
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4ed9c0
mov al, byte [ecx]
cmp al, byte [edx]
je 0x4ed9fa
mov ecx, dword [esp + 0x30]
push ecx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call fcn.004773d0
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
jmp 0x4ede40
mov ebx, dword [esp + 0x18]
mov al, byte [esi + edi]
xor edx, edx
mov dword [esp + 0x1c], edx
test al, al
je 0x4edb6d
nop
cmp al, 0x23
je 0x4edb5b
inc esi
cmp al, 0x25
jne 0x4edacc
mov cl, byte [esi + edi]
movzx ebx, cl
test byte [ebx + 0x50a6e8], 8
je 0x4edac8
movzx ebx, byte [esi + edi + 1]
test byte [ebx + 0x50a6e8], 8
je 0x4edac8
movsx edx, byte [esi + edi + 1]
movsx ecx, cl
mov eax, ecx
sar eax, 6
and al, 1
mov bl, 7
imul bl
inc esi
sub cl, al
mov eax, edx
sar eax, 6
and al, 1
imul bl
sub dl, al
and ecx, 0xf
shl ecx, 4
inc esi
and edx, 0xf
add ecx, edx
test ecx, ecx
jne 0x4edac0
mov al, byte [esi + edi]
test al, al
je 0x4edb48
mov ecx, dword [esp + 0x1c]
cmp al, 0x23
je 0x4edb48
test ecx, ecx
jne 0x4eda96
cmp al, 0x3f
jmp 0x4edaac
cmp ecx, 1
jne 0x4edaa5
cmp al, 0x3d
je 0x4edb48
jmp 0x4edaaa
cmp ecx, 2
jne 0x4edab2
cmp al, 0x26
je 0x4edb48
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4eda86
jmp 0x4edb48
mov ebx, dword [esp + 0x18]
mov al, cl
jmp 0x4edb3c
mov ebx, dword [esp + 0x18]
cmp edx, 1
jne 0x4edb1f
cmp al, 0x26
je 0x4edad9
cmp al, 0x3d
jne 0x4edb3c
mov ecx, dword [esp + 0x10]
cmp byte [ebx + ecx - 1], 0
jne 0x4edb06
mov al, byte [esi + edi]
test al, al
je 0x4edb48
jmp 0x4edaf0
cmp al, 0x23
je 0x4edb48
cmp byte [esi + edi - 1], 0x26
je 0x4edb48
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4edaf0
jmp 0x4edb48
cmp al, 0x26
jne 0x4edb15
mov byte [ebx + ecx], 0
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x4edb3a
mov dword [esp + 0x1c], 2
jmp 0x4edb3a
test edx, edx
jne 0x4edb29
cmp al, 0x3f
je 0x4edb32
jmp 0x4edb3c
cmp edx, 2
jne 0x4edb3c
cmp al, 0x26
jne 0x4edb3c
mov dword [esp + 0x1c], 1
xor al, al
mov ecx, dword [esp + 0x10]
mov byte [ebx + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [esi + edi]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test al, al
jne 0x4eda10
cmp edx, 1
jne 0x4edb6d
mov eax, dword [esp + 0x10]
mov byte [ebx + eax], 0
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov byte [ebx + eax], 0
mov byte [ebx + eax + 1], 0
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4edb80
sub eax, edx
and eax, 0x3fffffff
cmp byte [eax + ebx + 1], 0
lea ecx, [eax + ebx + 1]
je 0x4ede13
lea ecx, [ecx]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4edba5
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
lea eax, [esi + ecx + 1]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4edbc5
xor ebx, ebx
jmp 0x4edbe4
mov eax, dword [esp + 0x10]
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4edbd0
sub eax, edi
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
cmp esi, 3
jne 0x4edc13
cmp byte [ecx], 0x76
jne 0x4edd7c
cmp byte [ecx + 1], 0x66
jne 0x4edd7c
cmp byte [ecx + 2], 0x73
jne 0x4edd7c
mov dword [esp + 0x3c], eax
jmp 0x4edd7c
cmp esi, 5
jne 0x4edc46
cmp dword [ecx], 0x68636163
jne 0x4edd7c
cmp byte [ecx + 4], 0x65
jne 0x4edd7c
mov eax, 0x60000
mov dword [esp + 0x30], eax
mov edi, 0x52f670
mov dword [esp + 0x28], str.cache
jmp 0x4edc79
cmp esi, 4
jne 0x4edd7c
cmp dword [ecx], 0x65646f6d
jne 0x4edd7c
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], 0x87
mov edi, 0x52f688
and eax, 0x87
mov dword [esp + 0x28], str.access
mov ecx, dword [edi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x4edd29
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4edc94
sub eax, esi
and eax, 0x3fffffff
cmp ebx, eax
jne 0x4edd14
mov edx, dword [esp + 0x10]
mov esi, ebx
cmp ebx, 4
jb 0x4edcc5
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4edccd
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x4edcb1
test esi, esi
je 0x4edd4e
movzx ebx, byte [ecx]
movzx eax, byte [edx]
sub eax, ebx
jne 0x4edd08
cmp esi, 1
jbe 0x4edd4a
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x4edd08
cmp esi, 2
jbe 0x4edd4a
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x4edd08
cmp esi, 3
jbe 0x4edd4a
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov ebx, dword [esp + 0x18]
sar eax, 0x1f
or eax, 1
je 0x4edd4e
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + eax*8 + 8]
inc eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x4edc8f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
push edx
push eax
push str.no_such__s_mode:__s
call fcn.004773d0
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
jmp 0x4ede40
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + edx*8 + 4]
test eax, eax
je 0x4edd29
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [esp + 0x2c]
jg 0x4edd90
mov ecx, dword [esp + 0x30]
not ecx
and ecx, dword [esp + 0x14]
or ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
cmp byte [ebx + eax + 1], 0
lea ecx, [ebx + eax + 1]
jne 0x4edba0
jmp 0x4ede13
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
push edx
push eax
push str._s_mode_not_allowed:__s
call fcn.004773d0
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
mov dword [esp + 0x24], 3
jmp 0x4ede48
lea eax, [esi + 2]
cdq
mov ebx, eax
mov dword [esp + 0x34], edx
call fcn.004eb1a0
test eax, eax
jne 0x4ed96a
mov eax, dword [esp + 0x34]
mov edx, ebx
or edx, eax
je 0x4edde8
push eax
push ebx
call fcn.00474f70
add esp, 8
mov ebx, eax
jmp 0x4eddea
xor ebx, ebx
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x4ed96a
test esi, esi
je 0x4ede05
push esi
push edi
push ebx
call fcn.004f0800
add esp, 0xc
and dword [esp + 0x14], 0xffffffbf
mov byte [ebx + esi], 0
mov byte [ebx + esi + 1], 0
mov esi, dword [esp + 0x3c]
push esi
call fcn.00474680
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x4edeb0
push esi
push str.no_such_vfs:__s
call fcn.004773d0
mov edx, dword [ebp + 0x14]
add esp, 8
mov dword [edx], eax
mov dword [esp + 0x24], 1
cmp dword [0x52e0e0], 0
je 0x4ede9a
mov eax, dword [0x53a950]
test eax, eax
je 0x4ede64
push eax
call dword [0x52e13c]
add esp, 4
mov esi, dword [esp + 0x20]
push esi
call dword [0x52e118]
sub dword [0x53a8e8], eax
dec dword [0x53a90c]
add esp, 4
push esi
call dword [0x52e110]
mov eax, dword [0x53a950]
add esp, 4
test eax, eax
je 0x4edea8
push eax
call dword [0x52e144]
jmp 0x4edea5
mov eax, dword [esp + 0x20]
push eax
call dword [0x52e110]
add esp, 4
mov dword [esp + 0x20], 0
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x10]
pop edi
mov dword [ecx], edx
mov ecx, dword [esp + 0x1c]
pop esi
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
pop ebx
mov esp, ebp
pop ebp
ret