Function at 0x6b85ddc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x14c
mov ebp, dword [esp + 0x160]
mov ebx, dword [esp + 0x170]
test ebp, ebp
sete al
jne 0x6b85de13
mov edi, dword [esp + 0x168]
or edi, dword [esp + 0x164]
sete cl
cmp dword [esp + 0x16c], 0xfffffc19
sete dl
test cl, dl
je 0x6b85de13
mov edi, 0xfffffffc
cmp ebx, 0xfffffc19
je 0x6b85e1b2
test dword [esp + 0x174], 0xe20f5a6f
jne 0x6b85f144
mov edx, dword [esp + 0x168]
test edx, edx
je 0x6b85ef3d
test al, al
jne 0x6b85ef3d
mov eax, dword [esp + 0x178]
test eax, eax
jne 0x6b85de55
mov edi, dword [esp + 0x17c]
test edi, edi
jg 0x6b85ef3d
mov esi, dword [esp + 0x17c]
test esi, esi
js 0x6b85f177
mov ecx, dword [esp + 0x16c]
test ecx, ecx
js 0x6b85f181
mov eax, ebx
shr eax, 0x1f
cmp ebx, dword [esp + 0x16c]
setg dl
or dl, al
mov byte [esp + 0x46], dl
jne 0x6b85f14e
mov eax, dword [ebp]
cmp eax, 0x50435245
jne 0x6b85e1a0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x3c], ecx
test cl, 2
je 0x6b85f18b
mov edi, dword [ebp + 8]
mov edx, 2
mov esi, edi
and esi, 0x800
setne al
setne byte [esp + 0x47]
movzx eax, al
mov dword [esp + 0x38], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x174]
sar eax, 0xf
and eax, 1
test dword [esp + 0x174], 0x8000000
cmovne eax, edx
lea edx, [ebx + ebx]
mov dword [esp + 0x54], edx
add edx, dword [esp + 0x168]
mov dword [esp + 0x28], edx
mov dword [esp + 0x110], eax
test esi, esi
je 0x6b85df1f
test dword [esp + 0x174], 0x2000
je 0x6b85e1f0
movzx eax, word [ebp + 0x22]
mov edx, dword [esp + 0x164]
mov dword [esp + 0x88], 0x989680
mov dword [esp + 0x8c], 0x989680
mov dword [esp + 0x24], eax
lea eax, [ebp + eax*2]
mov dword [esp + 0xb4], eax
movzx eax, word [ebp + 0x26]
mov dword [esp + 0x130], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0xa4], eax
movzx eax, word [ebp + 0x24]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 0x30]
test edx, edx
je 0x6b85dffa
mov esi, dword [esp + 0x164]
mov esi, dword [esi]
test esi, 1
je 0x6b85dfa6
mov edx, dword [esp + 0x164]
mov edx, dword [edx + 4]
mov dword [esp + 0x34], edx
test esi, 2
je 0x6b85dfbf
mov edx, dword [esp + 0x164]
mov edx, dword [edx + 8]
mov dword [esp + 0x88], edx
test esi, 0x10
je 0x6b85dfd8
mov edx, dword [esp + 0x164]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x8c], edx
test esi, 4
je 0x6b85dff1
mov edx, dword [esp + 0x164]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x130], edx
and esi, 8
jne 0x6b85e1c0
test ch, 0x20
je 0x6b85e00f
mov esi, dword [ebp + 0x10]
cmp esi, dword [esp + 0x88]
jb 0x6b85e1e0
test ch, 0x40
je 0x6b85e024
mov esi, dword [ebp + 0x14]
cmp esi, dword [esp + 0x8c]
jb 0x6b85e1d0
test eax, eax
mov esi, sym.libpcre16_0.dll__pcre16_default_tables
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x11c], ebx
mov dword [esp + 0xb0], 0
cmove eax, esi
imul edx, dword [esp + 0x30]
add edx, dword [esp + 0x24]
mov esi, dword [esp + 0x168]
mov dword [esp + 0xec], 0
lea edx, [ebp + edx*2]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xf8], edx
mov edx, edi
shr edx, 5
mov dword [esp + 0xfc], esi
mov esi, dword [esp + 0x16c]
mov dword [esp + 0x138], 0
and edx, 1
mov dword [esp + 0xe0], edx
mov edx, edi
add esi, esi
shr edx, 0x1d
mov dword [esp + 0x68], esi
add esi, dword [esp + 0x168]
and edx, 1
mov dword [esp + 0x40], esi
mov dword [esp + 0xdc], edx
mov edx, edi
shr edx, 0x19
mov dword [esp + 0x100], esi
mov dword [esp + 0x134], 0
and edx, 1
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x12c], 0
shr edx, 7
and edx, 1
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x174]
shr edx, 8
and edx, 1
mov dword [esp + 0xd0], edx
mov edx, dword [esp + 0x174]
shr edx, 0xa
and edx, 1
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x174]
shr edx, 0x1c
and edx, 1
mov dword [esp + 0xe8], edx
mov edx, ecx
shr edx, 0xc
and edx, 1
mov dword [esp + 0xf4], edx
lea edx, [eax + 0x100]
add eax, 0x340
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x174]
and eax, 0x1800000
cmp eax, 0x800000
je 0x6b85ec00
cmp eax, 0x1000000
je 0x6b85ebe8
test eax, eax
je 0x6b85e260
add esp, 0x14c
mov edi, 0xffffffe9
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
ret
cmp eax, 0x45524350
mov edi, 0xffffffe3
mov eax, 0xfffffffc
cmovne edi, eax
add esp, 0x14c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x164]
mov eax, dword [eax + 0x10]
jmp 0x6b85dffa
mov dword [esp + 0x8c], esi
jmp 0x6b85e024
mov dword [esp + 0x88], esi
jmp 0x6b85e00f
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x16c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x168]
mov dword [esp], eax
call sym.libpcre16_0.dll__pcre16_valid_utf
test eax, eax
jne 0x6b85eef0
test ebx, ebx
jle 0x6b85e249
cmp ebx, dword [esp + 0x16c]
jge 0x6b85e249
mov eax, dword [esp + 0x28]
mov edi, 0xfffffff5
movzx eax, word [eax]
mov word [esp + 0x24], ax
and ax, 0xfc00
cmp ax, 0xdc00
je 0x6b85e1b2
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x3c], ecx
jmp 0x6b85df1f
mov edx, edi
shr edx, 0x17
and edx, 1
test edi, 0x1800000
cmovne eax, edx
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x174]
mov edx, edi
and edx, 0x700000
and eax, 0x700000
cmove eax, edx
cmp eax, 0x300000
je 0x6b85ee00
jbe 0x6b85e4a8
cmp eax, 0x400000
je 0x6b85edf0
cmp eax, 0x500000
jne 0x6b85e187
mov dword [esp + 0x9c], 2
mov eax, dword [esp + 0x110]
test eax, eax
je 0x6b85e2d5
test ch, 2
jne 0x6b85f195
mov ebx, 0x55555556
mov eax, ebx
imul dword [esp + 0x17c]
mov eax, dword [esp + 0x17c]
sar eax, 0x1f
sub edx, eax
lea esi, [edx + edx*2]
lea eax, [esi + esi]
mov dword [esp + 0x48], eax
imul ebx
mov eax, dword [esp + 0x48]
sar eax, 0x1f
sub edx, eax
movzx eax, word [ebp + 0x20]
mov dword [esp + 0x4c], edx
test ax, ax
je 0x6b85e500
mov dword [esp + 0x24], eax
mov eax, esi
imul ebx
mov eax, esi
sar eax, 0x1f
sub edx, eax
mov eax, dword [esp + 0x24]
cmp eax, edx
jl 0x6b85e500
lea esi, [eax + eax*2 + 3]
lea eax, [esi*4]
mov dword [esp], eax
call dword [sym.libpcre16_0.dll_pcre16_malloc]
mov dword [esp + 0x90], eax
mov ebx, eax
test eax, eax
je 0x6b85f19f
lea eax, [esi + esi]
mov edx, 0xaaaaaaab
mov dword [esp + 0x94], esi
mul edx
mov dword [esp + 0x58], 1
mov dword [esp + 0x118], 0
shr edx, 1
mov dword [esp + 0x98], edx
movzx edx, word [ebp + 0x1e]
lea eax, [ebx + esi*4]
mov ecx, eax
shl edx, 2
sub ecx, edx
lea edx, [ebx + 8]
cmp ecx, edx
cmovbe ecx, edx
sub eax, 4
cmp eax, ecx
jb 0x6b85e3c6
mov edx, eax
mov dword [esp + 4], 0xff
sub edx, ecx
shr edx, 2
lea ecx, [edx*4 + 4]
shl edx, 2
sub eax, edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov esi, dword [esp + 0x17c]
test esi, esi
je 0x6b85e3e8
cmp dword [esp + 0x17c], 1
mov dword [ebx], 0xffffffff
je 0x6b85e3e8
mov dword [ebx + 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x174]
mov esi, dword [esp + 0x3c]
or eax, edi
and esi, 0x100
mov dword [esp + 0x64], esi
and eax, 0x10
jne 0x6b85e560
test cl, 0x10
je 0x6b85e550
movzx esi, word [ebp + 0x18]
mov word [esp + 0x50], si
test cl, 0x20
je 0x6b85eec8
mov word [esp + 0x52], si
cmp si, 0xff
ja 0x6b85e445
mov ebx, dword [esp + 0xc4]
movzx edx, si
movzx ebx, byte [ebx + edx]
mov word [esp + 0x52], bx
movzx esi, word [esp + 0x50]
cmp si, 0x7f
jbe 0x6b85f102
cmp byte [esp + 0x47], 0
je 0x6b85f102
mov edx, esi
mov ebx, esi
mov dword [esp + 0x74], 0
shr dx, 7
and ebx, 0x7f
mov dword [esp + 0x2c], 1
movzx edx, dx
movzx edx, byte [edx + sym.libpcre16_0.dll__pcre16_ucd_stage1]
shl edx, 7
add edx, ebx
movzx edx, word [edx + edx + sym.libpcre16_0.dll__pcre16_ucd_stage2]
add si, word [edx*8 + 0x6b8796a4]
mov word [esp + 0x52], si
jmp 0x6b85e57e
cmp eax, 0x100000
jne 0x6b85e4e0
mov dword [esp + 0x9c], 0
mov eax, 0xd
mov dword [esp + 0xa0], 1
mov word [esp + 0xb8], ax
jmp 0x6b85e2c1
test eax, 0x500000
jne 0x6b85e187
mov dword [esp + 0x9c], 0
mov eax, 0xa
jmp 0x6b85e4bf
mov eax, dword [esp + 0x178]
mov ebx, dword [esp + 0x178]
mov dword [esp + 0x94], esi
mov dword [esp + 0x118], 0
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], 0
mov dword [esp + 0x98], eax
test ebx, ebx
jne 0x6b85e382
jmp 0x6b85e3eb
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x6b85ee78
lea esi, [esi]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x74], 0
mov word [esp + 0x52], dx
mov word [esp + 0x50], bx
test cl, 0x40
je 0x6b85e610
movzx esi, word [ebp + 0x1a]
and ecx, 0x80
mov word [esp + 0x70], si
je 0x6b85ee30
mov word [esp + 0x72], si
cmp si, 0xff
ja 0x6b85e5bb
mov ecx, dword [esp + 0xc4]
movzx edx, si
movzx ecx, byte [ecx + edx]
mov word [esp + 0x72], cx
movzx ebx, word [esp + 0x70]
cmp bx, 0x7f
jbe 0x6b85ef30
cmp byte [esp + 0x47], 0
je 0x6b85ef30
mov edx, ebx
mov ecx, ebx
mov dword [esp + 0x6c], 1
shr dx, 7
and ecx, 0x7f
movzx edx, dx
movzx edx, byte [edx + sym.libpcre16_0.dll__pcre16_ucd_stage1]
shl edx, 7
add edx, ecx
movzx edx, word [edx + edx + sym.libpcre16_0.dll__pcre16_ucd_stage2]
add bx, word [edx*8 + 0x6b8796a4]
mov word [esp + 0x72], bx
jmp 0x6b85e626
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x6c], 0
mov word [esp + 0x72], bx
mov word [esp + 0x70], si
test eax, eax
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], 0
setne byte [esp + 0x3c]
and edi, 0x40000
lea ecx, [esi - 2]
add eax, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x160], ebp
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov ebx, ebp
test ecx, ecx
je 0x6b85e718
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x100]
mov ebx, esi
test edx, edx
jne 0x6b85eb28
cmp esi, eax
jb 0x6b85e6be
jmp 0x6b85e718
mov edx, dword [esp + 0xa0]
mov ecx, eax
lea edi, [edx + edx]
sub ecx, edi
cmp ebx, ecx
ja 0x6b85e6b7
movzx edi, word [esp + 0xb8]
cmp word [ebx], di
je 0x6b85e700
add ebx, 2
cmp eax, ebx
jbe 0x6b85e718
mov edx, dword [esp + 0x9c]
test edx, edx
je 0x6b85e698
lea ecx, [esp + 0xa0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ebx
call sym.libpcre16_0.dll__pcre16_is_newline
test eax, eax
jne 0x6b85e718
mov eax, dword [esp + 0x100]
jmp 0x6b85e6b7
cmp edx, 1
je 0x6b85e718
movzx edi, word [esp + 0xba]
cmp word [ebx + 2], di
jne 0x6b85e6b7
lea esi, [esi]
nop
mov edi, dword [esp + 0x160]
mov eax, dword [esp + 0x174]
or eax, dword [edi + 8]
test eax, 0x4000000
jne 0x6b85e800
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x6b85ea60
movzx edi, word [esp + 0x52]
cmp word [esp + 0x50], di
je 0x6b85ee50
cmp esi, ebx
jae 0x6b85e778
movzx edx, word [esp + 0x50]
movzx ecx, word [esp + 0x52]
jmp 0x6b85e76c
cmp cx, ax
je 0x6b85e778
add esi, 2
cmp ebx, esi
jbe 0x6b85e778
movzx eax, word [esi]
cmp dx, ax
jne 0x6b85e760
lea esi, [esi]
mov edx, dword [esp + 0x110]
test edx, edx
jne 0x6b85e800
mov edi, dword [esp + 0x34]
test edi, edi
je 0x6b85e7a0
test byte [edi + 4], 2
je 0x6b85e7a0
mov eax, ebp
sub eax, esi
sar eax, 1
cmp eax, dword [edi + 0x28]
jb 0x6b85ec50
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x6b85e800
mov eax, ebp
sub eax, esi
cmp eax, 0x7ce
jg 0x6b85e800
mov eax, dword [esp + 0x7c]
add eax, esi
cmp dword [esp + 0x78], eax
jae 0x6b85e800
movzx ecx, word [esp + 0x72]
cmp word [esp + 0x70], cx
je 0x6b85f158
movzx ebx, word [esp + 0x72]
movzx edi, word [esp + 0x70]
jmp 0x6b85e7e7
cmp dx, di
je 0x6b85e7fa
mov eax, ecx
cmp ebp, eax
jbe 0x6b85ec50
movzx edx, word [eax]
lea ecx, [eax + 2]
cmp dx, bx
jne 0x6b85e7e0
mov dword [esp + 0x78], eax
nop
lea eax, [esp + 0x84]
mov dword [esp], 2
mov ecx, esi
mov edx, dword [esp + 0xf8]
mov dword [esp + 4], eax
mov eax, esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x104], esi
mov dword [esp + 0x10c], esi
mov dword [esp + 0x84], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0xac], 0
call fcn.6b8536a0
mov edi, eax
mov eax, dword [esp + 0xec]
test eax, eax
je 0x6b85e885
mov eax, dword [esp + 0x30]
test eax, eax
je 0x6b85ec68
cmp edi, 0xfffffc21
jge 0x6b85e978
cmp edi, 0xfffffc1c
jl 0x6b85e980
add edi, 0x3e3
cmp edi, 3
ja case.default.0x6b85e8ac
jmp dword [edi*4 + 0x6b867edc]
mov dword [esp + 0xb0], 0
lea ebx, [esi + 2]
cmp ebp, ebx
jbe 0x6b85e8f8
cmp byte [esp + 0x47], 0
je 0x6b85e8f8
movzx eax, word [esi + 2]
lea edx, [esi + 4]
and ax, 0xfc00
cmp ax, 0xdc00
cmove ebx, edx
jmp 0x6b85e8f8
mov ebx, dword [esp + 0x104]
cmp esi, ebx
jae case.0x6b85e8ac.995
lea esi, [esi]
nop
mov eax, dword [esp + 0x24]
test eax, eax
je 0x6b85e920
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x100]
test edx, edx
je 0x6b85ec10
cmp esi, eax
jb 0x6b85f000
nop
cmp ebp, ebx
jb 0x6b85ec50
cmp byte [esp + 0x3c], 0
jne 0x6b85ec50
cmp ebx, dword [esp + 0x28]
jbe 0x6b85e948
cmp word [ebx - 2], 0xd
jne 0x6b85e948
cmp ebp, ebx
ja 0x6b85efc0
mov dword [esp + 0x134], 0
mov esi, ebx
jmp 0x6b85e667
mov eax, dword [esp + 0xac]
mov ebx, esi
mov dword [esp + 0xb0], eax
jmp 0x6b85e8f8
test edi, edi
je case.0x6b85e8ac.995
cmp edi, 1
mov ebp, dword [esp + 0x160]
sete dl
cmp edi, 0xfffffc19
sete al
or dl, al
jne 0x6b85ec80
test edi, edi
mov ebx, dword [esp + 0x58]
setne dl
cmp edi, 0xfffffff4
setne al
and edx, eax
mov byte [esp + 0x46], dl
test ebx, ebx
je 0x6b85e9c7
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call dword [sym.libpcre16_0.dll_pcre16_free]
cmp byte [esp + 0x46], 0
jne 0x6b85e1b2
mov ecx, dword [esp + 0x5c]
mov edi, 0xffffffff
test ecx, ecx
je 0x6b85ea27
cmp dword [esp + 0x17c], 1
jle 0x6b85ea22
mov edi, dword [esp + 0x178]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x168]
sar eax, 1
mov dword [edi], eax
mov eax, dword [esp + 0x68]
sar eax, 1
cmp dword [esp + 0x17c], 2
mov dword [edi + 4], eax
je 0x6b85ea22
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x168]
sar eax, 1
mov dword [edi + 8], eax
mov edi, 0xfffffff4
mov edx, dword [esp + 0x164]
test edx, edx
je 0x6b85e1b2
mov eax, dword [esp + 0x164]
test byte [eax], 0x20
je 0x6b85e1b2
mov eax, dword [eax + 0x18]
mov edx, dword [esp + 0x138]
mov dword [eax], edx
jmp 0x6b85e1b2
mov edi, dword [esp + 0x64]
test edi, edi
je 0x6b85eda0
mov eax, dword [esp + 0xfc]
mov edi, dword [esp + 0x54]
lea edx, [eax + edi]
cmp esi, edx
jbe 0x6b85e778
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x6b85f030
cmp esi, ebx
jb 0x6b85eaba
jmp 0x6b85e778
cmp esi, eax
ja 0x6b85ef50
add esi, 2
cmp ebx, esi
jbe 0x6b85ef80
mov eax, dword [esp + 0xfc]
mov edx, dword [esp + 0x9c]
test edx, edx
jne 0x6b85eaa0
mov ecx, dword [esp + 0xa0]
lea edx, [ecx + ecx]
add eax, edx
cmp esi, eax
jb 0x6b85eaa8
mov eax, esi
movzx edi, word [esp + 0xb8]
sub eax, edx
cmp word [eax], di
jne 0x6b85eaa8
cmp ecx, 1
je 0x6b85eb00
mov eax, 1
movzx edi, word [esp + 0xba]
sub eax, ecx
cmp word [esi + eax*2], di
jne 0x6b85eaa8
mov edi, dword [esp + 0x160]
mov eax, dword [esp + 0x174]
or eax, dword [edi + 8]
test eax, 0x4000000
je 0x6b85e778
jmp 0x6b85e800
cmp esi, eax
jb 0x6b85eb54
jmp 0x6b85e718
movzx ecx, word [ebx + 2]
add ebx, 4
and cx, 0xfc00
cmp cx, 0xdc00
cmovne ebx, edx
cmp eax, ebx
jbe 0x6b85e718
mov edx, dword [esp + 0x9c]
test edx, edx
jne 0x6b85eb90
mov edx, dword [esp + 0xa0]
mov ecx, eax
lea edi, [edx + edx]
sub ecx, edi
cmp ebx, ecx
ja 0x6b85eb7e
movzx edi, word [esp + 0xb8]
cmp word [ebx], di
je 0x6b85ebc8
lea edx, [ebx + 2]
cmp ebp, edx
ja 0x6b85eb38
mov ebx, edx
jmp 0x6b85eb4c
lea ecx, [esp + 0xa0]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ebx
call sym.libpcre16_0.dll__pcre16_is_newline
test eax, eax
jne 0x6b85e718
mov eax, dword [esp + 0x100]
jmp 0x6b85eb7e
cmp edx, 1
je 0x6b85e718
movzx edi, word [esp + 0xba]
cmp word [ebx + 2], di
jne 0x6b85eb7e
jmp 0x6b85e718
mov dword [esp + 0xf0], 0
jmp 0x6b85e278
mov dword [esp + 0xf0], 1
jmp 0x6b85e278
mov edx, dword [esp + 0xa0]
lea ecx, [edx + edx]
sub eax, ecx
cmp esi, eax
ja 0x6b85e920
movzx eax, word [esp + 0xb8]
cmp word [esi], ax
jne 0x6b85e920
cmp edx, 1
je 0x6b85ec50
movzx eax, word [esp + 0xba]
cmp word [esi + 2], ax
jne 0x6b85e920
lea esi, [esi]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x6b85e9d2
xor edi, edi
jmp 0x6b85e9b7
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x30], eax
jmp 0x6b85e885
mov eax, dword [esp + 0x58]
test eax, eax
je 0x6b85ecbb
cmp dword [esp + 0x48], 0xb
mov ebx, dword [esp + 0x90]
jg 0x6b85f117
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x114], eax
jle 0x6b85ecb2
or dword [esp + 0x118], 0x10000
mov dword [esp], ebx
call dword [sym.libpcre16_0.dll_pcre16_free]
mov edx, dword [esp + 0x114]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
mov edi, eax
test byte [esp + 0x11a], 1
jne 0x6b85eeb0
movzx ecx, word [ebp + 0x1e]
mov ebp, dword [esp + 0x178]
test ebp, ebp
je 0x6b85ed36
cmp ecx, eax
jl 0x6b85ed36
lea eax, [ecx + ecx + 2]
mov ecx, dword [esp + 0x178]
cmp dword [esp + 0x17c], eax
cmovle eax, dword [esp + 0x17c]
lea edx, [ecx + edx*4]
lea eax, [ecx + eax*4]
cmp edx, eax
jae 0x6b85ed36
mov ecx, edx
mov dword [esp + 4], 0xff
not ecx
mov dword [esp], edx
add eax, ecx
shr eax, 2
lea eax, [eax*4 + 4]
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
cmp dword [esp + 0x17c], 1
jle 0x6b85efb8
mov ecx, dword [esp + 0x178]
mov eax, dword [esp + 0x104]
sub eax, dword [esp + 0xfc]
sar eax, 1
mov dword [ecx], eax
mov eax, dword [esp + 0x108]
sub eax, dword [esp + 0xfc]
sar eax, 1
mov dword [ecx + 4], eax
mov esi, dword [esp + 0x164]
test esi, esi
je 0x6b85e1b2
mov eax, dword [esp + 0x164]
test byte [eax], 0x20
je 0x6b85e1b2
mov eax, dword [eax + 0x18]
mov edx, dword [esp + 0x134]
mov dword [eax], edx
jmp 0x6b85e1b2
mov edi, dword [esp + 0x74]
test edi, edi
je 0x6b85e778
cmp esi, ebx
jae 0x6b85e778
mov ecx, 0xff
jmp 0x6b85edcb
add esi, 2
cmp ebx, esi
jbe 0x6b85e778
movzx eax, word [esi]
cmp eax, 0xff
cmova eax, ecx
mov edx, eax
and eax, 7
shr edx, 3
movzx edx, byte [edi + edx]
bt edx, eax
jae 0x6b85edc0
jmp 0x6b85e778
mov dword [esp + 0x9c], 1
jmp 0x6b85e2c1
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 2
mov dword [esp + 0xb8], 0xa000d
jmp 0x6b85e2c1
movzx ecx, word [esp + 0x70]
mov dword [esp + 0x6c], 1
mov word [esp + 0x72], cx
jmp 0x6b85e626
movzx eax, word [esp + 0x50]
cmp esi, ebx
jb 0x6b85ee6b
jmp 0x6b85e778
add esi, 2
cmp ebx, esi
jbe 0x6b85e778
cmp word [esi], ax
jne 0x6b85ee60
jmp 0x6b85e778
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x6b85e560
test byte [ebx + 4], 1
je 0x6b85e560
add ebx, 8
xor esi, esi
xor edx, edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x74], ebx
mov word [esp + 0x52], si
mov word [esp + 0x50], dx
jmp 0x6b85e57e
cmp dword [esp + 0x4c], edx
mov edi, 0
cmovg edi, eax
jmp 0x6b85ecdb
movzx ebx, word [esp + 0x50]
mov dword [esp + 0x74], 0
mov dword [esp + 0x2c], 1
mov word [esp + 0x52], bx
jmp 0x6b85e57e
cmp dword [esp + 0x17c], 1
jle 0x6b85ef0d
mov edi, dword [esp + 0x178]
mov edx, dword [esp + 0x80]
mov dword [edi + 4], eax
mov dword [edi], edx
mov edi, 0xfffffff6
cmp eax, 1
jg 0x6b85e1b2
cmp dword [esp + 0x110], 2
mov eax, 0xffffffe7
cmovge edi, eax
jmp 0x6b85e1b2
mov dword [esp + 0x6c], 1
jmp 0x6b85e626
mov edi, 0xfffffffe
jmp 0x6b85e1b2
lea ecx, [esp + 0xa0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], esi
call sym.libpcre16_0.dll__pcre16_was_newline
test eax, eax
je 0x6b85eaa8
lea esi, [esi]
nop
cmp word [esi - 2], 0xd
jne 0x6b85eb00
mov eax, dword [esp + 0x9c]
sub eax, 1
cmp eax, 1
ja 0x6b85eb00
cmp esi, ebx
jae 0x6b85eb00
lea eax, [esi + 2]
cmp word [esi], 0xa
cmove esi, eax
jmp 0x6b85eb00
xor edi, edi
jmp 0x6b85ed70
cmp word [ebx], 0xa
jne 0x6b85e948
mov eax, dword [esp + 0x160]
test byte [eax + 0xd], 8
jne 0x6b85e948
mov eax, dword [esp + 0x9c]
sub eax, 1
cmp eax, 1
jbe 0x6b85eff8
cmp dword [esp + 0xa0], 2
jne 0x6b85e948
add ebx, 2
jmp 0x6b85e948
mov edi, dword [esp + 0x60]
lea ecx, [esp + 0xa0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 4], edx
mov dword [esp], esi
call sym.libpcre16_0.dll__pcre16_is_newline
test eax, eax
je 0x6b85e920
jmp 0x6b85ec50
mov edi, esi
cmp esi, ebx
jb 0x6b85f06a
jmp 0x6b85e778
cmp edi, eax
ja 0x6b85f0d0
lea esi, [edi + 2]
cmp ebx, esi
jbe 0x6b85ef80
movzx eax, word [edi + 2]
and ax, 0xfc00
cmp ax, 0xdc00
je 0x6b85f0c0
mov edi, esi
mov eax, dword [esp + 0xfc]
mov edx, dword [esp + 0x9c]
test edx, edx
jne 0x6b85f040
mov ecx, dword [esp + 0xa0]
lea edx, [ecx + ecx]
add eax, edx
cmp edi, eax
jb 0x6b85f048
mov eax, edi
movzx esi, word [esp + 0xb8]
sub eax, edx
cmp word [eax], si
jne 0x6b85f048
cmp ecx, 1
je 0x6b85f0b0
mov eax, 1
sub eax, ecx
movzx ecx, word [esp + 0xba]
cmp word [edi + eax*2], cx
jne 0x6b85f048
mov esi, edi
jmp 0x6b85eb00
add edi, 4
cmp ebx, edi
ja 0x6b85f063
mov esi, edi
jmp 0x6b85ef80
lea ecx, [esp + 0xa0]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], edi
call sym.libpcre16_0.dll__pcre16_was_newline
test eax, eax
je 0x6b85f048
mov esi, edi
jmp 0x6b85ef80
mov dword [esp + 0x74], 0
mov dword [esp + 0x2c], 1
jmp 0x6b85e57e
mov eax, dword [esp + 0x178]
mov edi, dword [esp + 0x4c]
lea edx, [ebx + 8]
mov dword [esp + 4], edx
add eax, 8
lea ecx, [edi*4 - 8]
mov dword [esp + 8], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x6b85ec9a
mov edi, 0xfffffffd
jmp 0x6b85e1b2
mov edi, 0xffffffe8
jmp 0x6b85e1b2
movzx ecx, word [esp + 0x70]
jmp 0x6b85f162
mov eax, edx
cmp ebp, eax
jbe 0x6b85ec50
lea edx, [eax + 2]
cmp word [eax], cx
jne 0x6b85f160
jmp 0x6b85e7fa
mov edi, 0xfffffff1
jmp 0x6b85e1b2
mov edi, 0xffffffe0
jmp 0x6b85e1b2
mov edi, 0xffffffe4
jmp 0x6b85e1b2
mov edi, 0xfffffff3
jmp 0x6b85e1b2
mov edi, 0xfffffffa
jmp 0x6b85e1b2
xor edi, edi
jmp 0x6b85e99e