Function at 0x468187
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], eax
call fcn.004279b5
mov esi, eax
test dl, 0x40
jne 0x4681bf
cmp dword [0x4b4054], ebx
je 0x468511
cmp esi, 5
jl 0x468511
push 5
push str.file:
push edi
call fcn.00475891
add esp, 0xc
test eax, eax
jne 0x468511
or dword [ebp - 8], 0x40
mov dword [ebp - 4], ebx
lea ecx, [esi + 2]
cmp esi, ebx
jle 0x4681fe
xor edx, edx
cmp byte [eax + edi], 0x26
sete dl
add ecx, edx
inc eax
cmp eax, esi
jl 0x4681ee
push ecx
call fcn.00425c6b
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x468214
push 7
pop eax
jmp 0x46858c
cmp byte [edi + 5], 0x2f
jne 0x46826d
cmp byte [edi + 6], 0x2f
jne 0x46826d
lea ebx, [edi + 7]
mov al, byte [ebx]
push 7
pop esi
test al, al
je 0x468270
cmp al, 0x2f
je 0x468238
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x46822c
cmp esi, 7
je 0x468270
cmp esi, 0x10
jne 0x468256
push 9
push ebx
push str.localhost
call fcn.00475891
add esp, 0xc
test eax, eax
je 0x468270
push ebx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call fcn.0042714b
add esp, 0xc
jmp 0x468560
push 5
pop esi
mov cl, byte [esi + edi]
and dword [ebp + 8], 0
test cl, cl
je 0x4683ba
cmp cl, 0x23
je 0x4683a7
inc esi
cmp cl, 0x25
jne 0x468329
mov al, byte [esi + edi]
movzx edx, al
test byte [edx + 0x498968], 8
je 0x468329
movzx edx, byte [esi + edi + 1]
test byte [edx + 0x498968], 8
je 0x468329
movsx edx, byte [esi + edi + 1]
movsx ecx, al
mov eax, ecx
sar eax, 6
and al, 1
mov bl, 7
imul bl
sub cl, al
mov eax, edx
sar eax, 6
and al, 1
imul bl
sub dl, al
and ecx, 0xf
shl ecx, 4
and edx, 0xf
add esi, 2
add ecx, edx
jne 0x468390
jmp 0x468320
cmp al, 0x23
je 0x46839c
cmp dword [ebp + 8], 0
jne 0x4682ff
cmp al, 0x3f
je 0x46839c
cmp dword [ebp + 8], 1
jne 0x468315
cmp al, 0x3d
je 0x46839c
cmp al, 0x26
je 0x46839c
cmp dword [ebp + 8], 2
jne 0x46831f
cmp al, 0x26
je 0x46839c
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4682e9
jmp 0x46839c
xor eax, eax
inc eax
cmp dword [ebp + 8], eax
jne 0x468375
cmp cl, 0x26
je 0x46833b
cmp cl, 0x3d
jne 0x468390
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp byte [edx + eax - 1], 0
je 0x468363
cmp cl, 0x26
jne 0x46836c
mov byte [edx + eax], 0
inc eax
mov dword [ebp - 4], eax
jmp 0x46838e
cmp al, 0x23
je 0x46839c
cmp byte [esi + edi - 1], 0x26
je 0x46839c
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x468357
jmp 0x46839c
mov dword [ebp + 8], 2
jmp 0x46838e
cmp dword [ebp + 8], 0
jne 0x468380
cmp cl, 0x3f
je 0x46838b
cmp dword [ebp + 8], 2
jne 0x468390
cmp cl, 0x26
jne 0x468390
mov dword [ebp + 8], eax
xor cl, cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
inc dword [ebp - 4]
mov byte [eax + edx], cl
mov cl, byte [esi + edi]
test cl, cl
jne 0x46827f
cmp dword [ebp + 8], 1
jne 0x4683ba
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
inc dword [ebp - 4]
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov word [eax + ecx], 0
call fcn.004279b5
jmp 0x4684e6
mov ecx, esi
call fcn.004279b5
mov edx, eax
lea edi, [edx + esi + 1]
mov ecx, edi
mov dword [ebp - 0x20], edx
mov dword [ebp + 8], edi
call fcn.004279b5
mov dword [ebp - 0x18], eax
cmp edx, 3
jne 0x46840d
push edx
push esi
push 0x4a4904
call fcn.00475891
add esp, 0xc
test eax, eax
jne 0x46840d
mov dword [ebp - 0x1c], edi
jmp 0x4684e0
xor ebx, ebx
xor edi, edi
cmp dword [ebp - 0x20], 5
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
jne 0x468449
push 5
push esi
push str.cache
call fcn.00475891
add esp, 0xc
test eax, eax
jne 0x4684e0
mov ebx, 0x60000
mov dword [ebp - 0x14], ebx
mov edi, 0x4b4ea4
mov dword [ebp - 4], str.cache
cmp dword [ebp - 0x20], 4
jne 0x46847c
push 4
push esi
push str.mode
call fcn.00475891
add esp, 0xc
test eax, eax
jne 0x46847c
mov ebx, dword [ebp - 8]
mov eax, 0x87
mov dword [ebp - 0x14], eax
mov edi, 0x4b4ebc
and ebx, eax
mov dword [ebp - 4], str.access
xor esi, esi
cmp edi, esi
je 0x4684e0
cmp dword [edi], esi
je 0x4684b0
mov eax, edi
mov ecx, dword [eax]
call fcn.004279b5
cmp dword [ebp - 0x18], eax
jne 0x4684a7
push dword [ebp - 0x18]
push ecx
push dword [ebp + 8]
call fcn.00475891
add esp, 0xc
test eax, eax
je 0x4684c0
inc esi
lea eax, [edi + esi*8]
cmp dword [eax], 0
jne 0x468488
push dword [ebp + 8]
push dword [ebp - 4]
push str.no_such__s_mode:__s
jmp 0x468260
mov esi, dword [edi + esi*8 + 4]
test esi, esi
je 0x4684b0
mov eax, esi
and eax, 0xffffff7f
cmp eax, ebx
jg 0x4684f5
mov eax, dword [ebp - 0x14]
not eax
and eax, dword [ebp - 8]
or eax, esi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
lea esi, [eax + ecx + 1]
cmp byte [esi], 0
jne 0x4683d0
jmp 0x46853f
push dword [ebp + 8]
push dword [ebp - 4]
push str._s_mode_not_allowed:__s
call fcn.0042714b
add esp, 0xc
mov dword [ebp - 0x10], 3
jmp 0x468567
lea eax, [esi + 2]
push eax
call fcn.00425c6b
mov ebx, eax
pop ecx
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x46820c
push esi
push edi
push ebx
call fcn.004751c0
lea eax, [ebx + esi]
add esp, 0xc
and dword [ebp - 8], 0xffffffbf
mov word [eax], 0
push dword [ebp - 0x1c]
call fcn.0042554c
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test eax, eax
jne 0x468579
push dword [ebp - 0x1c]
push str.no_such_vfs:__s
call fcn.0042714b
pop ecx
pop ecx
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp + 0x18]
push dword [ebp - 0xc]
mov dword [ecx], eax
call fcn.00425e23
pop ecx
xor eax, eax
jmp 0x46857c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret