Function at 0x5b7ef8
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x18], 0
push ebx
push esi
mov eax, dword [eax]
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x10], eax
call fcn.005be714
pop ecx
mov ecx, dword [ebp - 0x10]
mov ebx, eax
test cl, 0x40
jne 0x5b7f2e
cmp dword [0x667d54], 0
je 0x5b82d7
cmp ebx, 5
jl 0x5b82d7
cmp dword [edi], 0x656c6966
jne 0x5b82d7
cmp byte [edi + 4], 0x3a
jne 0x5b82d7
and dword [ebp - 0xc], 0
lea edx, [ebx + 2]
or ecx, 0x40
mov dword [ebp - 0x10], ecx
xor ecx, ecx
test ebx, ebx
jle 0x5b7f70
xor eax, eax
cmp byte [ecx + edi], 0x26
sete al
add edx, eax
inc ecx
cmp ecx, ebx
jl 0x5b7f60
push edx
call fcn.005812b7
mov edx, eax
mov dword [ebp - 8], edx
pop ecx
test edx, edx
jne 0x5b7f88
push 7
pop eax
jmp 0x5b82b3
cmp byte [edi + 5], 0x2f
push 5
pop esi
jne 0x5b7fea
cmp byte [edi + 6], 0x2f
jne 0x5b7fea
lea ebx, [edi + 7]
mov al, byte [ebx]
push 7
pop esi
test al, al
je 0x5b7fea
cmp al, 0x2f
je 0x5b7faf
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x5b7fa3
cmp esi, 7
je 0x5b7fea
cmp esi, 0x10
jne 0x5b7fcd
push 9
push ebx
push str.localhost
call fcn.0050ba3a
add esp, 0xc
test eax, eax
je 0x5b7fe7
push ebx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.005811c4
mov esi, dword [ebp - 8]
add esp, 0xc
jmp 0x5b828e
mov edx, dword [ebp - 8]
mov bl, byte [esi + edi]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test bl, bl
je 0x5b8137
cmp bl, 0x23
je 0x5b80b3
inc esi
cmp bl, 0x25
jne 0x5b80c2
mov al, byte [esi + edi]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x610188], 8
je 0x5b80c2
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x610188], 8
je 0x5b80c2
movsx ecx, byte [ebp - 1]
movsx edx, byte [esi + edi + 1]
mov eax, ecx
sar eax, 6
mov bl, cl
and al, 1
mov cl, dl
movzx eax, al
add esi, 2
imul eax, eax, 7
sub bl, al
mov eax, edx
sar eax, 6
and ebx, 0xf
and al, 1
shl ebx, 4
movzx eax, al
imul eax, eax, 7
sub cl, al
and ecx, 0xf
add ebx, ecx
mov ecx, dword [ebp - 0x14]
je 0x5b809e
mov edx, dword [ebp - 8]
jmp 0x5b8128
cmp al, 0x23
je 0x5b80a5
test ecx, ecx
jne 0x5b8087
cmp al, 0x3f
je 0x5b80a5
cmp ecx, 1
jne 0x5b8094
cmp al, 0x3d
je 0x5b80a5
cmp al, 0x26
je 0x5b80a5
cmp ecx, 2
jne 0x5b809d
cmp al, 0x26
je 0x5b80a5
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x5b807b
mov edx, dword [ebp - 8]
mov bl, byte [esi + edi]
test bl, bl
jne 0x5b7ffa
mov eax, dword [ebp - 0xc]
cmp ecx, 1
jne 0x5b813a
mov byte [edx + eax], 0
inc eax
jmp 0x5b813a
cmp ecx, 1
jne 0x5b810d
cmp bl, 0x26
je 0x5b80d1
cmp bl, 0x3d
jne 0x5b8128
mov eax, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0
je 0x5b80fa
cmp bl, 0x26
jne 0x5b8103
mov ebx, eax
mov byte [edx + ebx], 0
inc ebx
mov dword [ebp - 0xc], ebx
mov eax, ebx
jmp 0x5b8109
cmp al, 0x23
je 0x5b80a8
cmp byte [esi + edi - 1], 0x26
je 0x5b80a8
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x5b80ee
jmp 0x5b80a8
push 2
pop ecx
mov dword [ebp - 0x14], ecx
xor bl, bl
jmp 0x5b812b
test ecx, ecx
jne 0x5b8116
cmp bl, 0x3f
je 0x5b8120
cmp ecx, 2
jne 0x5b8128
cmp bl, 0x26
jne 0x5b8128
xor ecx, ecx
xor bl, bl
inc ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0xc]
mov byte [edx + eax], bl
inc eax
mov dword [ebp - 0xc], eax
jmp 0x5b80a8
mov eax, dword [ebp - 0xc]
push edx
mov word [edx + eax], 0
call fcn.005be714
inc edx
pop ecx
add edx, eax
jmp 0x5b8260
push edx
call fcn.005be714
mov ebx, eax
lea edi, [edx + 1]
add edi, ebx
mov dword [ebp - 0x1c], ebx
push edi
call fcn.005be714
mov dword [ebp - 0x20], eax
pop ecx
pop ecx
cmp ebx, 3
jne 0x5b8189
mov eax, 0x6676
cmp ax, word [edx]
jne 0x5b8189
push 0x73
pop eax
cmp al, byte [edx + 2]
jne 0x5b8189
mov dword [ebp + 8], edi
jmp 0x5b825a
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
and dword [ebp - 0x14], ebx
xor esi, esi
cmp eax, 5
jne 0x5b81ba
mov ecx, 0x68636163
cmp ecx, dword [edx]
jne 0x5b81ba
push 0x65
pop ecx
cmp cl, byte [edx + 4]
jne 0x5b81ba
mov esi, 0x60000
mov dword [ebp - 0x14], 0x616890
mov ebx, 0x667e5c
mov dword [ebp - 0x1c], esi
cmp eax, 4
jne 0x5b81f3
push eax
push edx
push str.mode
call fcn.0050ba3a
add esp, 0xc
mov dword [ebp - 0x1c], esi
test eax, eax
jne 0x5b81f3
mov ecx, dword [ebp - 0x10]
mov eax, 0x87
and ecx, eax
mov dword [ebp - 0x14], str.access
mov esi, eax
mov dword [ebp - 0x1c], ecx
mov ebx, 0x667e74
test ebx, ebx
je 0x5b825a
mov edx, dword [ebx]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
jmp 0x5b8227
push edx
call fcn.005be714
pop ecx
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
jne 0x5b821d
push ecx
push edx
push edi
call fcn.0050ba3a
add esp, 0xc
test eax, eax
je 0x5b8239
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov edx, dword [ebx + eax*8]
test edx, edx
jne 0x5b8200
push edi
push dword [ebp - 0x14]
push str.no_such__s_mode:__s
jmp 0x5b7fd7
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebx + ecx*8 + 4]
test ecx, ecx
je 0x5b822b
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x1c]
jg 0x5b82ba
not esi
and esi, dword [ebp - 0x10]
or esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [ebp - 0x20]
inc edx
add edx, edi
cmp byte [edx], 0
jne 0x5b814f
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
push edi
call fcn.0057fc23
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
jne 0x5b82a3
push edi
push str.no_such_vfs:__s
call fcn.005811c4
pop ecx
pop ecx
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
push esi
call fcn.005813ec
pop ecx
xor esi, esi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ecx], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 0x14]
push str._s_mode_not_allowed:__s
call fcn.005811c4
mov esi, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x18], 3
jmp 0x5b8295
lea eax, [ebx + 2]
push eax
call fcn.005812b7
mov esi, eax
pop ecx
test esi, esi
je 0x5b7f80
push ebx
push edi
push esi
call fcn.0050ac20
add esp, 0xc
mov word [esi + ebx], 0
and dword [ebp - 0x10], 0xffffffbf
jmp 0x5b826c