Function at 0x1006151d
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
and dword [ebp - 0x14], 0
push ebx
push esi
mov ebx, dword [eax]
push edi
mov edi, edx
mov dword [ebp - 0x34], ecx
mov ecx, edi
mov dword [ebp - 0xc], ebx
call fcn.10007e26
mov esi, eax
test bl, 0x40
jne 0x10061552
cmp byte [0x10087ade], 0
je 0x100618ce
cmp esi, 5
jl 0x100618ce
cmp dword [edi], 0x656c6966
jne 0x100618ce
cmp byte [edi + 4], 0x3a
jne 0x100618ce
and dword [ebp - 8], 0
lea eax, [esi + 2]
or ebx, 0x40
cdq
mov dword [ebp - 0xc], ebx
xor ecx, ecx
cmp byte [ecx + edi], 0x26
jne 0x10061590
xor ebx, ebx
inc ebx
and dword [ebp - 0x1c], 0
jmp 0x100615a1
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x30]
add eax, ebx
adc edx, dword [ebp - 0x1c]
inc ecx
cmp ecx, esi
jl 0x10061581
push edx
push eax
call fcn.10005829
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x100618e1
cmp byte [edi + 5], 0x2f
push 5
pop esi
jne 0x10061627
cmp byte [edi + 6], 0x2f
jne 0x10061627
lea ecx, [edi + 7]
mov al, byte [ecx]
mov dword [ebp - 0x2c], ecx
push 7
pop esi
test al, al
je 0x10061627
cmp al, 0x2f
je 0x100615e8
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x100615dc
cmp esi, 7
je 0x10061627
cmp esi, 0x10
jne 0x10061609
push 9
push ecx
push str.localhost
call fcn.100716b0
add esp, 0xc
test eax, eax
je 0x10061627
mov ecx, dword [ebp - 0x2c]
push ecx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
mov dword [ebp - 0x14], 1
call fcn.10007455
add esp, 0xc
jmp 0x10061928
mov cl, byte [esi + edi]
xor edx, edx
mov dword [ebp - 0x10], edx
test cl, cl
je 0x1006176d
cmp cl, 0x23
je 0x1006175e
inc esi
cmp cl, 0x25
jne 0x100616e3
movzx eax, byte [esi + edi]
test byte [eax + 0x1007ff50], 8
je 0x100616e3
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x1007ff50], 8
je 0x100616e3
mov dl, byte [esi + edi]
mov cl, byte [esi + edi + 1]
mov al, dl
sar al, 6
add esi, 2
and al, 1
movzx eax, al
imul eax, eax, 7
sub dl, al
mov al, cl
sar al, 6
and edx, 0xf
and al, 1
shl edx, 4
movzx eax, al
imul eax, eax, 7
sub cl, al
and ecx, 0xf
add ecx, edx
mov edx, dword [ebp - 0x10]
jne 0x10061749
jmp 0x100616da
cmp al, 0x23
je 0x10061753
test edx, edx
jne 0x100616bb
cmp al, 0x3f
je 0x10061753
cmp edx, 1
jne 0x100616d0
cmp al, 0x3d
je 0x10061753
cmp al, 0x26
je 0x10061753
cmp edx, 2
jne 0x100616d9
cmp al, 0x26
je 0x10061753
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x100616a7
jmp 0x10061753
cmp edx, 1
jne 0x1006172e
cmp cl, 0x26
je 0x100616f2
cmp cl, 0x3d
jne 0x10061749
mov eax, dword [ebp - 8]
cmp byte [ebx + eax - 1], 0
je 0x1006171b
cmp cl, 0x26
jne 0x10061724
mov ecx, eax
mov byte [ebx + ecx], 0
inc ecx
mov dword [ebp - 8], ecx
mov eax, ecx
jmp 0x1006172a
cmp al, 0x23
je 0x10061753
cmp byte [esi + edi - 1], 0x26
je 0x10061753
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x1006170f
jmp 0x10061753
push 2
pop edx
mov dword [ebp - 0x10], edx
xor cl, cl
jmp 0x1006174c
test edx, edx
jne 0x10061737
cmp cl, 0x3f
je 0x10061741
cmp edx, 2
jne 0x10061749
cmp cl, 0x26
jne 0x10061749
xor edx, edx
xor cl, cl
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov byte [ebx + eax], cl
inc eax
mov dword [ebp - 8], eax
mov cl, byte [esi + edi]
test cl, cl
jne 0x10061637
mov eax, dword [ebp - 8]
cmp edx, 1
jne 0x10061770
mov byte [ebx + eax], 0
inc eax
jmp 0x10061770
mov eax, dword [ebp - 8]
mov ecx, ebx
mov word [ebx + eax], 0
call fcn.10007e26
lea esi, [eax + 1]
add esi, ebx
jmp 0x100618ae
mov ecx, esi
call fcn.10007e26
mov edi, eax
lea eax, [esi + 1]
add eax, edi
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.10007e26
mov dword [ebp - 0x2c], eax
cmp edi, 3
jne 0x100617cc
mov edi, dword [ebp - 8]
mov ecx, 0x6676
cmp cx, word [esi]
jne 0x100618a9
push 0x73
pop ecx
cmp cl, byte [esi + 2]
jne 0x100618a9
mov dword [ebp - 0x34], edi
jmp 0x100618a9
cmp edi, 5
jne 0x10061800
mov ecx, 0x68636163
cmp ecx, dword [esi]
jne 0x100618a6
push 0x65
pop ecx
cmp cl, byte [esi + 4]
jne 0x100618a6
mov ecx, 0x60000
mov dword [ebp - 0x1c], str.cache
mov eax, 0x10088f80
mov dword [ebp - 0x24], ecx
jmp 0x1006182e
cmp edi, 4
jne 0x100618a6
cmp dword [esi], 0x65646f6d
jne 0x100618a6
mov edx, dword [ebp - 0xc]
mov ecx, 0x87
and edx, ecx
mov dword [ebp - 0x1c], str.access
mov eax, 0x10088f50
mov dword [ebp - 0x24], edx
mov edi, dword [ebp - 8]
mov esi, ecx
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov eax, dword [eax]
jmp 0x10061865
mov ecx, eax
call fcn.10007e26
mov ecx, dword [ebp - 0x2c]
cmp ecx, eax
jne 0x1006185b
push ecx
push dword [ebp - 0x20]
push edi
call fcn.100716b0
add esp, 0xc
test eax, eax
je 0x1006187d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
inc ecx
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ecx
test eax, eax
jne 0x1006183c
push edi
push dword [ebp - 0x1c]
push str.no_such__s_mode:__s
jmp 0x10061613
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [eax + ecx*8 + 4]
test ecx, ecx
je 0x1006186f
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x24]
jg 0x100618b9
mov eax, dword [ebp - 0x2c]
not esi
and esi, dword [ebp - 0xc]
or esi, ecx
mov dword [ebp - 0xc], esi
jmp 0x100618a9
mov edi, dword [ebp - 8]
lea esi, [edi + 1]
add esi, eax
cmp byte [esi], 0
jne 0x10061787
jmp 0x100618ff
push edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], 3
push str._s_mode_not_allowed:__s
jmp 0x1006161a
lea eax, [esi + 2]
cdq
push edx
push eax
call fcn.10005829
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x100618e6
push 7
pop eax
jmp 0x10061946
test esi, esi
je 0x100618f5
push esi
push edi
push ebx
call fcn.10065820
add esp, 0xc
and dword [ebp - 0xc], 0xffffffbf
mov word [ebx + esi], 0
mov esi, dword [ebp - 0x34]
push esi
call fcn.100050be
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x10061936
push esi
push str.no_such_vfs:__s
mov dword [ebp - 0x14], 1
call fcn.10007455
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
push ebx
mov dword [ecx], eax
call fcn.100058a1
pop ecx
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ecx], ebx
pop edi
pop esi
pop ebx
leave
ret