Function at 0x47d37c
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.0044fb81
mov esi, eax
test dl, 0x40
jne 0x47d3b4
cmp dword [0x5fd5f4], ebx
je 0x47d706
cmp esi, 5
jl 0x47d706
push 5
push str.file:
push edi
call fcn.0050038c
add esp, 0xc
test eax, eax
jne 0x47d706
or dword [ebp - 8], 0x40
mov dword [ebp - 4], ebx
lea ecx, [esi + 2]
cmp esi, ebx
jle 0x47d3f3
xor edx, edx
cmp byte [eax + edi], 0x26
sete dl
add ecx, edx
inc eax
cmp eax, esi
jl 0x47d3e3
push ecx
call fcn.0047a9f5
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x47d409
push 7
pop eax
jmp 0x47d781
cmp byte [edi + 5], 0x2f
jne 0x47d462
cmp byte [edi + 6], 0x2f
jne 0x47d462
lea ebx, [edi + 7]
mov al, byte [ebx]
push 7
pop esi
test al, al
je 0x47d465
cmp al, 0x2f
je 0x47d42d
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x47d421
cmp esi, 7
je 0x47d465
cmp esi, 0x10
jne 0x47d44b
push 9
push ebx
push str.localhost
call fcn.0050038c
add esp, 0xc
test eax, eax
je 0x47d465
push ebx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call fcn.00461733
add esp, 0xc
jmp 0x47d755
push 5
pop esi
mov cl, byte [esi + edi]
and dword [ebp + 8], 0
test cl, cl
je 0x47d5af
cmp cl, 0x23
je 0x47d59c
inc esi
cmp cl, 0x25
jne 0x47d51e
mov al, byte [esi + edi]
movzx edx, al
test byte [edx + 0x59d450], 8
je 0x47d51e
movzx edx, byte [esi + edi + 1]
test byte [edx + 0x59d450], 8
je 0x47d51e
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 0x47d585
jmp 0x47d515
cmp al, 0x23
je 0x47d591
cmp dword [ebp + 8], 0
jne 0x47d4f4
cmp al, 0x3f
je 0x47d591
cmp dword [ebp + 8], 1
jne 0x47d50a
cmp al, 0x3d
je 0x47d591
cmp al, 0x26
je 0x47d591
cmp dword [ebp + 8], 2
jne 0x47d514
cmp al, 0x26
je 0x47d591
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x47d4de
jmp 0x47d591
xor eax, eax
inc eax
cmp dword [ebp + 8], eax
jne 0x47d56a
cmp cl, 0x26
je 0x47d530
cmp cl, 0x3d
jne 0x47d585
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp byte [edx + eax - 1], 0
je 0x47d558
cmp cl, 0x26
jne 0x47d561
mov byte [edx + eax], 0
inc eax
mov dword [ebp - 4], eax
jmp 0x47d583
cmp al, 0x23
je 0x47d591
cmp byte [esi + edi - 1], 0x26
je 0x47d591
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x47d54c
jmp 0x47d591
mov dword [ebp + 8], 2
jmp 0x47d583
cmp dword [ebp + 8], 0
jne 0x47d575
cmp cl, 0x3f
je 0x47d580
cmp dword [ebp + 8], 2
jne 0x47d585
cmp cl, 0x26
jne 0x47d585
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 0x47d474
cmp dword [ebp + 8], 1
jne 0x47d5af
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.0044fb81
jmp 0x47d6db
mov ecx, esi
call fcn.0044fb81
mov edx, eax
lea edi, [edx + esi + 1]
mov ecx, edi
mov dword [ebp - 0x20], edx
mov dword [ebp + 8], edi
call fcn.0044fb81
mov dword [ebp - 0x18], eax
cmp edx, 3
jne 0x47d602
push edx
push esi
push 0x5a2630
call fcn.0050038c
add esp, 0xc
test eax, eax
jne 0x47d602
mov dword [ebp - 0x1c], edi
jmp 0x47d6d5
xor ebx, ebx
xor edi, edi
cmp dword [ebp - 0x20], 5
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
jne 0x47d63e
push 5
push esi
push str.cache
call fcn.0050038c
add esp, 0xc
test eax, eax
jne 0x47d6d5
mov ebx, 0x60000
mov dword [ebp - 0x14], ebx
mov edi, 0x5fe444
mov dword [ebp - 4], str.cache
cmp dword [ebp - 0x20], 4
jne 0x47d671
push 4
push esi
push str.mode
call fcn.0050038c
add esp, 0xc
test eax, eax
jne 0x47d671
mov ebx, dword [ebp - 8]
mov eax, 0x87
mov dword [ebp - 0x14], eax
mov edi, 0x5fe45c
and ebx, eax
mov dword [ebp - 4], str.access
xor esi, esi
cmp edi, esi
je 0x47d6d5
cmp dword [edi], esi
je 0x47d6a5
mov eax, edi
mov ecx, dword [eax]
call fcn.0044fb81
cmp dword [ebp - 0x18], eax
jne 0x47d69c
push dword [ebp - 0x18]
push ecx
push dword [ebp + 8]
call fcn.0050038c
add esp, 0xc
test eax, eax
je 0x47d6b5
inc esi
lea eax, [edi + esi*8]
cmp dword [eax], 0
jne 0x47d67d
push dword [ebp + 8]
push dword [ebp - 4]
push str.no_such__s_mode:__s
jmp 0x47d455
mov esi, dword [edi + esi*8 + 4]
test esi, esi
je 0x47d6a5
mov eax, esi
and eax, 0xffffff7f
cmp eax, ebx
jg 0x47d6ea
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 0x47d5c5
jmp 0x47d734
push dword [ebp + 8]
push dword [ebp - 4]
push str._s_mode_not_allowed:__s
call fcn.00461733
add esp, 0xc
mov dword [ebp - 0x10], 3
jmp 0x47d75c
lea eax, [esi + 2]
push eax
call fcn.0047a9f5
mov ebx, eax
pop ecx
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x47d401
push esi
push edi
push ebx
call fcn.004fbb10
lea eax, [ebx + esi]
add esp, 0xc
and dword [ebp - 8], 0xffffffbf
mov word [eax], 0
push dword [ebp - 0x1c]
call fcn.00459815
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test eax, eax
jne 0x47d76e
push dword [ebp - 0x1c]
push str.no_such_vfs:__s
call fcn.00461733
pop ecx
pop ecx
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp + 0x18]
push dword [ebp - 0xc]
mov dword [ecx], eax
call fcn.0044f939
pop ecx
xor eax, eax
jmp 0x47d771
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