Function at 0x301729b0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x874
mov eax, dword [0x302a3bc0]
push ebp
mov ebp, dword [esp + 0x87c]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x890]
cmp edi, esi
mov dword [esp + 0x87c], eax
mov eax, dword [esp + 0x88c]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], ebp
jne 0x30172a16
cmp eax, esi
je 0x301729fe
mov dword [eax], 0x63
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x870]
call fcn.3022c9c7
add esp, 0x874
ret
cmp eax, esi
mov dword [edi], esi
je 0x30172a1e
mov dword [eax], esi
push ebx
mov ebx, dword [esp + 0x898]
cmp ebx, esi
jne 0x30172a34
mov eax, 0x10
jmp 0x30172f18
mov eax, dword [esp + 0x88c]
test ah, 8
mov dword [ebx], esi
je 0x30172a69
test ah, 0x20
jne 0x30172a69
push 0xffffffffffffffff
push ebp
call fcn.30195160
add esp, 8
cmp eax, esi
mov dword [ebx], eax
jl 0x30172a62
mov eax, 0x2c
jmp 0x30172f18
mov eax, dword [esp + 0x88c]
test eax, 0xff838580
je 0x30172a7a
mov eax, 0x11
jmp 0x30172f02
mov ebx, dword [esp + 0x89c]
cmp ebx, esi
jne 0x30172a8a
mov ebx, 0x30259720
lea eax, [ebx + 0x100]
lea ecx, [ebx + 0x200]
lea edx, [ebx + 0x340]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
cmp byte [ebp], 0x28
jne 0x30172b89
cmp byte [ebp + 1], 0x2a
jne 0x30172b89
push 3
lea edi, [ebp + 2]
push 0x30251584
push edi
call fcn.300fcf1d
add esp, 0xc
test eax, eax
jne 0x30172ae9
mov dword [esp + 0x10], 5
mov eax, 0x100000
jmp 0x30172b73
push 3
push 0x30251580
push edi
call fcn.300fcf1d
add esp, 0xc
test eax, eax
jne 0x30172b0c
mov dword [esp + 0x10], 5
mov eax, 0x200000
jmp 0x30172b73
push 5
push str.CRLF_
push edi
call fcn.300fcf1d
add esp, 0xc
test eax, eax
jne 0x30172b2f
mov dword [esp + 0x10], 7
mov eax, 0x300000
jmp 0x30172b73
push 4
push str.ANY_
push edi
call fcn.300fcf1d
add esp, 0xc
test eax, eax
jne 0x30172b52
mov dword [esp + 0x10], 6
mov eax, 0x400000
jmp 0x30172b73
push 8
push str.ANYCRLF_
push edi
call fcn.300fcf1d
add esp, 0xc
test eax, eax
jne 0x30172b89
mov dword [esp + 0x10], 0xa
mov eax, 0x500000
mov ecx, dword [esp + 0x88c]
and ecx, 0xff8fffff
or ecx, eax
mov dword [esp + 0x88c], ecx
mov eax, dword [esp + 0x88c]
and eax, 0x700000
cmp eax, 0x300000
mov ecx, 2
jg 0x30172be6
je 0x30172bdf
cmp eax, esi
je 0x30172c04
cmp eax, 0x100000
je 0x30172bd8
cmp eax, 0x200000
jne 0x30172bf4
mov eax, 0xa
cmp eax, 0xff
mov dword [esp + 0x74], esi
jle 0x30172c0e
mov edx, eax
sar edx, 8
mov dword [esp + 0x78], ecx
mov byte [esp + 0x7c], dl
mov byte [esp + 0x7d], al
jmp 0x30172c1a
mov eax, 0xd
jmp 0x30172bba
mov eax, 0xd0a
jmp 0x30172bba
cmp eax, 0x400000
je 0x30172c04
cmp eax, 0x500000
je 0x30172bfe
mov eax, 0x38
jmp 0x30172f02
mov dword [esp + 0x74], ecx
jmp 0x30172c1a
mov dword [esp + 0x74], 1
jmp 0x30172c1a
mov dword [esp + 0x78], 1
mov byte [esp + 0x7c], al
lea eax, [esp + 0x80]
mov edx, eax
mov ecx, eax
mov dword [esp + 0x38], eax
mov eax, ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x30172c52
mov ecx, dword [esp + 0x10]
sub eax, edx
lea edi, [ecx + ebp]
lea edx, [esp + 0x80]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x34]
push edx
push esi
push esi
push esi
add eax, ebp
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x8b0]
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x38]
mov edx, eax
push ecx
and edx, 7
push edx
push eax
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0x98], eax
mov dword [esp + 0x50], edi
mov byte [esp + 0xb4], 0x5d
call fcn.30172320
mov eax, dword [esp + 0x48]
add esp, 0x34
cmp eax, esi
jne 0x30172f02
mov eax, dword [esp + 0x18]
cmp eax, 0x10000
jle 0x30172cf2
mov eax, 0x14
jmp 0x30172f02
mov ecx, dword [esp + 0x54]
add ecx, 3
imul ecx, dword [esp + 0x50]
lea eax, [ecx + eax + 0x28]
push eax
mov dword [esp + 0x14], eax
call dword [sym.npswf32.dll_pcre_malloc]
mov ebp, eax
add esp, 4
cmp ebp, esi
jne 0x30172d20
mov eax, 0x15
jmp 0x30172efb
mov edx, dword [esp + 0x10]
mov dword [ebp + 4], edx
mov dword [ebp], 0x50435245
mov eax, dword [esp + 0x64]
mov dword [ebp + 8], eax
xor eax, eax
mov word [ebp + 0x18], 0x28
cmp ebx, 0x30259720
sete al
mov dword [ebp + 0xc], esi
mov word [ebp + 0x14], si
mov word [ebp + 0x16], si
mov cx, word [esp + 0x54]
mov word [ebp + 0x1a], cx
mov dx, word [esp + 0x50]
mov word [ebp + 0x1c], dx
mov word [ebp + 0x1e], si
mov dword [ebp + 0x24], esi
dec eax
and eax, ebx
mov dword [ebp + 0x20], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], esi
movzx eax, word [ebp + 0x18]
add eax, ebp
push esi
mov dword [esp + 0x50], eax
movzx ecx, word [ebp + 0x1a]
movzx ebx, word [ebp + 0x1c]
imul ebx, ecx
lea ecx, [esp + 0x2c]
push ecx
push esi
lea edx, [esp + 0x8c]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
push esi
add ebx, eax
push esi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
lea edx, [esp + 0x34]
push edx
mov byte [ebx], 0x5d
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x38]
mov ecx, eax
push edx
and ecx, 7
push ecx
push eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x44], ebx
call fcn.30172320
mov dx, word [esp + 0x8c]
mov word [ebp + 0x10], dx
mov ax, word [esp + 0x90]
mov word [ebp + 0x12], ax
mov eax, dword [esp + 0xa0]
add esp, 0x34
cmp eax, esi
je 0x30172e1d
or dword [ebp + 8], 0x80000000
cmp dword [esp + 0x70], esi
je 0x30172e2b
mov dword [esp + 0x20], 0xffffffff
cmp dword [esp + 0x14], esi
jne 0x30172e42
mov ecx, dword [esp + 0x1c]
cmp byte [ecx], 0
je 0x30172e42
mov dword [esp + 0x14], 0x16
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov byte [eax], 0
inc eax
sub eax, ebx
cmp eax, ecx
jle 0x30172e61
mov dword [esp + 0x14], 0x17
jmp 0x30172eeb
cmp dword [esp + 0x14], esi
jne 0x30172eeb
jmp 0x30172e70
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x80]
cmp eax, edx
jbe 0x30172ed9
sub eax, 2
mov dword [esp + 0x48], eax
movzx ecx, byte [eax + 1]
mov ch, byte [eax]
mov esi, dword [ebp + 8]
xor edx, edx
shr esi, 0xb
and esi, 1
mov eax, ecx
mov dh, byte [eax + ebx]
mov dword [esp + 0x18], eax
mov dl, byte [eax + ebx + 1]
mov eax, ebx
mov edi, edx
call fcn.3016de20
test eax, eax
je 0x30172ecf
mov esi, dword [esp + 0x18]
mov ecx, eax
sub ecx, ebx
sub al, bl
sar ecx, 8
mov byte [esi + ebx], cl
mov byte [esi + ebx + 1], al
mov eax, dword [esp + 0x14]
test eax, eax
je 0x30172e70
jmp 0x30172eeb
mov dword [esp + 0x14], 0x35
jmp 0x30172eeb
mov dx, word [ebp + 0x12]
cmp dx, word [ebp + 0x10]
jbe 0x30172f47
mov dword [esp + 0x14], 0xf
push ebp
call dword [sym.npswf32.dll_pcre_free]
mov eax, dword [esp + 0x18]
add esp, 4
xor esi, esi
mov ebp, dword [esp + 0x888]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x898]
mov edi, dword [esp + 0x894]
sub ecx, ebp
mov dword [edx], ecx
mov ecx, dword [eax*4 + 0x302a1188]
mov dword [edi], ecx
mov ecx, dword [esp + 0x890]
cmp ecx, esi
je 0x30172f2e
mov dword [ecx], eax
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x870]
call fcn.3022c9c7
add esp, 0x874
ret
mov eax, dword [ebp + 8]
test al, 0x10
jne 0x30172fdb
mov edx, dword [esp + 0x60]
push edx
mov dword [esp + 0x1c], eax
push 0
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.30172660
add esp, 0x10
test eax, eax
je 0x30172f77
mov eax, dword [ebp + 8]
or eax, 0x10
jmp 0x30172fd8
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x30172f93
push 0
lea ecx, [esp + 0x1c]
push ecx
push ebx
call fcn.301728a0
add esp, 0xc
test eax, eax
jl 0x30172fbc
mov ecx, eax
and ecx, 0xff
test ah, 1
je 0x30172fae
mov edx, dword [esp + 0x2c]
movzx edx, byte [edx + ecx]
cmp edx, ecx
jne 0x30172fae
mov eax, ecx
mov word [ebp + 0x14], ax
mov eax, dword [ebp + 8]
or eax, 0x40000000
jmp 0x30172fd8
mov eax, dword [esp + 0x60]
push eax
push 0
push ebx
call fcn.30172740
add esp, 0xc
test eax, eax
je 0x30172fdb
mov eax, dword [ebp + 8]
or eax, 0x10000000
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x3017301b
mov edx, dword [ebp + 8]
test dl, 0x10
je 0x30172ff0
test ah, 2
je 0x3017301b
mov ecx, eax
and ecx, 0xff
test ah, 1
je 0x3017300e
mov esi, dword [esp + 0x2c]
movzx esi, byte [esi + ecx]
cmp esi, ecx
jne 0x3017300e
and eax, 0xfffffeff
or edx, 0x20000000
mov word [ebp + 0x16], ax
mov dword [ebp + 8], edx
mov ecx, dword [esp + 0x880]
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
call fcn.3022c9c7
add esp, 0x874
ret