Function at 0x481a40
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 - 0x28], ecx
mov ecx, dword [eax]
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], ecx
mov edi, esi
test esi, esi
je 0x481a76
cmp byte [esi], 0
je 0x481a6e
inc edi
cmp byte [edi], 0
jne 0x481a68
sub edi, esi
and edi, 0x3fffffff
test cl, 0x40
jne 0x481a88
cmp dword [0x4e5c14], 0
je 0x481fa5
cmp edi, 5
jl 0x481fa5
cmp dword [esi], 0x656c6966
jne 0x481fa5
cmp byte [esi + 4], 0x3a
jne 0x481fa5
or ecx, 0x40
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x10], ecx
lea eax, [edi + 2]
xor ecx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], eax
cmp edi, 2
jl 0x481af4
lea ebx, [edi - 1]
lea ebx, [ebx]
xor eax, eax
cmp byte [esi + ecx], 0x26
sete al
add edx, eax
xor eax, eax
cmp byte [esi + ecx + 1], 0x26
sete al
add ecx, 2
add dword [ebp - 8], eax
cmp ecx, ebx
jl 0x481ad0
mov dword [ebp - 0x18], edx
xor ebx, ebx
cmp ecx, edi
mov edi, dword [ebp - 0x1c]
jge 0x481b06
xor eax, eax
cmp byte [ecx + esi], 0x26
sete al
add edi, eax
call fcn.0047f500
test eax, eax
jne 0x481fdd
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
add eax, ecx
add eax, edi
push eax
call fcn.0040a330
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x481fdd
cmp byte [esi + 5], 0x2f
mov eax, 5
jne 0x481b9d
cmp byte [esi + 6], 0x2f
jne 0x481b9d
mov cl, byte [esi + 7]
lea edx, [esi + 7]
mov eax, 7
test cl, cl
je 0x481b9d
cmp cl, 0x2f
je 0x481b5f
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x481b51
cmp eax, 7
je 0x481b9d
cmp eax, 0x10
jne 0x481b86
mov ecx, 0x61636f6c
cmp ecx, dword [edx]
jne 0x481b86
mov ecx, 0x736f686c
cmp ecx, dword [edx + 4]
jne 0x481b86
mov ecx, 0x74
cmp cl, byte [edx + 8]
je 0x481b9d
push edx
add eax, 0xfffffff9
push eax
push str.invalid_uri_authority:__.s
call fcn.0040c250
add esp, 0xc
jmp 0x481f59
mov dl, byte [eax + esi]
xor edi, edi
test dl, dl
je 0x481d4d
lea ebx, [ebx]
cmp dl, 0x23
je 0x481c66
inc eax
cmp dl, 0x25
jne 0x481ca1
mov cl, byte [eax + esi]
mov byte [ebp - 1], cl
movzx ecx, cl
test byte [ecx + 0x4ce198], 8
je 0x481ca1
movzx ecx, byte [eax + esi + 1]
test byte [ecx + 0x4ce198], 8
je 0x481ca1
movsx ebx, byte [ebp - 1]
movsx ecx, byte [eax + esi + 1]
mov dword [ebp - 0x24], ecx
mov edx, ebx
sar edx, 6
and dl, 1
mov cl, dl
shl cl, 3
sub cl, dl
sub bl, cl
add eax, 2
and ebx, 0xf
shl ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x24]
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 - 0x20]
and ecx, 0xf
add edx, ecx
jne 0x481c91
mov cl, byte [eax + esi]
test cl, cl
je 0x481c58
jmp 0x481c40
cmp cl, 0x23
je 0x481c58
test edi, edi
jne 0x481c4e
cmp cl, 0x3f
jmp 0x481c84
cmp edi, 1
jne 0x481c7c
cmp cl, 0x3d
jne 0x481c81
mov ebx, dword [ebp - 0xc]
mov dl, byte [eax + esi]
test dl, dl
jne 0x481bb0
mov eax, dword [ebp - 8]
cmp edi, 1
jne 0x481d50
mov byte [eax + ebx], 0
inc ebx
jmp 0x481d50
cmp edi, 2
jne 0x481c86
cmp cl, 0x26
je 0x481c58
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x481c40
jmp 0x481c58
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
inc ebx
mov byte [ecx + ebx - 1], dl
mov dword [ebp - 0xc], ebx
jmp 0x481c5b
cmp edi, 1
jne 0x481d13
cmp dl, 0x26
je 0x481cb4
cmp dl, 0x3d
jne 0x481d3d
mov ecx, dword [ebp - 8]
cmp byte [ecx + ebx - 1], 0
jne 0x481cdf
mov cl, byte [eax + esi]
test cl, cl
je 0x481c5b
cmp cl, 0x23
je 0x481c5b
cmp byte [eax + esi - 1], 0x26
je 0x481c5b
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x481cc5
jmp 0x481c5b
cmp dl, 0x26
jne 0x481cfd
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov byte [edx + ebx], 0
inc ebx
xor dl, dl
mov byte [ecx + ebx], dl
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x481c5b
mov ecx, dword [ebp - 8]
xor dl, dl
mov byte [ecx + ebx], dl
inc ebx
mov edi, 2
mov dword [ebp - 0xc], ebx
jmp 0x481c5b
test edi, edi
jne 0x481d2c
cmp dl, 0x3f
je 0x481d36
mov ecx, dword [ebp - 8]
inc ebx
mov byte [ecx + ebx - 1], dl
mov dword [ebp - 0xc], ebx
jmp 0x481c5b
cmp edi, 2
jne 0x481d3d
cmp dl, 0x26
jne 0x481d3d
mov edi, 1
xor dl, dl
mov ecx, dword [ebp - 8]
inc ebx
mov byte [ecx + ebx - 1], dl
mov dword [ebp - 0xc], ebx
jmp 0x481c5b
mov eax, dword [ebp - 8]
mov word [eax + ebx], 0
mov ebx, dword [ebp - 8]
mov eax, ebx
cmp byte [ebx], 0
je 0x481d66
inc eax
cmp byte [eax], 0
jne 0x481d60
sub eax, ebx
and eax, 0x3fffffff
lea ecx, [ebx + 1]
add ecx, eax
cmp byte [ecx], 0
je 0x481f34
mov esi, 0x6676
mov ebx, 0x73
mov eax, ecx
inc eax
cmp byte [eax], 0
jne 0x481d87
sub eax, ecx
and eax, 0x3fffffff
lea edx, [ecx + 1]
add edx, eax
mov dword [ebp - 0xc], edx
mov edi, edx
jne 0x481da4
xor edi, edi
jmp 0x481dbe
cmp byte [edx], 0
je 0x481db6
lea esp, [esp]
inc edi
cmp byte [edi], 0
jne 0x481db0
sub edi, edx
and edi, 0x3fffffff
cmp eax, 3
jne 0x481ddd
cmp si, word [ecx]
jne 0x481f23
cmp bl, byte [ecx + 2]
jne 0x481f23
mov dword [ebp - 0x28], edx
jmp 0x481f23
cmp eax, 5
jne 0x481e1a
mov eax, 0x68636163
cmp eax, dword [ecx]
jne 0x481f23
mov eax, 0x65
cmp al, byte [ecx + 4]
jne 0x481f23
mov eax, 0x60000
mov dword [ebp - 0x24], eax
mov eax, 0x4e52f0
mov dword [ebp - 0x20], 0x60000
mov dword [ebp - 0x1c], str.cache
jmp 0x481e4e
cmp eax, 4
jne 0x481f23
cmp dword [ecx], 0x65646f6d
jne 0x481f23
mov esi, dword [ebp - 0x10]
and esi, 0x87
mov dword [ebp - 0x24], 0x87
mov eax, 0x4e5d18
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], str.access
mov ecx, dword [eax]
xor ebx, ebx
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x481ed9
lea ecx, [ecx]
mov eax, ecx
test ecx, ecx
je 0x481e7d
cmp byte [ecx], 0
je 0x481e76
jmp 0x481e70
inc eax
cmp byte [eax], 0
jne 0x481e70
sub eax, ecx
and eax, 0x3fffffff
cmp edi, eax
jne 0x481ece
mov esi, edi
sub esi, 4
jb 0x481e99
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x481e9e
add edx, 4
add ecx, 4
sub esi, 4
jae 0x481e88
cmp esi, 0xfffffffc
je 0x481eee
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x481ecb
cmp esi, 0xfffffffd
je 0x481eee
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x481ecb
cmp esi, 0xfffffffe
je 0x481eee
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x481ecb
cmp esi, 0xffffffff
je 0x481eee
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x481eee
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
inc ebx
mov ecx, dword [eax + ebx*8]
test ecx, ecx
jne 0x481e60
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
push str.no_such__s_mode:__s
call fcn.0040c250
add esp, 0xc
jmp 0x481f59
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + ebx*8 + 4]
test ecx, ecx
je 0x481ed9
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x20]
jg 0x481f89
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
not eax
and eax, dword [ebp - 0x10]
mov ebx, 0x73
or eax, ecx
mov dword [ebp - 0x10], eax
mov esi, 0x6676
lea ecx, [edx + 1]
add ecx, edi
cmp byte [ecx], 0
jne 0x481d85
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x28]
push esi
call fcn.00409990
mov ecx, eax
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [eax], ecx
test ecx, ecx
jne 0x481f72
push esi
push str.no_such_vfs:__s
call fcn.0040c250
add esp, 8
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp + 0x14]
push dword [ebp - 8]
mov dword [ecx], eax
call fcn.0040a630
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ecx], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
push str._s_mode_not_allowed:__s
call fcn.0040c250
add esp, 0xc
mov dword [ebp - 0x14], 3
jmp 0x481f60
call fcn.0047f500
test eax, eax
jne 0x481fdd
lea eax, [edi + 2]
push eax
call fcn.0040a330
mov ebx, eax
add esp, 4
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x481fdd
push edi
push esi
push ebx
call fcn.004a5f50
add esp, 0xc
and dword [ebp - 0x10], 0xffffffbf
mov word [ebx + edi], 0
jmp 0x481f34
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret