Function at 0x47c7b0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], ecx
push edi
mov edi, esi
test esi, esi
je 0x47c7e4
cmp byte [esi], 0
je 0x47c7dc
inc edi
cmp byte [edi], 0
jne 0x47c7d6
sub edi, esi
and edi, 0x3fffffff
test cl, 0x40
jne 0x47c7f6
cmp dword [0x52bcbc], 0
je 0x47ccc2
cmp edi, 5
jb 0x47ccc2
cmp dword [esi], 0x656c6966
jne 0x47ccc2
cmp byte [esi + 4], 0x3a
jne 0x47ccc2
lea eax, [edi + 2]
xor ebx, ebx
mov dword [ebp - 0x10], eax
or ecx, 0x40
xor eax, eax
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
test edi, edi
je 0x47c858
nop
cmp byte [eax + esi], 0x26
jne 0x47c83f
mov ecx, 1
xor edx, edx
jmp 0x47c84d
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
add dword [ebp - 0x10], ecx
adc dword [ebp - 0x14], edx
inc eax
cmp eax, edi
jl 0x47c830
call fcn.00497870
test eax, eax
jne 0x47cda1
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00479a90
mov edi, eax
add esp, 8
mov dword [ebp - 4], edi
test edi, edi
je 0x47cda1
cmp byte [esi + 5], 0x2f
mov eax, 5
jne 0x47c8ec
cmp byte [esi + 6], 0x2f
jne 0x47c8ec
mov cl, byte [esi + 7]
lea edx, [esi + 7]
mov eax, 7
test cl, cl
je 0x47c8ec
cmp cl, 0x2f
je 0x47c8ae
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x47c8a0
cmp eax, 7
je 0x47c8ec
cmp eax, 0x10
jne 0x47c8d5
mov ecx, 0x61636f6c
cmp ecx, dword [edx]
jne 0x47c8d5
mov ecx, 0x736f686c
cmp ecx, dword [edx + 4]
jne 0x47c8d5
mov ecx, 0x74
cmp cl, byte [edx + 8]
je 0x47c8ec
push edx
add eax, 0xfffffff9
push eax
push str.invalid_uri_authority:__.s
call fcn.0043c200
add esp, 0xc
jmp 0x47cd27
mov dl, byte [eax + esi]
xor edi, edi
test dl, dl
je 0x47ca96
nop dword [eax]
cmp dl, 0x23
je 0x47c9ad
inc eax
cmp dl, 0x25
jne 0x47c9ea
mov bl, byte [eax + esi]
movzx ecx, bl
test byte [ecx + 0x5071b0], 8
je 0x47c9e7
movzx ecx, byte [eax + esi + 1]
test byte [ecx + 0x5071b0], 8
je 0x47c9e7
movsx ecx, byte [eax + esi + 1]
add eax, 2
movsx ebx, bl
mov dword [ebp - 0x1c], ecx
mov edx, ebx
sar edx, 6
and dl, 1
mov cl, dl
shl cl, 3
sub cl, dl
sub bl, cl
and ebx, 0xf
shl ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
sar ecx, 6
and cl, 1
mov dl, cl
shl dl, 3
sub dl, cl
mov cl, bl
sub cl, dl
mov edx, dword [ebp - 0x18]
and ecx, 0xf
add edx, ecx
jne 0x47c9d8
mov cl, byte [eax + esi]
test cl, cl
je 0x47c99f
cmp cl, 0x23
je 0x47c99f
test edi, edi
jne 0x47c995
cmp cl, 0x3f
jmp 0x47c9cb
cmp edi, 1
jne 0x47c9c3
cmp cl, 0x3d
jne 0x47c9c8
mov ebx, dword [ebp + 0xc]
mov dl, byte [eax + esi]
test dl, dl
jne 0x47c900
cmp edi, 1
mov edi, dword [ebp - 4]
jne 0x47ca99
mov byte [edi + ebx], 0
inc ebx
jmp 0x47ca99
cmp edi, 2
jne 0x47c9cd
cmp cl, 0x26
je 0x47c99f
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x47c987
jmp 0x47c99f
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov byte [ecx + ebx], dl
inc ebx
mov dword [ebp + 0xc], ebx
jmp 0x47c9a2
mov ebx, dword [ebp + 0xc]
cmp edi, 1
jne 0x47ca5e
cmp dl, 0x26
je 0x47c9fd
cmp dl, 0x3d
jne 0x47ca87
mov ecx, dword [ebp - 4]
cmp byte [ecx + ebx - 1], 0
jne 0x47ca2a
mov cl, byte [eax + esi]
test cl, cl
je 0x47c9a2
nop
cmp cl, 0x23
je 0x47c9a2
cmp byte [eax + esi - 1], 0x26
je 0x47c9a2
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x47ca10
jmp 0x47c9a2
cmp dl, 0x26
jne 0x47ca48
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov byte [edx + ebx], 0
inc ebx
xor dl, dl
mov byte [ecx + ebx], dl
inc ebx
mov dword [ebp + 0xc], ebx
jmp 0x47c9a2
mov ecx, dword [ebp - 4]
xor dl, dl
mov edi, 2
mov byte [ecx + ebx], dl
inc ebx
mov dword [ebp + 0xc], ebx
jmp 0x47c9a2
test edi, edi
jne 0x47ca76
cmp dl, 0x3f
je 0x47ca80
mov ecx, dword [ebp - 4]
mov byte [ecx + ebx], dl
inc ebx
mov dword [ebp + 0xc], ebx
jmp 0x47c9a2
cmp edi, 2
jne 0x47ca87
cmp dl, 0x26
jne 0x47ca87
mov edi, 1
xor dl, dl
mov ecx, dword [ebp - 4]
mov byte [ecx + ebx], dl
inc ebx
mov dword [ebp + 0xc], ebx
jmp 0x47c9a2
mov edi, dword [ebp - 4]
mov word [edi + ebx], 0
mov eax, edi
cmp byte [edi], 0
je 0x47caac
inc eax
cmp byte [eax], 0
jne 0x47caa6
sub eax, edi
lea ecx, [edi + 1]
and eax, 0x3fffffff
add ecx, eax
cmp byte [ecx], 0
je 0x47cd02
mov ebx, 0x6676
mov eax, ecx
inc eax
cmp byte [eax], 0
jne 0x47cac8
sub eax, ecx
lea edx, [ecx + 1]
and eax, 0x3fffffff
add edx, eax
mov dword [ebp - 0x10], edx
mov edi, edx
jne 0x47cae5
xor edi, edi
jmp 0x47cafe
cmp byte [edx], 0
je 0x47caf6
nop word [eax + eax]
inc edi
cmp byte [edi], 0
jne 0x47caf0
sub edi, edx
and edi, 0x3fffffff
cmp eax, 3
jne 0x47cb1f
cmp bx, word [ecx]
jne 0x47cb1f
mov ebx, 0x73
cmp bl, byte [ecx + 2]
mov ebx, 0x6676
jne 0x47cb1f
mov dword [ebp + 8], edx
jmp 0x47cc92
xor ebx, ebx
xor esi, esi
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], esi
cmp eax, 5
jne 0x47cb5b
mov edx, 0x68636163
cmp edx, dword [ecx]
jne 0x47cb5b
mov edx, 0x65
cmp dl, byte [ecx + 4]
jne 0x47cb5b
mov esi, 0x60000
mov dword [ebp - 0x14], str.cache
mov ebx, 0x52c000
mov dword [ebp - 0x1c], esi
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], esi
cmp eax, 4
jne 0x47cbbe
mov edx, str.mode
mov eax, dword [edx]
cmp eax, dword [ecx]
je 0x47cb8a
cmp al, byte [ecx]
jne 0x47cb8e
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x47cb8e
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x47cb8e
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
jne 0x47cb8e
xor eax, eax
jmp 0x47cb93
sbb eax, eax
or eax, 1
mov dword [ebp - 0x18], esi
test eax, eax
jne 0x47cbbe
mov edx, dword [ebp - 8]
mov eax, 0x52c018
and edx, 0x87
mov dword [ebp - 0x1c], 0x87
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], str.access
jmp 0x47cbc9
test ebx, ebx
je 0x47cc8d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
xor ebx, ebx
test ecx, ecx
je 0x47cc4e
mov eax, ecx
test ecx, ecx
je 0x47cbed
cmp byte [ecx], 0
je 0x47cbe6
inc eax
cmp byte [eax], 0
jne 0x47cbe0
sub eax, ecx
and eax, 0x3fffffff
cmp edi, eax
jne 0x47cc43
mov edx, dword [ebp - 0x10]
mov esi, edi
sub esi, 4
jb 0x47cc11
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x47cc16
add edx, 4
add ecx, 4
sub esi, 4
jae 0x47cc00
cmp esi, 0xfffffffc
je 0x47cc69
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x47cc43
cmp esi, 0xfffffffd
je 0x47cc69
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x47cc43
cmp esi, 0xfffffffe
je 0x47cc69
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x47cc43
cmp esi, 0xffffffff
je 0x47cc69
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x47cc69
mov eax, dword [ebp + 0xc]
inc ebx
mov ecx, dword [eax + ebx*8]
test ecx, ecx
jne 0x47cbd5
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push str.no_such__s_mode:__s
call fcn.0043c200
mov edi, dword [ebp - 4]
add esp, 0xc
jmp 0x47cd27
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + ebx*8 + 4]
test ecx, ecx
je 0x47cc4e
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x18]
jg 0x47cca3
mov eax, dword [ebp - 0x1c]
not eax
and eax, dword [ebp - 8]
or eax, ecx
mov dword [ebp - 8], eax
mov ebx, 0x6676
mov ecx, dword [ebp - 0x10]
inc ecx
add ecx, edi
cmp byte [ecx], 0
jne 0x47cac6
jmp 0x47ccff
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_mode_not_allowed:__s
call fcn.0043c200
mov edi, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xc], 3
jmp 0x47cd2e
call fcn.00497870
test eax, eax
jne 0x47cda1
lea eax, [edi + 2]
push 0
push eax
call fcn.00479a90
mov ebx, eax
add esp, 8
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x47cda1
push edi
push esi
push ebx
call fcn.004d8080
add esp, 0xc
mov word [ebx + edi], 0
and dword [ebp - 8], 0xffffffbf
mov edi, dword [ebp - 4]
mov esi, dword [ebp + 8]
push esi
call fcn.00439f80
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
jne 0x47cd8a
push esi
push str.no_such_vfs:__s
call fcn.0043c200
add esp, 8
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
cmp dword [0x52bcb0], 0
je 0x47cd7e
mov eax, dword [0x531498]
test eax, eax
je 0x47cd4f
push eax
call dword [0x52bd04]
add esp, 4
push edi
call dword [0x52bce0]
sub dword [0x531550], eax
dec dword [0x531574]
push edi
call dword [0x52bcd8]
mov eax, dword [0x531498]
add esp, 8
test eax, eax
je 0x47cd88
push eax
call dword [0x52bd0c]
jmp 0x47cd85
push edi
call dword [0x52bcd8]
add esp, 4
xor edi, edi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0xc]
mov dword [ecx], edi
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