Function at 0x10081640
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ecx
push edi
mov edi, esi
test esi, esi
je 0x1008167e
cmp byte [esi], 0
je 0x10081676
nop
inc edi
cmp byte [edi], 0
jne 0x10081670
sub edi, esi
and edi, 0x3fffffff
mov dword [esp + 0x28], edi
test cl, 0x40
jne 0x10081694
cmp dword [0x10100adc], 0
je 0x10081be8
cmp edi, 5
jb 0x10081be8
cmp dword [esi], 0x656c6966
jne 0x10081be8
cmp byte [esi + 4], 0x3a
jne 0x10081be8
lea eax, [edi + 2]
or ecx, 0x40
xor edx, edx
mov dword [esp + 0x24], eax
lea eax, [edi - 1]
mov dword [esp + 0x18], ecx
xor ebx, ebx
mov dword [esp + 0x14], edx
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov edi, eax
xor eax, eax
cmp byte [ecx + esi], 0x26
sete al
add edx, eax
xor eax, eax
cmp byte [ecx + esi + 1], 0x26
sete al
add ecx, 2
add ebx, eax
cmp ecx, edi
jl 0x100816d4
mov edi, dword [esp + 0x24]
cmp ecx, dword [esp + 0x28]
jge 0x10081707
xor eax, eax
cmp byte [ecx + esi], 0x26
sete al
add edi, eax
lea eax, [ebx + edx]
add edi, eax
call fcn.1007ec50
test eax, eax
jne 0x10081c24
test edi, edi
jle 0x10081c24
mov eax, edi
cdq
push edx
push eax
call fcn.100049d0
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x10081c24
cmp byte [esi + 5], 0x2f
mov eax, 5
jne 0x100817b4
cmp byte [esi + 6], 0x2f
jne 0x100817b4
mov cl, byte [esi + 7]
lea edx, [esi + 7]
mov eax, 7
test cl, cl
je 0x100817b4
nop dword [eax]
cmp cl, 0x2f
je 0x1008176e
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x10081760
cmp eax, 7
je 0x100817b4
cmp eax, 0x10
jne 0x10081795
mov ecx, 0x61636f6c
cmp ecx, dword [edx]
jne 0x10081795
mov ecx, 0x736f686c
cmp ecx, dword [edx + 4]
jne 0x10081795
mov ecx, 0x74
cmp cl, byte [edx + 8]
je 0x100817b4
push edx
add eax, 0xfffffff9
mov dword [esp + 0x24], 1
push eax
push str.invalid_uri_authority:__.s
call fcn.10006fb0
add esp, 0xc
jmp 0x10081b9d
mov dl, byte [eax + esi]
xor edi, edi
test dl, dl
je 0x10081963
cmp dl, 0x23
je 0x10081867
inc eax
cmp dl, 0x25
jne 0x100818a9
mov bl, byte [eax + esi]
movzx ecx, bl
test byte [ecx + 0x100f7d40], 8
je 0x100818a5
movzx ecx, byte [eax + esi + 1]
test byte [ecx + 0x100f7d40], 8
je 0x100818a5
mov ch, byte [eax + esi + 1]
mov dl, bl
sar dl, 6
add eax, 2
and dl, 1
mov cl, dl
shl cl, 3
sub cl, dl
sub bl, cl
mov cl, ch
sar cl, 6
and ebx, 0xf
and cl, 1
add ebx, ebx
mov dl, cl
shl dl, 3
sub dl, cl
mov cl, ch
sub cl, dl
and ecx, 0xf
lea edx, [ecx + ebx*8]
test edx, edx
jne 0x10081893
mov cl, byte [eax + esi]
test cl, cl
je 0x10081858
nop word [eax + eax]
cmp cl, 0x23
je 0x10081858
test edi, edi
jne 0x1008184e
cmp cl, 0x3f
jmp 0x10081886
cmp edi, 1
jne 0x1008187e
cmp cl, 0x3d
jne 0x10081883
mov ebx, dword [esp + 0x10]
mov dl, byte [eax + esi]
test dl, dl
jne 0x100817c1
mov eax, dword [esp + 0x14]
cmp edi, 1
jne 0x10081965
mov byte [ebx + eax], 0
inc eax
jmp 0x10081965
cmp edi, 2
jne 0x10081888
cmp cl, 0x26
je 0x10081858
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x10081840
jmp 0x10081858
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov byte [ebx + ecx], dl
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x1008185c
mov ebx, dword [esp + 0x10]
cmp edi, 1
jne 0x10081927
cmp dl, 0x26
je 0x100818bc
cmp dl, 0x3d
jne 0x10081952
mov ecx, dword [esp + 0x14]
cmp byte [ebx + ecx - 1], 0
jne 0x100818ea
mov cl, byte [eax + esi]
test cl, cl
je 0x1008185c
nop
cmp cl, 0x23
je 0x1008185c
cmp byte [eax + esi - 1], 0x26
je 0x1008185c
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x100818d0
jmp 0x1008185c
cmp dl, 0x26
jne 0x1008190f
mov edx, dword [esp + 0x14]
mov byte [ebx + edx], 0
inc edx
mov dword [esp + 0x14], edx
xor dl, dl
mov ecx, dword [esp + 0x14]
mov byte [ebx + ecx], dl
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x1008185c
mov ecx, dword [esp + 0x14]
xor dl, dl
mov edi, 2
mov byte [ebx + ecx], dl
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x1008185c
test edi, edi
jne 0x10081941
cmp dl, 0x3f
je 0x1008194b
mov ecx, dword [esp + 0x14]
mov byte [ebx + ecx], dl
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x1008185c
cmp edi, 2
jne 0x10081952
cmp dl, 0x26
jne 0x10081952
mov edi, 1
xor dl, dl
mov ecx, dword [esp + 0x14]
mov byte [ebx + ecx], dl
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x1008185c
xor eax, eax
mov word [ebx + eax], 0
mov eax, ebx
cmp byte [ebx], 0
je 0x10081978
inc eax
cmp byte [eax], 0
jne 0x10081972
sub eax, ebx
lea ecx, [ebx + 1]
and eax, 0x3fffffff
add ecx, eax
cmp byte [ecx], 0
je 0x10081b6f
mov edx, 0x6676
mov ebx, 0x73
mov eax, ecx
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x100819a0
sub eax, ecx
lea esi, [ecx + 1]
and eax, 0x3fffffff
add esi, eax
mov dword [esp + 0x14], esi
mov edi, esi
jne 0x100819be
xor edi, edi
jmp 0x100819d1
cmp byte [esi], 0
je 0x100819c9
inc edi
cmp byte [edi], 0
jne 0x100819c3
sub edi, esi
and edi, 0x3fffffff
cmp eax, 3
jne 0x100819e9
cmp dx, word [ecx]
jne 0x100819e9
cmp bl, byte [ecx + 2]
jne 0x100819e9
mov dword [esp + 0x30], esi
jmp 0x10081b5d
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
cmp eax, 5
jne 0x10081a31
mov esi, 0x68636163
cmp esi, dword [ecx]
mov esi, dword [esp + 0x14]
jne 0x10081a31
mov ebx, 0x65
cmp bl, byte [ecx + 4]
mov ebx, edx
jne 0x10081a31
mov edx, 0x60000
mov dword [esp + 0x24], str.cache
mov ebx, 0x10101864
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], ebx
cmp eax, 4
jne 0x10081a67
cmp dword [ecx], 0x65646f6d
jne 0x10081a67
mov edx, dword [esp + 0x18]
mov eax, 0x1010183c
and edx, 0x87
mov dword [esp + 0x28], 0x87
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], str.access
jmp 0x10081a77
mov dword [esp + 0x2c], edx
test ebx, ebx
je 0x10081b53
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
xor ebx, ebx
test ecx, ecx
je 0x10081b03
cmp byte [ecx], 0
mov eax, ecx
je 0x10081a96
nop word [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x10081a90
sub eax, ecx
and eax, 0x3fffffff
cmp edi, eax
jne 0x10081af7
mov edx, esi
mov esi, edi
sub esi, 4
jb 0x10081ac1
nop word [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10081ac6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x10081ab0
cmp esi, 0xfffffffc
je 0x10081b22
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x10081af3
cmp esi, 0xfffffffd
je 0x10081b22
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x10081af3
cmp esi, 0xfffffffe
je 0x10081b22
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x10081af3
cmp esi, 0xffffffff
je 0x10081b22
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x10081b22
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ebx
mov ecx, dword [eax + ebx*8]
test ecx, ecx
jne 0x10081a83
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
push dword [esp + 0x28]
push str.no_such__s_mode:__s
call fcn.10006fb0
add esp, 0xc
jmp 0x10081b9d
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + ebx*8 + 4]
test ecx, ecx
je 0x10081b03
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [esp + 0x2c]
jg 0x10081bc9
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
not eax
and eax, dword [esp + 0x18]
or eax, ecx
mov dword [esp + 0x18], eax
mov ebx, 0x73
mov edx, 0x6676
lea ecx, [esi + 1]
add ecx, edi
cmp byte [ecx], 0
jne 0x10081997
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
push esi
call fcn.100042e0
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x10081bb0
push esi
push str.no_such_vfs:__s
mov dword [esp + 0x28], 1
call fcn.10006fb0
add esp, 8
mov ecx, dword [ebp + 0x14]
push dword [esp + 0x10]
mov dword [ecx], eax
call fcn.10004df0
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x20]
mov dword [ecx], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x14]
mov dword [esp + 0x24], 3
push dword [esp + 0x28]
push str._s_mode_not_allowed:__s
call fcn.10006fb0
add esp, 0xc
jmp 0x10081b9d
call fcn.1007ec50
test eax, eax
jne 0x10081c24
lea eax, [edi + 2]
push 0
push eax
call fcn.100049d0
mov ebx, eax
mov dword [esp + 0x18], eax
add esp, 8
test ebx, ebx
je 0x10081c24
push edi
push esi
push ebx
call fcn.100c18e0
add esp, 0xc
mov word [ebx + edi], 0
and dword [esp + 0x18], 0xffffffbf
jmp 0x10081b6f
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret