Function at 0x10081b80
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 + 0x18], 0
mov dword [esp + 0x14], ecx
push edi
mov edi, esi
test esi, esi
je 0x10081bbe
cmp byte [esi], 0
je 0x10081bb6
nop
inc edi
cmp byte [edi], 0
jne 0x10081bb0
sub edi, esi
and edi, 0x3fffffff
mov dword [esp + 0x24], edi
test cl, 0x40
jne 0x10081bd4
cmp dword [0x10100bf4], 0
je 0x10082110
cmp edi, 5
jb 0x10082110
cmp dword [esi], 0x656c6966
jne 0x10082110
cmp byte [esi + 4], 0x3a
jne 0x10082110
lea eax, [edi + 2]
or ecx, 0x40
xor edx, edx
mov dword [esp + 0x20], 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 0x10081c14
mov edi, dword [esp + 0x20]
cmp ecx, dword [esp + 0x24]
jge 0x10081c47
xor eax, eax
cmp byte [ecx + esi], 0x26
sete al
add edi, eax
lea eax, [ebx + edx]
add edi, eax
call fcn.1007f160
test eax, eax
jne 0x1008214c
test edi, edi
jle 0x1008214c
mov eax, edi
cdq
push edx
push eax
call fcn.10004a30
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x1008214c
cmp byte [esi + 5], 0x2f
mov eax, 5
jne 0x10081cf4
cmp byte [esi + 6], 0x2f
jne 0x10081cf4
mov cl, byte [esi + 7]
lea edx, [esi + 7]
mov eax, 7
test cl, cl
je 0x10081cf4
nop dword [eax]
cmp cl, 0x2f
je 0x10081cae
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x10081ca0
cmp eax, 7
je 0x10081cf4
cmp eax, 0x10
jne 0x10081cd5
mov ecx, 0x61636f6c
cmp ecx, dword [edx]
jne 0x10081cd5
mov ecx, 0x736f686c
cmp ecx, dword [edx + 4]
jne 0x10081cd5
mov ecx, 0x74
cmp cl, byte [edx + 8]
je 0x10081cf4
push edx
add eax, 0xfffffff9
mov dword [esp + 0x20], 1
push eax
push str.invalid_uri_authority:__.s
call fcn.10007000
add esp, 0xc
jmp 0x100820c5
mov dl, byte [eax + esi]
xor edi, edi
test dl, dl
je 0x10081ea3
cmp dl, 0x23
je 0x10081da7
inc eax
cmp dl, 0x25
jne 0x10081de9
mov bl, byte [eax + esi]
movzx ecx, bl
test byte [ecx + 0x100f7050], 8
je 0x10081de5
movzx ecx, byte [eax + esi + 1]
test byte [ecx + 0x100f7050], 8
je 0x10081de5
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 0x10081dd3
mov cl, byte [eax + esi]
test cl, cl
je 0x10081d98
nop word [eax + eax]
cmp cl, 0x23
je 0x10081d98
test edi, edi
jne 0x10081d8e
cmp cl, 0x3f
jmp 0x10081dc6
cmp edi, 1
jne 0x10081dbe
cmp cl, 0x3d
jne 0x10081dc3
mov ebx, dword [esp + 0x10]
mov dl, byte [eax + esi]
test dl, dl
jne 0x10081d01
mov eax, dword [esp + 0x14]
cmp edi, 1
jne 0x10081ea5
mov byte [ebx + eax], 0
inc eax
jmp 0x10081ea5
cmp edi, 2
jne 0x10081dc8
cmp cl, 0x26
je 0x10081d98
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x10081d80
jmp 0x10081d98
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov byte [ebx + ecx], dl
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x10081d9c
mov ebx, dword [esp + 0x10]
cmp edi, 1
jne 0x10081e67
cmp dl, 0x26
je 0x10081dfc
cmp dl, 0x3d
jne 0x10081e92
mov ecx, dword [esp + 0x14]
cmp byte [ebx + ecx - 1], 0
jne 0x10081e2a
mov cl, byte [eax + esi]
test cl, cl
je 0x10081d9c
nop
cmp cl, 0x23
je 0x10081d9c
cmp byte [eax + esi - 1], 0x26
je 0x10081d9c
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x10081e10
jmp 0x10081d9c
cmp dl, 0x26
jne 0x10081e4f
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 0x10081d9c
mov ecx, dword [esp + 0x14]
xor dl, dl
mov edi, 2
mov byte [ebx + ecx], dl
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x10081d9c
test edi, edi
jne 0x10081e81
cmp dl, 0x3f
je 0x10081e8b
mov ecx, dword [esp + 0x14]
mov byte [ebx + ecx], dl
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x10081d9c
cmp edi, 2
jne 0x10081e92
cmp dl, 0x26
jne 0x10081e92
mov edi, 1
xor dl, dl
mov ecx, dword [esp + 0x14]
mov byte [ebx + ecx], dl
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x10081d9c
xor eax, eax
mov word [ebx + eax], 0
mov eax, ebx
cmp byte [ebx], 0
je 0x10081eb8
inc eax
cmp byte [eax], 0
jne 0x10081eb2
sub eax, ebx
lea ecx, [ebx + 1]
and eax, 0x3fffffff
add ecx, eax
cmp byte [ecx], 0
je 0x10082097
mov esi, 0x6676
mov ebx, 0x73
mov eax, ecx
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x10081ee0
sub eax, ecx
lea edx, [ecx + 1]
and eax, 0x3fffffff
add edx, eax
mov dword [esp + 0x14], edx
mov edi, edx
jne 0x10081efe
xor edi, edi
jmp 0x10081f11
cmp byte [edx], 0
je 0x10081f09
inc edi
cmp byte [edi], 0
jne 0x10081f03
sub edi, edx
and edi, 0x3fffffff
cmp eax, 3
jne 0x10081f31
cmp si, word [ecx]
jne 0x10082085
cmp bl, byte [ecx + 2]
jne 0x10082085
mov dword [esp + 0x30], edx
jmp 0x10082085
cmp eax, 5
jne 0x10081f71
mov eax, 0x68636163
cmp eax, dword [ecx]
jne 0x10082085
mov eax, 0x65
cmp al, byte [ecx + 4]
jne 0x10082085
mov eax, 0x60000
mov dword [esp + 0x24], str.cache
mov dword [esp + 0x2c], eax
mov eax, 0x1010197c
mov dword [esp + 0x28], 0x60000
jmp 0x10081fa9
cmp eax, 4
jne 0x10082085
cmp dword [ecx], 0x65646f6d
jne 0x10082085
mov esi, dword [esp + 0x18]
mov eax, 0x10101954
and esi, 0x87
mov dword [esp + 0x2c], 0x87
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], str.access
mov ecx, dword [eax]
xor ebx, ebx
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x1008202b
cmp byte [ecx], 0
mov eax, ecx
je 0x10081fc6
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x10081fc0
sub eax, ecx
and eax, 0x3fffffff
cmp edi, eax
jne 0x1008201f
mov esi, edi
sub esi, 4
jb 0x10081fe9
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10081fee
add edx, 4
add ecx, 4
sub esi, 4
jae 0x10081fd8
cmp esi, 0xfffffffc
je 0x1008204a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1008201b
cmp esi, 0xfffffffd
je 0x1008204a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1008201b
cmp esi, 0xfffffffe
je 0x1008204a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1008201b
cmp esi, 0xffffffff
je 0x1008204a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1008204a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
inc ebx
mov ecx, dword [eax + ebx*8]
test ecx, ecx
jne 0x10081fb5
push dword [esp + 0x14]
mov dword [esp + 0x20], 1
push dword [esp + 0x28]
push str.no_such__s_mode:__s
call fcn.10007000
add esp, 0xc
jmp 0x100820c5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + ebx*8 + 4]
test ecx, ecx
je 0x1008202b
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [esp + 0x28]
jg 0x100820f1
mov eax, dword [esp + 0x2c]
mov ebx, 0x73
mov edx, dword [esp + 0x14]
not eax
and eax, dword [esp + 0x18]
mov esi, 0x6676
or eax, ecx
mov dword [esp + 0x18], eax
lea ecx, [edx + 1]
add ecx, edi
cmp byte [ecx], 0
jne 0x10081ed7
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
push esi
call fcn.10004330
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x100820d8
push esi
push str.no_such_vfs:__s
mov dword [esp + 0x24], 1
call fcn.10007000
add esp, 8
mov ecx, dword [ebp + 0x14]
push dword [esp + 0x10]
mov dword [ecx], eax
call fcn.10004e50
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 + 0x1c]
mov dword [ecx], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x14]
mov dword [esp + 0x20], 3
push dword [esp + 0x28]
push str._s_mode_not_allowed:__s
call fcn.10007000
add esp, 0xc
jmp 0x100820c5
call fcn.1007f160
test eax, eax
jne 0x1008214c
lea eax, [edi + 2]
push 0
push eax
call fcn.10004a30
mov ebx, eax
mov dword [esp + 0x18], eax
add esp, 8
test ebx, ebx
je 0x1008214c
push edi
push esi
push ebx
call fcn.100c0d20
add esp, 0xc
mov word [ebx + edi], 0
and dword [esp + 0x18], 0xffffffbf
jmp 0x10082097
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret