Function at 0x4d1490
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x34], ecx
mov edx, dword [eax]
mov dword [esp + 0x18], edx
test edi, edi
jne 0x4d14b3
xor esi, esi
jmp 0x4d14c7
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4d14b8
sub esi, ecx
and esi, 0x3fffffff
test dl, 0x40
jne 0x4d14d9
cmp dword [0x593cfc], 0
je 0x4d19ee
cmp esi, 5
jb 0x4d19ee
mov eax, dword [edi]
mov ecx, 0x596864
cmp eax, dword [ecx]
jne 0x4d19ee
movzx eax, byte [edi + 4]
cmp al, byte [ecx + 4]
jne 0x4d19ee
xor eax, eax
mov dword [esp + 0x14], 0
or edx, 0x40
mov dword [esp + 0x20], eax
lea ebx, [esi + 2]
mov dword [esp + 0x18], edx
cmp byte [eax + edi], 0x26
jne 0x4d1525
mov ecx, 1
xor edx, edx
jmp 0x4d1536
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add ebx, ecx
adc dword [esp + 0x20], edx
inc eax
cmp eax, esi
jl 0x4d1516
call fcn.004ce910
test eax, eax
jne 0x4d1a57
mov eax, dword [esp + 0x20]
push eax
push ebx
call fcn.00458f30
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x4d1a57
cmp byte [edi + 5], 0x2f
mov esi, 5
jne 0x4d15e4
cmp byte [edi + 6], 0x2f
jne 0x4d15e4
mov al, byte [edi + 7]
lea ecx, [edi + 7]
mov esi, 7
test al, al
je 0x4d15e4
nop word [eax + eax]
cmp al, 0x2f
je 0x4d159d
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4d1590
cmp esi, 7
je 0x4d15e4
cmp esi, 0x10
jne 0x4d15c3
mov edx, str.localhost
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d15c3
mov eax, dword [edx + 4]
cmp eax, dword [ecx + 4]
jne 0x4d15c3
movzx eax, byte [edx + 8]
cmp al, byte [ecx + 8]
je 0x4d15e4
push ecx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.0045b740
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov esi, 1
mov dword [ecx], eax
jmp 0x4d1a30
mov cl, byte [esi + edi]
xor edx, edx
mov dword [esp + 0x1c], edx
test cl, cl
je 0x4d179a
cmp cl, 0x23
je 0x4d1697
inc esi
cmp cl, 0x25
jne 0x4d16d8
mov bh, byte [esi + edi]
movzx eax, bh
test byte [eax + 0x573f00], 8
je 0x4d16d4
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x573f00], 8
je 0x4d16d4
mov bl, byte [esi + edi + 1]
mov cl, bh
sar cl, 6
mov dl, bh
and cl, 1
add esi, 2
mov al, cl
shl al, 3
sub al, cl
sub dl, al
mov al, bl
sar al, 6
and edx, 0xf
and al, 1
add edx, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
sub al, cl
and eax, 0xf
lea ecx, [eax + edx*8]
mov edx, dword [esp + 0x1c]
test ecx, ecx
jne 0x4d16c2
mov al, byte [esi + edi]
test al, al
je 0x4d1688
cmp al, 0x23
je 0x4d1688
test edx, edx
jne 0x4d167f
cmp al, 0x3f
jmp 0x4d16b5
cmp edx, 1
jne 0x4d16ae
cmp al, 0x3d
jne 0x4d16b3
mov ebx, dword [esp + 0x10]
mov cl, byte [esi + edi]
test cl, cl
jne 0x4d15f5
mov eax, dword [esp + 0x14]
cmp edx, 1
jne 0x4d179c
mov byte [ebx + eax], 0
inc eax
jmp 0x4d179c
cmp edx, 2
jne 0x4d16b7
cmp al, 0x26
je 0x4d1688
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4d1673
jmp 0x4d1688
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov byte [ebx + eax], cl
inc eax
mov dword [esp + 0x14], eax
jmp 0x4d168c
mov ebx, dword [esp + 0x10]
cmp edx, 1
jne 0x4d175a
cmp cl, 0x26
je 0x4d16eb
cmp cl, 0x3d
jne 0x4d1789
mov eax, dword [esp + 0x14]
cmp byte [ebx + eax - 1], 0
jne 0x4d1719
mov al, byte [esi + edi]
test al, al
je 0x4d168c
nop dword [eax]
cmp al, 0x23
je 0x4d168c
cmp byte [esi + edi - 1], 0x26
je 0x4d168c
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4d1700
jmp 0x4d168c
cmp cl, 0x26
jne 0x4d173e
mov ecx, dword [esp + 0x14]
mov byte [ebx + ecx], 0
inc ecx
mov dword [esp + 0x14], ecx
xor cl, cl
mov eax, dword [esp + 0x14]
mov byte [ebx + eax], cl
inc eax
mov dword [esp + 0x14], eax
jmp 0x4d168c
mov eax, dword [esp + 0x14]
xor cl, cl
mov edx, 2
mov dword [esp + 0x1c], edx
mov byte [ebx + eax], cl
inc eax
mov dword [esp + 0x14], eax
jmp 0x4d168c
test edx, edx
jne 0x4d1774
cmp cl, 0x3f
je 0x4d177e
mov eax, dword [esp + 0x14]
mov byte [ebx + eax], cl
inc eax
mov dword [esp + 0x14], eax
jmp 0x4d168c
cmp edx, 2
jne 0x4d1789
cmp cl, 0x26
jne 0x4d1789
mov edx, 1
xor cl, cl
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x14]
mov byte [ebx + eax], cl
inc eax
mov dword [esp + 0x14], eax
jmp 0x4d168c
xor eax, eax
mov ecx, ebx
mov word [ebx + eax], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d17a7
sub ecx, edx
lea edx, [ebx + 1]
and ecx, 0x3fffffff
add edx, ecx
cmp byte [edx], al
je 0x4d1997
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d17c8
sub ecx, esi
lea eax, [edx + 1]
and ecx, 0x3fffffff
add eax, ecx
mov dword [esp + 0x14], eax
jne 0x4d17e6
xor edi, edi
jmp 0x4d17ff
mov edi, eax
lea esi, [edi + 1]
nop dword [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x4d17f0
sub edi, esi
and edi, 0x3fffffff
cmp ecx, 3
jne 0x4d1827
mov esi, 0x596838
movzx eax, word [esi]
cmp ax, word [edx]
jne 0x4d1827
movzx eax, byte [esi + 2]
cmp al, byte [edx + 2]
jne 0x4d1827
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
jmp 0x4d1985
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
cmp ecx, 5
jne 0x4d186f
mov eax, str.cache
mov eax, dword [eax]
cmp eax, dword [edx]
jne 0x4d186f
mov eax, str.cache
movzx eax, byte [eax + 4]
cmp al, byte [edx + 4]
jne 0x4d186f
mov esi, 0x60000
mov dword [esp + 0x20], 0x596828
mov ebx, 0x596674
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ebx
cmp ecx, 4
jne 0x4d18a6
mov eax, dword [str.mode]
cmp eax, dword [edx]
jne 0x4d18a6
mov ecx, dword [esp + 0x18]
mov eax, 0x596644
and ecx, 0x87
mov dword [esp + 0x24], 0x87
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], str.access
jmp 0x4d18b6
mov dword [esp + 0x28], esi
test ebx, ebx
je 0x4d1981
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
xor ebx, ebx
test eax, eax
je 0x4d1930
mov edx, eax
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4d18c3
sub edx, esi
and edx, 0x3fffffff
cmp edi, edx
jne 0x4d1924
mov edx, dword [esp + 0x14]
mov esi, edi
sub esi, 4
jb 0x4d18f2
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x4d18f7
add edx, 4
add eax, 4
sub esi, 4
jae 0x4d18e1
cmp esi, 0xfffffffc
je 0x4d1958
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x4d1924
cmp esi, 0xfffffffd
je 0x4d1958
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x4d1924
cmp esi, 0xfffffffe
je 0x4d1958
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x4d1924
cmp esi, 0xffffffff
je 0x4d1958
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x4d1958
mov eax, dword [esp + 0x1c]
inc ebx
mov eax, dword [eax + ebx*8]
test eax, eax
jne 0x4d18be
push dword [esp + 0x14]
push dword [esp + 0x24]
push str.no_such__s_mode:__s
call fcn.0045b740
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov ebx, dword [esp + 0x10]
mov esi, 1
mov dword [ecx], eax
jmp 0x4d1a30
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + ebx*8 + 4]
test ecx, ecx
je 0x4d1930
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [esp + 0x28]
jg 0x4d19c9
mov eax, dword [esp + 0x24]
not eax
and eax, dword [esp + 0x18]
or eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
add edx, edi
cmp byte [edx], 0
jne 0x4d17c3
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x34]
push esi
call fcn.004586b0
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x4d1a2a
push esi
push str.no_such_vfs:__s
call fcn.0045b740
mov ecx, dword [ebp + 0x14]
add esp, 8
mov esi, 1
mov dword [ecx], eax
jmp 0x4d1a2c
push dword [esp + 0x14]
push dword [esp + 0x24]
push str._s_mode_not_allowed:__s
call fcn.0045b740
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov ebx, dword [esp + 0x10]
mov esi, 3
mov dword [ecx], eax
jmp 0x4d1a30
call fcn.004ce910
test eax, eax
jne 0x4d1a57
lea eax, [esi + 2]
push 0
push eax
call fcn.00458f30
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4d1a57
test esi, esi
je 0x4d1a1a
push esi
push edi
push ebx
call fcn.00516840
add esp, 0xc
and dword [esp + 0x18], 0xffffffbf
mov word [ebx + esi], 0
jmp 0x4d1997
xor esi, esi
test esi, esi
je 0x4d1a39
push ebx
call fcn.00459190
add esp, 4
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [esp + 0x18]
test esi, esi
cmove edx, ebx
mov dword [ecx], eax
mov eax, esi
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
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