Function at 0x4748c0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], ecx
push edi
mov edi, esi
test esi, esi
je 0x4748f6
cmp byte [esi], 0
je 0x4748ee
inc edi
cmp byte [edi], 0
jne 0x4748e8
sub edi, esi
and edi, 0x3fffffff
mov dword [ebp - 0x18], edi
test cl, 0x40
jne 0x47490b
cmp dword [0x48317c], 0
je 0x474df5
cmp edi, 5
jb 0x474df5
cmp dword [esi], 0x656c6966
jne 0x474df5
cmp byte [esi + 4], 0x3a
jne 0x474df5
lea eax, [edi + 2]
or ecx, 0x40
xor edx, edx
mov dword [ebp - 0x14], eax
lea eax, [edi - 1]
mov dword [ebp - 0xc], ecx
xor ebx, ebx
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov edi, eax
xor eax, eax
cmp byte [ecx + esi], 0x26
sete al
add ebx, eax
xor eax, eax
cmp byte [ecx + esi + 1], 0x26
sete al
add ecx, 2
add edx, eax
cmp ecx, edi
jl 0x474947
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
cmp ecx, dword [ebp - 0x18]
jge 0x47497b
xor eax, eax
cmp byte [ecx + esi], 0x26
sete al
add edi, eax
call fcn.004726b0
test eax, eax
jne 0x474e29
mov eax, dword [ebp - 0x20]
add eax, ebx
add eax, edi
push eax
call fcn.0040aa40
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x474e29
cmp byte [esi + 5], 0x2f
jne 0x474a13
cmp byte [esi + 6], 0x2f
jne 0x474a13
mov cl, byte [esi + 7]
lea edx, [esi + 7]
mov eax, 7
test cl, cl
je 0x474a18
cmp cl, 0x2f
je 0x4749ce
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x4749c0
cmp eax, 7
je 0x474a18
cmp eax, 0x10
jne 0x4749f5
mov ecx, 0x61636f6c
cmp ecx, dword [edx]
jne 0x4749f5
mov ecx, 0x736f686c
cmp ecx, dword [edx + 4]
jne 0x4749f5
mov ecx, 0x74
cmp cl, byte [edx + 8]
je 0x474a18
push edx
add eax, 0xfffffff9
mov dword [ebp - 0x10], 1
push eax
push str.invalid_uri_authority:__.s
call fcn.0040c740
add esp, 0xc
jmp 0x474db0
mov eax, 5
mov dl, byte [eax + esi]
xor edi, edi
test dl, dl
je 0x474bb0
cmp dl, 0x23
je 0x474ac6
inc eax
cmp dl, 0x25
jne 0x474b03
mov bl, byte [eax + esi]
movzx ecx, bl
test byte [ecx + 0x479260], 8
je 0x474b00
movzx ecx, byte [eax + esi + 1]
test byte [ecx + 0x479260], 8
je 0x474b00
mov ch, byte [eax + esi + 1]
mov dl, bl
sar dl, 6
add eax, 2
and dl, 1
mov cl, dl
shl cl, 3
sub cl, dl
sub bl, cl
mov cl, ch
sar cl, 6
and ebx, 0xf
and cl, 1
add ebx, ebx
mov dl, cl
shl dl, 3
sub dl, cl
mov cl, ch
sub cl, dl
and ecx, 0xf
lea edx, [ecx + ebx*8]
test edx, edx
jne 0x474af1
mov cl, byte [eax + esi]
test cl, cl
je 0x474ab8
nop
cmp cl, 0x23
je 0x474ab8
test edi, edi
jne 0x474aae
cmp cl, 0x3f
jmp 0x474ae4
cmp edi, 1
jne 0x474adc
cmp cl, 0x3d
jne 0x474ae1
mov ebx, dword [ebp - 4]
mov dl, byte [eax + esi]
test dl, dl
jne 0x474a25
mov eax, dword [ebp - 8]
cmp edi, 1
jne 0x474bb2
mov byte [ebx + eax], 0
inc eax
jmp 0x474bb2
cmp edi, 2
jne 0x474ae6
cmp cl, 0x26
je 0x474ab8
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x474aa0
jmp 0x474ab8
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov byte [ebx + ecx], dl
inc ecx
mov dword [ebp - 8], ecx
jmp 0x474abb
mov ebx, dword [ebp - 4]
cmp edi, 1
jne 0x474b78
cmp dl, 0x26
je 0x474b16
cmp dl, 0x3d
jne 0x474ba1
mov ecx, dword [ebp - 8]
cmp byte [ebx + ecx - 1], 0
jne 0x474b41
mov cl, byte [eax + esi]
test cl, cl
je 0x474abb
cmp cl, 0x23
je 0x474abb
cmp byte [eax + esi - 1], 0x26
je 0x474abb
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x474b27
jmp 0x474abb
cmp dl, 0x26
jne 0x474b62
mov edx, dword [ebp - 8]
mov byte [ebx + edx], 0
inc edx
mov dword [ebp - 8], edx
xor dl, dl
mov ecx, dword [ebp - 8]
mov byte [ebx + ecx], dl
inc ecx
mov dword [ebp - 8], ecx
jmp 0x474abb
mov ecx, dword [ebp - 8]
xor dl, dl
mov edi, 2
mov byte [ebx + ecx], dl
inc ecx
mov dword [ebp - 8], ecx
jmp 0x474abb
test edi, edi
jne 0x474b90
cmp dl, 0x3f
je 0x474b9a
mov ecx, dword [ebp - 8]
mov byte [ebx + ecx], dl
inc ecx
mov dword [ebp - 8], ecx
jmp 0x474abb
cmp edi, 2
jne 0x474ba1
cmp dl, 0x26
jne 0x474ba1
mov edi, 1
xor dl, dl
mov ecx, dword [ebp - 8]
mov byte [ebx + ecx], dl
inc ecx
mov dword [ebp - 8], ecx
jmp 0x474abb
xor eax, eax
mov word [ebx + eax], 0
mov eax, ebx
cmp byte [ebx], 0
je 0x474bc6
nop
inc eax
cmp byte [eax], 0
jne 0x474bc0
sub eax, ebx
lea ecx, [ebx + 1]
and eax, 0x3fffffff
add ecx, eax
cmp byte [ecx], 0
je 0x474d84
mov esi, 0x6676
mov ebx, 0x73
mov eax, ecx
inc eax
cmp byte [eax], 0
jne 0x474be7
sub eax, ecx
lea edx, [ecx + 1]
and eax, 0x3fffffff
add edx, eax
mov dword [ebp - 8], edx
mov edi, edx
jne 0x474c04
xor edi, edi
jmp 0x474c1e
cmp byte [edx], 0
je 0x474c16
nop dword [eax]
inc edi
cmp byte [edi], 0
jne 0x474c10
sub edi, edx
and edi, 0x3fffffff
cmp eax, 3
jne 0x474c3d
cmp si, word [ecx]
jne 0x474d73
cmp bl, byte [ecx + 2]
jne 0x474d73
mov dword [ebp - 0x24], edx
jmp 0x474d73
cmp eax, 5
jne 0x474c7a
mov eax, 0x68636163
cmp eax, dword [ecx]
jne 0x474d73
mov eax, 0x65
cmp al, byte [ecx + 4]
jne 0x474d73
mov eax, 0x60000
mov dword [ebp - 0x18], str.cache
mov dword [ebp - 0x20], eax
mov eax, 0x483a3c
mov dword [ebp - 0x1c], 0x60000
jmp 0x474cab
cmp eax, 4
jne 0x474d73
cmp dword [ecx], 0x65646f6d
jne 0x474d73
mov esi, dword [ebp - 0xc]
mov eax, 0x483258
and esi, 7
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], str.access
mov ecx, dword [eax]
xor ebx, ebx
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x474d29
cmp byte [ecx], 0
mov eax, ecx
je 0x474cc6
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x474cc0
sub eax, ecx
and eax, 0x3fffffff
cmp edi, eax
jne 0x474d1e
mov esi, edi
sub esi, 4
jb 0x474ce9
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x474cee
add edx, 4
add ecx, 4
sub esi, 4
jae 0x474cd8
cmp esi, 0xfffffffc
je 0x474d45
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x474d1b
cmp esi, 0xfffffffd
je 0x474d45
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x474d1b
cmp esi, 0xfffffffe
je 0x474d45
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x474d1b
cmp esi, 0xffffffff
je 0x474d45
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x474d45
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
inc ebx
mov ecx, dword [eax + ebx*8]
test ecx, ecx
jne 0x474cb6
push dword [ebp - 8]
mov dword [ebp - 0x10], 1
push dword [ebp - 0x18]
push str.no_such__s_mode:__s
call fcn.0040c740
add esp, 0xc
jmp 0x474db0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + ebx*8 + 4]
test eax, eax
je 0x474d29
cmp eax, dword [ebp - 0x1c]
jg 0x474dd9
mov ecx, dword [ebp - 0x20]
mov ebx, 0x73
mov edx, dword [ebp - 8]
not ecx
and ecx, dword [ebp - 0xc]
mov esi, 0x6676
or ecx, eax
mov dword [ebp - 0xc], ecx
lea ecx, [edx + 1]
add ecx, edi
cmp byte [ecx], 0
jne 0x474be5
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0x24]
push esi
call fcn.0040a170
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x474dc2
push esi
push str.no_such_vfs:__s
mov dword [ebp - 0x10], 1
call fcn.0040c740
add esp, 8
mov ecx, dword [ebp + 0x14]
push dword [ebp - 4]
mov dword [ecx], eax
call fcn.0040ad30
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ecx], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
mov dword [ebp - 0x10], 3
push dword [ebp - 0x18]
push str._s_mode_not_allowed:__s
call fcn.0040c740
add esp, 0xc
jmp 0x474db0
call fcn.004726b0
test eax, eax
jne 0x474e29
lea eax, [edi + 2]
push eax
call fcn.0040aa40
mov ebx, eax
mov dword [ebp - 4], eax
add esp, 4
test ebx, ebx
je 0x474e29
push edi
push esi
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [ebx + edi], 0
jmp 0x474d84
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret