Function at 0x4ad900
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x18], 0
push ebx
push esi
mov edx, dword [eax]
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x10], edx
call fcn.004b4336
mov ebx, eax
pop ecx
test dl, 0x40
jne 0x4ad933
cmp dword [0x7a6484], 0
je 0x4adcf4
cmp ebx, 5
jl 0x4adcf4
push 5
push str.file:
push edi
call fcn.00684e6b
add esp, 0xc
test eax, eax
jne 0x4adcf4
and dword [ebp - 0xc], eax
lea edx, [ebx + 2]
or dword [ebp - 0x10], 0x40
xor ecx, ecx
test ebx, ebx
jle 0x4ad974
xor eax, eax
cmp byte [ecx + edi], 0x26
sete al
add edx, eax
inc ecx
cmp ecx, ebx
jl 0x4ad964
push edx
call fcn.00481f77
mov edx, eax
mov dword [ebp - 8], edx
pop ecx
test edx, edx
jne 0x4ad98c
push 7
pop eax
jmp 0x4adcd0
cmp byte [edi + 5], 0x2f
push 5
pop esi
jne 0x4ad9ee
cmp byte [edi + 6], 0x2f
jne 0x4ad9ee
lea ebx, [edi + 7]
mov al, byte [ebx]
push 7
pop esi
test al, al
je 0x4ad9ee
cmp al, 0x2f
je 0x4ad9b3
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4ad9a7
cmp esi, 7
je 0x4ad9ee
cmp esi, 0x10
jne 0x4ad9d1
push 9
push ebx
push str.localhost
call fcn.00684e6b
add esp, 0xc
test eax, eax
je 0x4ad9eb
push ebx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.00481e5f
mov esi, dword [ebp - 8]
add esp, 0xc
jmp 0x4adcab
mov edx, dword [ebp - 8]
mov bl, byte [esi + edi]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test bl, bl
je 0x4adb3b
cmp bl, 0x23
je 0x4adab7
inc esi
cmp bl, 0x25
jne 0x4adac6
mov al, byte [esi + edi]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x6f5e98], 8
je 0x4adac6
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x6f5e98], 8
je 0x4adac6
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 0x4adaa2
mov edx, dword [ebp - 8]
jmp 0x4adb2c
cmp al, 0x23
je 0x4adaa9
test ecx, ecx
jne 0x4ada8b
cmp al, 0x3f
je 0x4adaa9
cmp ecx, 1
jne 0x4ada98
cmp al, 0x3d
je 0x4adaa9
cmp al, 0x26
je 0x4adaa9
cmp ecx, 2
jne 0x4adaa1
cmp al, 0x26
je 0x4adaa9
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4ada7f
mov edx, dword [ebp - 8]
mov bl, byte [esi + edi]
test bl, bl
jne 0x4ad9fe
mov eax, dword [ebp - 0xc]
cmp ecx, 1
jne 0x4adb3e
mov byte [edx + eax], 0
inc eax
jmp 0x4adb3e
cmp ecx, 1
jne 0x4adb11
cmp bl, 0x26
je 0x4adad5
cmp bl, 0x3d
jne 0x4adb2c
mov eax, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0
je 0x4adafe
cmp bl, 0x26
jne 0x4adb07
mov ebx, eax
mov byte [edx + ebx], 0
inc ebx
mov dword [ebp - 0xc], ebx
mov eax, ebx
jmp 0x4adb0d
cmp al, 0x23
je 0x4adaac
cmp byte [esi + edi - 1], 0x26
je 0x4adaac
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4adaf2
jmp 0x4adaac
push 2
pop ecx
mov dword [ebp - 0x14], ecx
xor bl, bl
jmp 0x4adb2f
test ecx, ecx
jne 0x4adb1a
cmp bl, 0x3f
je 0x4adb24
cmp ecx, 2
jne 0x4adb2c
cmp bl, 0x26
jne 0x4adb2c
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 0x4adaac
mov eax, dword [ebp - 0xc]
push edx
mov word [edx + eax], 0
call fcn.004b4336
pop ecx
lea edi, [edx + 1]
jmp 0x4adc7b
push edi
call fcn.004b4336
mov ebx, eax
lea eax, [edi + 1]
add eax, ebx
mov dword [ebp - 0x1c], ebx
push eax
mov dword [ebp - 0x14], eax
call fcn.004b4336
mov dword [ebp - 0x24], eax
pop ecx
pop ecx
cmp ebx, 3
jne 0x4adb94
push ebx
push edi
push 0x6fd4fc
call fcn.00684e6b
add esp, 0xc
test eax, eax
jne 0x4adb94
mov edi, dword [ebp - 0x14]
mov dword [ebp + 8], edi
jmp 0x4adc77
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
and dword [ebp - 0xc], ebx
xor esi, esi
cmp eax, 5
jne 0x4adbca
push eax
push edi
push str.cache
call fcn.00684e6b
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x4adbca
mov esi, 0x60000
mov dword [ebp - 0xc], str.cache
mov ebx, 0x7a65f4
mov dword [ebp - 0x20], esi
cmp eax, 4
jne 0x4adc03
push eax
push edi
push str.mode
mov dword [ebp - 0x20], esi
call fcn.00684e6b
add esp, 0xc
test eax, eax
jne 0x4adc03
mov ecx, dword [ebp - 0x10]
mov eax, 0x87
and ecx, eax
mov dword [ebp - 0xc], str.access
mov esi, eax
mov dword [ebp - 0x20], ecx
mov ebx, 0x7a660c
mov edi, dword [ebp - 0x14]
test ebx, ebx
je 0x4adc77
xor edx, edx
mov dword [ebp - 0x1c], edx
cmp dword [ebx], edx
je 0x4adc48
mov eax, ebx
mov eax, dword [eax]
push eax
mov dword [ebp - 0x14], eax
call fcn.004b4336
pop ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jne 0x4adc3c
push ecx
push dword [ebp - 0x14]
push edi
call fcn.00684e6b
add esp, 0xc
test eax, eax
je 0x4adc56
mov edx, dword [ebp - 0x1c]
inc edx
mov dword [ebp - 0x1c], edx
lea eax, [ebx + edx*8]
cmp dword [eax], 0
jne 0x4adc15
push edi
push dword [ebp - 0xc]
push str.no_such__s_mode:__s
jmp 0x4ad9db
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebx + ecx*8 + 4]
test ecx, ecx
je 0x4adc48
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x20]
jg 0x4adcd7
not esi
and esi, dword [ebp - 0x10]
or esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x24]
inc eax
add edi, eax
cmp byte [edi], 0
jne 0x4adb53
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
push edi
call fcn.00481693
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
jne 0x4adcc0
push edi
push str.no_such_vfs:__s
call fcn.00481e5f
pop ecx
pop ecx
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
push esi
call fcn.00482010
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 - 0xc]
push str._s_mode_not_allowed:__s
call fcn.00481e5f
mov esi, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x18], 3
jmp 0x4adcb2
lea eax, [ebx + 2]
push eax
call fcn.00481f77
mov esi, eax
pop ecx
test esi, esi
je 0x4ad984
push ebx
push edi
push esi
call fcn.00689000
add esp, 0xc
mov word [esi + ebx], 0
and dword [ebp - 0x10], 0xffffffbf
jmp 0x4adc89