Function at 0x6704fc10
Capabilities:
Inspect section memory permissions
Parse credit card information

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x68]
sub eax, 1
push edi
mov edi, dword [esi + 0x64]
xor ebp, ebp
mov dword [esi + 0x58], eax
call fcn.67048c90
mov eax, dword [esi + 0x5c]
cmp eax, dword [esi + 0x60]
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x70], ebp
jne 0x6704fc41
or eax, 0xffffffff
jmp 0x6704fc50
mov ecx, dword [esi + 0x54]
lea ecx, [ecx + eax*2]
add eax, 1
mov dword [esi + 0x5c], eax
movzx eax, word [ecx]
lea ecx, [edi + 1]
cmp ecx, 0x7e
mov dword [esi + 0x64], eax
ja case.0x6704fc66.0
movzx edx, byte [ecx + 0x6704fff0]
jmp dword [edx*4 + 0x6704ffb0]
mov eax, dword [esi + 0x5c]
pop edi
mov dword [esi + 0x58], eax
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 8
ret
cmp eax, 0x3f
jne 0x6704fcdb
mov ecx, esi
call fcn.67046970
mov edi, eax
call fcn.67046970
cmp edi, 0x21
mov dword [esi + 0x64], eax
je 0x6704fccf
cmp edi, 0x3a
je 0x6704fcb7
cmp edi, 0x3d
je 0x6704fcc3
push str.bad_lookahead_syntax
call fcn.67047800
pop edi
pop esi
mov eax, 3
pop ebp
add esp, 8
ret
pop edi
pop esi
mov eax, 4
pop ebp
add esp, 8
ret
pop edi
pop esi
mov eax, 5
pop ebp
add esp, 8
ret
pop edi
pop esi
mov eax, 2
pop ebp
add esp, 8
ret
pop edi
pop esi
mov eax, 6
pop ebp
add esp, 8
ret
pop edi
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x70], 0x401
pop esi
mov eax, 9
pop ebp
add esp, 8
ret
pop edi
mov dword [esi + 0x6c], 1
mov dword [esi + 0x70], 0x401
pop esi
mov eax, 9
pop ebp
add esp, 8
ret
mov ecx, dword [esi + 0x68]
push 1
call fcn.67048cf0
pop edi
pop esi
mov eax, 7
pop ebp
add esp, 8
ret
pop edi
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x70], 1
pop esi
mov eax, 9
pop ebp
add esp, 8
ret
cmp eax, 0x5e
jne 0x6704fd68
mov ecx, dword [esi + 0x68]
push 1
call fcn.67048cf0
mov ecx, esi
call fcn.67046970
mov dword [esi + 0x64], eax
push ebx
xor bl, bl
xor al, al
mov byte [esp + 0x13], al
mov edi, 0x2d
jmp 0x6704fd84
mov al, byte [esp + 0x13]
cmp dword [esi + 0x64], edi
jne 0x6704fda5
test bl, bl
je 0x6704fdb9
test al, al
jne 0x6704fda5
mov ecx, esi
mov byte [esp + 0x13], 1
call fcn.67046970
mov dword [esi + 0x64], eax
jmp 0x6704fe82
test bl, bl
je 0x6704fdb9
test al, al
jne 0x6704fdb9
mov ecx, dword [esi + 0x68]
push ebp
push ebp
call fcn.6704e940
xor bl, bl
mov eax, dword [esi + 0x64]
cmp eax, 0x5c
jne 0x6704fe11
mov eax, dword [esi + 0x5c]
cmp eax, dword [esi + 0x60]
jne 0x6704fdce
or eax, 0xffffffff
jmp 0x6704fddd
mov ecx, dword [esi + 0x54]
lea ecx, [ecx + eax*2]
add eax, 1
mov dword [esi + 0x5c], eax
movzx eax, word [ecx]
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.6704ee30
cmp eax, 0xb
jne 0x6704fe35
mov eax, 8
test eax, 0x10000
je 0x6704fe64
cmp byte [esp + 0x13], 0
je 0x6704fe5d
mov ecx, dword [esi + 0x68]
push eax
push ebp
call fcn.6704e940
xor bl, bl
mov byte [esp + 0x13], bl
jmp 0x6704fe82
mov ecx, dword [esi + 0x5c]
or eax, 0x10000
cmp ecx, dword [esi + 0x60]
jne 0x6704fe23
or ecx, 0xffffffff
jmp 0x6704fe32
mov edx, dword [esi + 0x54]
lea edx, [edx + ecx*2]
add ecx, 1
mov dword [esi + 0x5c], ecx
movzx ecx, word [edx]
mov dword [esi + 0x64], ecx
cmp eax, 7
jne 0x6704fdf1
cmp byte [esp + 0x13], 0
je 0x6704fe82
mov ecx, dword [esi + 0x68]
push edi
push edi
call fcn.6704e940
mov ecx, dword [esi + 0x68]
push ebp
push ebp
call fcn.6704e940
xor bl, bl
mov byte [esp + 0x13], bl
jmp 0x6704fe82
movzx ebp, ax
mov bl, 1
jmp 0x6704fe82
mov eax, dword [esi + 0x74]
cmp dword [eax + 8], 0
lea ecx, [esi + 0x74]
jne 0x6704fe82
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], str.bad_char_class_syntax
call fcn.6701af50
mov eax, dword [esi + 0x64]
cmp eax, 0x5d
je 0x6704fe93
cmp eax, 0xffffffff
jne 0x6704fd80
cmp byte [esp + 0x13], 0
je 0x6704fea4
mov ecx, dword [esi + 0x68]
push edi
push edi
call fcn.6704e940
test bl, bl
pop ebx
je 0x6704feb3
mov ecx, dword [esi + 0x68]
push ebp
push ebp
call fcn.6704e940
cmp dword [esi + 0x64], 0xffffffff
mov ecx, esi
jne 0x6704fed1
push str.unexpected_end
call fcn.67047800
pop edi
pop esi
mov eax, 7
pop ebp
add esp, 8
ret
call fcn.67046970
pop edi
mov dword [esi + 0x64], eax
pop esi
mov eax, 7
pop ebp
add esp, 8
ret
pop edi
mov ecx, esi
pop esi
pop ebp
add esp, 8
jmp fcn.6704ee30
push str.missing_left_delim
mov ecx, esi
call fcn.67047800
pop edi
pop esi
mov eax, 0x1005d
pop ebp
add esp, 8
ret
pop edi
pop esi
mov eax, 8
pop ebp
add esp, 8
ret
push ebp
mov ecx, esi
call fcn.67048260
cmp dword [esi + 0x64], 0x2c
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
jne 0x6704ff41
mov ecx, esi
call fcn.67046970
push 0x401
mov dword [esi + 0x64], eax
call fcn.67048260
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x70]
cmp eax, dword [esi + 0x6c]
jge 0x6704ff55
push str.invalid_interval
mov ecx, esi
call fcn.67047800
cmp dword [esi + 0x64], 0x7d
je 0x6704ff67
push str.bad_repetition_syntax
mov ecx, esi
call fcn.67047800
mov ecx, esi
call fcn.67046970
pop edi
mov dword [esi + 0x64], eax
pop esi
mov eax, 9
pop ebp
add esp, 8
ret
pop edi
pop esi
mov eax, 0xa
pop ebp
add esp, 8
ret
push str.missing_left_delim
mov ecx, esi
call fcn.67047800
pop edi
pop esi
mov eax, 0x1007d
pop ebp
add esp, 8
ret
mov eax, edi
pop edi
pop esi
or eax, 0x10000
pop ebp
add esp, 8
ret