Function at 0x47a26f
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
and dword [ebp - 0x14], 0
push ebx
mov ebx, edx
mov dword [ebp - 0x34], ecx
mov eax, dword [eax]
mov ecx, ebx
push esi
push edi
mov dword [ebp - 0xc], eax
call fcn.0040f46f
mov ecx, dword [ebp - 0xc]
mov esi, eax
test cl, 0x40
jne 0x47a2a7
cmp byte [0x65e9be], 0
je 0x47a627
cmp esi, 5
jl 0x47a627
cmp dword [ebx], 0x656c6966
jne 0x47a627
cmp byte [ebx + 4], 0x3a
jne 0x47a627
and dword [ebp - 8], 0
lea eax, [esi + 8]
or ecx, 0x40
cdq
mov dword [ebp - 0xc], ecx
xor ecx, ecx
cmp byte [ecx + ebx], 0x26
jne 0x47a2e5
xor edi, edi
inc edi
and dword [ebp - 0x1c], 0
jmp 0x47a2f6
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x30]
add eax, edi
adc edx, dword [ebp - 0x1c]
inc ecx
cmp ecx, esi
jl 0x47a2d6
push edx
push eax
call fcn.0040c801
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x47a63a
and dword [edi], 0
add edi, 4
cmp byte [ebx + 5], 0x2f
push 5
pop esi
jne 0x47a382
cmp byte [ebx + 6], 0x2f
jne 0x47a382
lea ecx, [ebx + 7]
mov al, byte [ecx]
mov dword [ebp - 0x2c], ecx
push 7
pop esi
test al, al
je 0x47a382
cmp al, 0x2f
je 0x47a343
inc esi
mov al, byte [esi + ebx]
test al, al
jne 0x47a337
cmp esi, 7
je 0x47a382
cmp esi, 0x10
jne 0x47a364
push 9
push ecx
push str.localhost
call fcn.005cb519
add esp, 0xc
test eax, eax
je 0x47a382
mov ecx, dword [ebp - 0x2c]
push ecx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
mov dword [ebp - 0x14], 1
call fcn.0040e6c3
add esp, 0xc
jmp 0x47a685
mov cl, byte [esi + ebx]
xor edx, edx
mov dword [ebp - 0x10], edx
test cl, cl
je 0x47a4c8
cmp cl, 0x23
je 0x47a4b9
inc esi
cmp cl, 0x25
jne 0x47a43e
movzx eax, byte [esi + ebx]
test byte [eax + 0x63a188], 8
je 0x47a43e
movzx eax, byte [esi + ebx + 1]
test byte [eax + 0x63a188], 8
je 0x47a43e
mov dl, byte [esi + ebx]
mov cl, byte [esi + ebx + 1]
mov al, dl
sar al, 6
add esi, 2
and al, 1
movzx eax, al
imul eax, eax, 7
sub dl, al
mov al, cl
sar al, 6
and edx, 0xf
and al, 1
shl edx, 4
movzx eax, al
imul eax, eax, 7
sub cl, al
and ecx, 0xf
add ecx, edx
mov edx, dword [ebp - 0x10]
jne 0x47a4a4
jmp 0x47a435
cmp al, 0x23
je 0x47a4ae
test edx, edx
jne 0x47a416
cmp al, 0x3f
je 0x47a4ae
cmp edx, 1
jne 0x47a42b
cmp al, 0x3d
je 0x47a4ae
cmp al, 0x26
je 0x47a4ae
cmp edx, 2
jne 0x47a434
cmp al, 0x26
je 0x47a4ae
inc esi
mov al, byte [esi + ebx]
test al, al
jne 0x47a402
jmp 0x47a4ae
cmp edx, 1
jne 0x47a489
cmp cl, 0x26
je 0x47a44d
cmp cl, 0x3d
jne 0x47a4a4
mov eax, dword [ebp - 8]
cmp byte [edi + eax - 1], 0
je 0x47a476
cmp cl, 0x26
jne 0x47a47f
mov ecx, eax
mov byte [edi + ecx], 0
inc ecx
mov dword [ebp - 8], ecx
mov eax, ecx
jmp 0x47a485
cmp al, 0x23
je 0x47a4ae
cmp byte [esi + ebx - 1], 0x26
je 0x47a4ae
inc esi
mov al, byte [esi + ebx]
test al, al
jne 0x47a46a
jmp 0x47a4ae
push 2
pop edx
mov dword [ebp - 0x10], edx
xor cl, cl
jmp 0x47a4a7
test edx, edx
jne 0x47a492
cmp cl, 0x3f
je 0x47a49c
cmp edx, 2
jne 0x47a4a4
cmp cl, 0x26
jne 0x47a4a4
xor edx, edx
xor cl, cl
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov byte [edi + eax], cl
inc eax
mov dword [ebp - 8], eax
mov cl, byte [esi + ebx]
test cl, cl
jne 0x47a392
mov eax, dword [ebp - 8]
cmp edx, 1
jne 0x47a4cb
mov byte [edi + eax], 0
inc eax
jmp 0x47a4cb
mov eax, dword [ebp - 8]
and dword [edi + eax], 0
mov ecx, edi
call fcn.0040f46f
lea esi, [eax + 1]
add esi, edi
jmp 0x47a607
mov ecx, esi
call fcn.0040f46f
mov ebx, eax
lea eax, [esi + 1]
add eax, ebx
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.0040f46f
mov dword [ebp - 0x2c], eax
cmp ebx, 3
jne 0x47a525
mov ebx, dword [ebp - 8]
mov ecx, 0x6676
cmp cx, word [esi]
jne 0x47a602
push 0x73
pop ecx
cmp cl, byte [esi + 2]
jne 0x47a602
mov dword [ebp - 0x34], ebx
jmp 0x47a602
cmp ebx, 5
jne 0x47a559
mov ecx, 0x68636163
cmp ecx, dword [esi]
jne 0x47a5ff
push 0x65
pop ecx
cmp cl, byte [esi + 4]
jne 0x47a5ff
mov ecx, 0x60000
mov dword [ebp - 0x1c], str.cache
mov eax, 0x660718
mov dword [ebp - 0x24], ecx
jmp 0x47a587
cmp ebx, 4
jne 0x47a5ff
cmp dword [esi], 0x65646f6d
jne 0x47a5ff
mov edx, dword [ebp - 0xc]
mov ecx, 0x87
and edx, ecx
mov dword [ebp - 0x1c], str.access
mov eax, 0x6601e8
mov dword [ebp - 0x24], edx
mov ebx, dword [ebp - 8]
mov esi, ecx
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov eax, dword [eax]
jmp 0x47a5be
mov ecx, eax
call fcn.0040f46f
mov ecx, dword [ebp - 0x2c]
cmp ecx, eax
jne 0x47a5b4
push ecx
push dword [ebp - 0x20]
push ebx
call fcn.005cb519
add esp, 0xc
test eax, eax
je 0x47a5d6
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
inc ecx
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ecx
test eax, eax
jne 0x47a595
push ebx
push dword [ebp - 0x1c]
push str.no_such__s_mode:__s
jmp 0x47a36e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [eax + ecx*8 + 4]
test ecx, ecx
je 0x47a5c8
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x24]
jg 0x47a612
mov eax, dword [ebp - 0x2c]
not esi
and esi, dword [ebp - 0xc]
or esi, ecx
mov dword [ebp - 0xc], esi
jmp 0x47a602
mov ebx, dword [ebp - 8]
lea esi, [ebx + 1]
add esi, eax
cmp byte [esi], 0
jne 0x47a4e0
jmp 0x47a65c
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], 3
push str._s_mode_not_allowed:__s
jmp 0x47a375
lea eax, [esi + 8]
cdq
push edx
push eax
call fcn.0040c801
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x47a63f
push 7
pop eax
jmp 0x47a6a3
and dword [edi], 0
add edi, 4
test esi, esi
je 0x47a654
push esi
push ebx
push edi
call fcn.005cadb0
add esp, 0xc
and dword [edi + esi], 0
and dword [ebp - 0xc], 0xffffffbf
mov esi, dword [ebp - 0x34]
push esi
call fcn.0040bf77
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x47a693
push esi
push str.no_such_vfs:__s
mov dword [ebp - 0x14], 1
call fcn.0040e6c3
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
push edi
call fcn.0047b83a
pop ecx
xor edi, edi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ecx], edi
pop edi
pop esi
pop ebx
leave
ret