Function at 0x50a5a0
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
push edi
mov edi, edx
mov dword [esp + 0x34], ecx
mov edx, dword [eax]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], edx
test edi, edi
jne 0x50a5cb
xor esi, esi
jmp 0x50a5df
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x50a5d0
sub esi, ecx
and esi, 0x3fffffff
test dl, 0x40
jne 0x50a5f1
cmp byte [0x70b3be], 0
je 0x50ab95
cmp esi, 5
jb 0x50ab95
mov eax, dword [edi]
mov ecx, str.file:
cmp eax, dword [ecx]
jne 0x50ab95
movzx eax, byte [edi + 4]
cmp al, byte [ecx + 4]
jne 0x50ab95
or edx, 0x40
mov dword [esp + 0x10], 0
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], edx
lea ebx, [esi + 2]
test esi, esi
je 0x50a661
cmp byte [eax + edi], 0x26
jne 0x50a645
mov ecx, 1
xor edx, edx
jmp 0x50a656
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add ebx, ecx
adc dword [esp + 0x20], edx
inc eax
cmp eax, esi
jl 0x50a636
call fcn.00507d40
test eax, eax
jne 0x50abfe
mov ecx, dword [esp + 0x20]
mov eax, ebx
or eax, ecx
je 0x50a68a
push ecx
push ebx
call fcn.004803a0
add esp, 8
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x50a690
xor ebx, ebx
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x50abfe
cmp byte [edi + 5], 0x2f
mov esi, 5
jne 0x50a702
cmp byte [edi + 6], 0x2f
jne 0x50a702
mov al, byte [edi + 7]
lea ecx, [edi + 7]
mov esi, 7
test al, al
je 0x50a702
cmp al, 0x2f
je 0x50a6c5
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x50a6b8
cmp esi, 7
je 0x50a702
cmp esi, 0x10
jne 0x50a6eb
mov edx, str.localhost
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x50a6eb
mov eax, dword [edx + 4]
cmp eax, dword [ecx + 4]
jne 0x50a6eb
movzx eax, byte [edx + 8]
cmp al, byte [ecx + 8]
je 0x50a702
push ecx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.00482c40
add esp, 0xc
jmp 0x50ab13
mov dl, byte [esi + edi]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test dl, dl
je 0x50a8be
cmp dl, 0x23
je 0x50a7b5
inc esi
cmp dl, 0x25
jne 0x50a7f6
mov bl, byte [esi + edi]
movzx eax, bl
test byte [eax + 0x6cccf0], 8
je 0x50a7f2
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x6cccf0], 8
je 0x50a7f2
movsx edx, bl
movsx ebx, byte [esi + edi + 1]
mov ecx, edx
sar ecx, 6
add esi, 2
and cl, 1
mov al, cl
shl al, 3
sub al, cl
sub dl, al
mov eax, ebx
sar eax, 6
and edx, 0xf
and al, 1
shl edx, 4
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
sub al, cl
mov ecx, dword [esp + 0x18]
and eax, 0xf
add edx, eax
jne 0x50a7e0
mov al, byte [esi + edi]
test al, al
je 0x50a7a6
cmp al, 0x23
je 0x50a7a6
test ecx, ecx
jne 0x50a79d
cmp al, 0x3f
jmp 0x50a7d3
cmp ecx, 1
jne 0x50a7cc
cmp al, 0x3d
jne 0x50a7d1
mov ebx, dword [esp + 0xc]
mov dl, byte [esi + edi]
test dl, dl
jne 0x50a713
mov eax, dword [esp + 0x10]
cmp ecx, 1
jne 0x50a8c0
mov byte [ebx + eax], 0
inc eax
jmp 0x50a8c0
cmp ecx, 2
jne 0x50a7d5
cmp al, 0x26
je 0x50a7a6
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x50a791
jmp 0x50a7a6
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov byte [ebx + eax], dl
inc eax
mov dword [esp + 0x10], eax
jmp 0x50a7aa
mov ebx, dword [esp + 0xc]
cmp ecx, 1
jne 0x50a87e
cmp dl, 0x26
je 0x50a80d
cmp dl, 0x3d
jne 0x50a8ad
mov eax, dword [esp + 0x10]
cmp byte [ebx + eax - 1], 0
jne 0x50a83d
mov al, byte [esi + edi]
test al, al
je 0x50a7aa
nop
cmp al, 0x23
je 0x50a7aa
cmp byte [esi + edi - 1], 0x26
je 0x50a7aa
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x50a820
jmp 0x50a7aa
cmp dl, 0x26
jne 0x50a862
mov edx, dword [esp + 0x10]
mov byte [ebx + edx], 0
inc edx
mov dword [esp + 0x10], edx
xor dl, dl
mov eax, dword [esp + 0x10]
mov byte [ebx + eax], dl
inc eax
mov dword [esp + 0x10], eax
jmp 0x50a7aa
mov eax, dword [esp + 0x10]
xor dl, dl
mov ecx, 2
mov dword [esp + 0x18], ecx
mov byte [ebx + eax], dl
inc eax
mov dword [esp + 0x10], eax
jmp 0x50a7aa
test ecx, ecx
jne 0x50a898
cmp dl, 0x3f
je 0x50a8a2
mov eax, dword [esp + 0x10]
mov byte [ebx + eax], dl
inc eax
mov dword [esp + 0x10], eax
jmp 0x50a7aa
cmp ecx, 2
jne 0x50a8ad
cmp dl, 0x26
jne 0x50a8ad
mov ecx, 1
xor dl, dl
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x10]
mov byte [ebx + eax], dl
inc eax
mov dword [esp + 0x10], eax
jmp 0x50a7aa
xor eax, eax
mov ecx, ebx
mov word [ebx + eax], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50a8d0
sub ecx, edx
lea edx, [ebx + 1]
and ecx, 0x3fffffff
add edx, ecx
cmp byte [edx], al
je 0x50aae9
nop dword [eax]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50a8f5
sub ecx, esi
lea eax, [edx + 1]
and ecx, 0x3fffffff
add eax, ecx
mov dword [esp + 0x10], eax
jne 0x50a913
xor edi, edi
jmp 0x50a927
mov edi, eax
lea esi, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x50a918
sub edi, esi
and edi, 0x3fffffff
cmp ecx, 3
jne 0x50a94f
mov esi, 0x71244c
movzx eax, word [esi]
cmp ax, word [edx]
jne 0x50a94f
movzx eax, byte [esi + 2]
cmp al, byte [edx + 2]
jne 0x50a94f
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
jmp 0x50aad7
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], esi
cmp ecx, 5
jne 0x50a997
mov eax, 0x712444
mov eax, dword [eax]
cmp eax, dword [edx]
jne 0x50a997
mov eax, 0x712444
movzx eax, byte [eax + 4]
cmp al, byte [edx + 4]
jne 0x50a997
mov esi, 0x60000
mov dword [esp + 0x20], str.cache
mov ebx, 0x70abd0
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], esi
cmp ecx, 4
jne 0x50aa01
mov ecx, str.mode
mov eax, dword [ecx]
cmp eax, dword [edx]
je 0x50a9c7
cmp al, byte [edx]
jne 0x50a9cb
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x50a9cb
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x50a9cb
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x50a9cb
xor eax, eax
jmp 0x50a9d0
sbb eax, eax
or eax, 1
mov dword [esp + 0x24], esi
test eax, eax
jne 0x50aa01
mov ecx, dword [esp + 0x14]
mov eax, 0x70abf0
and ecx, 0x87
mov dword [esp + 0x28], 0x87
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], str.access
jmp 0x50aa0d
test ebx, ebx
je 0x50aad3
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
xor ebx, ebx
test eax, eax
je 0x50aa8f
mov edx, eax
lea esi, [edx + 1]
nop word [eax + eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x50aa20
sub edx, esi
and edx, 0x3fffffff
cmp edi, edx
jne 0x50aa83
mov edx, dword [esp + 0x10]
mov esi, edi
sub esi, 4
jb 0x50aa51
nop
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x50aa56
add edx, 4
add eax, 4
sub esi, 4
jae 0x50aa40
cmp esi, 0xfffffffc
je 0x50aaa6
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x50aa83
cmp esi, 0xfffffffd
je 0x50aaa6
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x50aa83
cmp esi, 0xfffffffe
je 0x50aaa6
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x50aa83
cmp esi, 0xffffffff
je 0x50aaa6
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x50aaa6
mov eax, dword [esp + 0x18]
inc ebx
mov eax, dword [eax + ebx*8]
test eax, eax
jne 0x50aa15
push dword [esp + 0x10]
push dword [esp + 0x24]
push str.no_such__s_mode:__s
call fcn.00482c40
add esp, 0xc
jmp 0x50ab13
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + ebx*8 + 4]
test ecx, ecx
je 0x50aa8f
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [esp + 0x24]
jg 0x50ab76
mov eax, dword [esp + 0x28]
not eax
and eax, dword [esp + 0x14]
or eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
add edx, edi
cmp byte [edx], 0
jne 0x50a8f0
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x34]
push esi
call fcn.0047fab0
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x50abe5
push esi
push str.no_such_vfs:__s
call fcn.00482c40
add esp, 8
mov dword [esp + 0x1c], 1
cmp dword [0x70b3b8], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
je 0x50abd5
mov eax, dword [0x71cc58]
test eax, eax
je 0x50ab40
push eax
call dword [0x70b408]
add esp, 4
mov esi, dword [esp + 0xc]
push esi
call dword [0x70b3e4]
sub dword [0x71cc90], eax
add esp, 4
dec dword [0x71ccb4]
push esi
call dword [0x70b3dc]
mov eax, dword [0x71cc58]
add esp, 4
test eax, eax
je 0x50abe3
push eax
call dword [0x70b410]
jmp 0x50abe0
push dword [esp + 0x10]
push dword [esp + 0x24]
push str._s_mode_not_allowed:__s
call fcn.00482c40
add esp, 0xc
mov dword [esp + 0x1c], 3
jmp 0x50ab1b
call fcn.00507d40
test eax, eax
jne 0x50abfe
lea eax, [esi + 2]
push 0
push eax
call fcn.004803a0
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x50abfe
test esi, esi
je 0x50abc5
push esi
push edi
push ebx
call fcn.0063d8a0
add esp, 0xc
and dword [esp + 0x14], 0xffffffbf
mov word [ebx + esi], 0
jmp 0x50aae9
mov esi, dword [esp + 0xc]
push esi
call dword [0x70b3dc]
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
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
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret