Function at 0x4996d0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax]
mov esi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ecx
test edi, edi
je 0x499710
cmp byte [edi], 0
je 0x499708
inc esi
cmp byte [esi], 0
jne 0x499702
sub esi, edi
and esi, 0x3fffffff
test cl, 0x40
jne 0x499722
cmp dword [0x4e64e4], 0
je 0x499c68
cmp esi, 5
jl 0x499c68
cmp dword [edi], 0x656c6966
jne 0x499c68
cmp byte [edi + 4], 0x3a
jne 0x499c68
lea eax, [esi + 2]
or ecx, 0x40
xor edx, edx
mov dword [esp + 0x20], eax
lea eax, [edi + 1]
mov dword [esp + 0x14], ecx
xor ebx, ebx
mov dword [esp + 0x10], edx
xor ecx, ecx
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x28]
xor eax, eax
cmp byte [edi + ecx - 1], 0x26
sete al
add edx, eax
xor eax, eax
cmp byte [edi + ecx], 0x26
lea edi, [esi - 1]
sete al
add ecx, 2
add ebx, eax
cmp ecx, edi
jl 0x499760
mov edi, dword [esp + 0x24]
cmp ecx, esi
mov esi, dword [esp + 0x20]
jge 0x49979c
xor eax, eax
cmp byte [ecx + edi], 0x26
sete al
add esi, eax
lea eax, [ebx + edx]
add esi, eax
call fcn.00497540
test eax, eax
jne 0x499caa
test esi, esi
jle 0x499caa
mov eax, esi
cdq
push edx
push eax
call fcn.00427c20
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x499caa
cmp byte [edi + 5], 0x2f
mov esi, 5
jne 0x49983c
cmp byte [edi + 6], 0x2f
jne 0x49983c
mov al, byte [edi + 7]
lea ecx, [edi + 7]
mov esi, 7
test al, al
je 0x49983c
cmp al, 0x2f
je 0x4997fe
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4997f1
cmp esi, 7
je 0x49983c
cmp esi, 0x10
jne 0x499825
mov eax, 0x61636f6c
cmp eax, dword [ecx]
jne 0x499825
mov eax, 0x736f686c
cmp eax, dword [ecx + 4]
jne 0x499825
mov eax, 0x74
cmp al, byte [ecx + 8]
je 0x49983c
push ecx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.0042a050
add esp, 0xc
jmp 0x499c15
mov dl, byte [esi + edi]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test dl, dl
je 0x4999fe
lea ecx, [ecx]
cmp dl, 0x23
je 0x4998f4
inc esi
cmp dl, 0x25
jne 0x499935
mov bl, byte [esi + edi]
movzx eax, bl
test byte [eax + 0x4d2b40], 8
je 0x499931
movzx eax, byte [edi + esi + 1]
test byte [eax + 0x4d2b40], 8
je 0x499931
movsx edx, bl
movsx ebx, byte [esi + edi + 1]
mov ecx, edx
sar ecx, 6
add esi, 2
and cl, 1
mov al, cl
shl al, 3
sub al, cl
sub dl, al
mov eax, ebx
sar eax, 6
and edx, 0xf
and al, 1
shl edx, 4
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
sub al, cl
mov ecx, dword [esp + 0x18]
and eax, 0xf
add edx, eax
jne 0x49991f
mov al, byte [esi + edi]
test al, al
je 0x4998e5
mov edi, edi
cmp al, 0x23
je 0x4998e5
test ecx, ecx
jne 0x4998dc
cmp al, 0x3f
jmp 0x499912
cmp ecx, 1
jne 0x49990b
cmp al, 0x3d
jne 0x499910
mov ebx, dword [esp + 0xc]
mov dl, byte [esi + edi]
test dl, dl
jne 0x499850
mov eax, dword [esp + 0x10]
cmp ecx, 1
jne 0x499a00
mov byte [ebx + eax], 0
inc eax
jmp 0x499a00
cmp ecx, 2
jne 0x499914
cmp al, 0x26
je 0x4998e5
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4998d0
jmp 0x4998e5
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov byte [ebx + eax], dl
inc eax
mov dword [esp + 0x10], eax
jmp 0x4998e9
mov ebx, dword [esp + 0xc]
cmp ecx, 1
jne 0x4999be
cmp dl, 0x26
je 0x49994c
cmp dl, 0x3d
jne 0x4999ed
mov eax, dword [esp + 0x10]
cmp byte [ebx + eax - 1], 0
jne 0x49997d
mov al, byte [esi + edi]
test al, al
je 0x4998e9
mov edi, edi
cmp al, 0x23
je 0x4998e9
cmp byte [esi + edi - 1], 0x26
je 0x4998e9
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x499960
jmp 0x4998e9
cmp dl, 0x26
jne 0x4999a2
mov edx, dword [esp + 0x10]
mov byte [ebx + edx], 0
inc edx
mov dword [esp + 0x10], edx
xor dl, dl
mov eax, dword [esp + 0x10]
mov byte [ebx + eax], dl
inc eax
mov dword [esp + 0x10], eax
jmp 0x4998e9
mov eax, dword [esp + 0x10]
xor dl, dl
mov ecx, 2
mov dword [esp + 0x18], ecx
mov byte [ebx + eax], dl
inc eax
mov dword [esp + 0x10], eax
jmp 0x4998e9
test ecx, ecx
jne 0x4999d8
cmp dl, 0x3f
je 0x4999e2
mov eax, dword [esp + 0x10]
mov byte [ebx + eax], dl
inc eax
mov dword [esp + 0x10], eax
jmp 0x4998e9
cmp ecx, 2
jne 0x4999ed
cmp dl, 0x26
jne 0x4999ed
mov ecx, 1
xor dl, dl
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x10]
mov byte [ebx + eax], dl
inc eax
mov dword [esp + 0x10], eax
jmp 0x4998e9
xor eax, eax
mov word [ebx + eax], 0
mov eax, ebx
cmp byte [ebx], 0
je 0x499a16
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x499a10
sub eax, ebx
lea ecx, [ebx + 1]
and eax, 0x3fffffff
add ecx, eax
cmp byte [ecx], 0
je 0x499bef
mov esi, 0x6676
mov ebx, 0x73
mov eax, ecx
inc eax
cmp byte [eax], 0
jne 0x499a37
sub eax, ecx
lea edx, [ecx + 1]
and eax, 0x3fffffff
add edx, eax
mov dword [esp + 0x10], edx
mov edi, edx
jne 0x499a55
xor edi, edi
jmp 0x499a6e
cmp byte [edx], 0
je 0x499a66
lea ebx, [ebx]
inc edi
cmp byte [edi], 0
jne 0x499a60
sub edi, edx
and edi, 0x3fffffff
cmp eax, 3
jne 0x499a8e
cmp si, word [ecx]
jne 0x499bdd
cmp bl, byte [ecx + 2]
jne 0x499bdd
mov dword [esp + 0x2c], edx
jmp 0x499bdd
cmp eax, 5
jne 0x499ace
mov eax, 0x68636163
cmp eax, dword [ecx]
jne 0x499bdd
mov eax, 0x65
cmp al, byte [ecx + 4]
jne 0x499bdd
mov eax, 0x60000
mov dword [esp + 0x24], 0x60000
mov dword [esp + 0x28], eax
mov eax, 0x4e57d8
mov dword [esp + 0x20], str.cache
jmp 0x499b06
cmp eax, 4
jne 0x499bdd
cmp dword [ecx], 0x65646f6d
jne 0x499bdd
mov esi, dword [esp + 0x14]
mov eax, 0x4e5b8c
and esi, 0x87
mov dword [esp + 0x28], 0x87
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], str.access
mov ecx, dword [eax]
xor ebx, ebx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x499b8b
mov eax, ecx
test ecx, ecx
je 0x499b2d
cmp byte [ecx], 0
je 0x499b26
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x499b20
sub eax, ecx
and eax, 0x3fffffff
cmp edi, eax
jne 0x499b7f
mov esi, edi
sub esi, 4
jb 0x499b49
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x499b4e
add edx, 4
add ecx, 4
sub esi, 4
jae 0x499b38
cmp esi, 0xfffffffc
je 0x499ba2
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x499b7b
cmp esi, 0xfffffffd
je 0x499ba2
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x499b7b
cmp esi, 0xfffffffe
je 0x499ba2
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x499b7b
cmp esi, 0xffffffff
je 0x499ba2
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x499ba2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc ebx
mov ecx, dword [eax + ebx*8]
test ecx, ecx
jne 0x499b12
push dword [esp + 0x10]
push dword [esp + 0x24]
push str.no_such__s_mode:__s
call fcn.0042a050
add esp, 0xc
jmp 0x499c15
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + ebx*8 + 4]
test ecx, ecx
je 0x499b8b
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [esp + 0x24]
jg 0x499c49
mov eax, dword [esp + 0x28]
mov ebx, 0x73
mov edx, dword [esp + 0x10]
not eax
and eax, dword [esp + 0x14]
mov esi, 0x6676
or eax, ecx
mov dword [esp + 0x14], eax
lea ecx, [edx + 1]
add ecx, edi
cmp byte [ecx], 0
jne 0x499a35
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x2c]
push esi
call fcn.00427220
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x499c30
push esi
push str.no_such_vfs:__s
call fcn.0042a050
add esp, 8
mov dword [esp + 0x1c], 1
mov ecx, dword [ebp + 0x14]
push dword [esp + 0xc]
mov dword [ecx], eax
call fcn.00427fe0
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [ecx], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
push dword [esp + 0x24]
push str._s_mode_not_allowed:__s
call fcn.0042a050
add esp, 0xc
mov dword [esp + 0x1c], 3
jmp 0x499c1d
lea ebx, [esi + 2]
call fcn.00497540
test eax, eax
jne 0x499caa
test ebx, ebx
jle 0x499caa
mov eax, ebx
cdq
push edx
push eax
call fcn.00427c20
mov ebx, eax
mov dword [esp + 0x14], eax
add esp, 8
test ebx, ebx
je 0x499caa
push esi
push edi
push ebx
call fcn.004aaff0
add esp, 0xc
mov word [ebx + esi], 0
and dword [esp + 0x14], 0xffffffbf
jmp 0x499bef
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret