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

Disassembly:
push 0xffffffffffffffff
push 0x4cd002
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x50e018]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e018]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov esi, ecx
inc dword [esi + 0x64]
mov edx, dword [esi + 0x60]
mov edi, dword [esi + 0x64]
mov dword [esp + 0x18], edx
cmp edi, edx
jne 0x4bf092
push 0x21
xor ebx, ebx
mov ebp, 0xf
push str.Incomplete_escape_sequence_found.
lea ecx, [esp + 0x68]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00405360
mov edi, dword [esi + 0x64]
sub edi, dword [esi + 0x5c]
lea eax, [esp + 0x60]
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], ebp
mov dword [ecx + 0x10], ebx
push eax
mov dword [esp + 0x178], ebx
mov byte [ecx], bl
call fcn.004059c0
push edi
push 5
mov ecx, esi
call fcn.004b04e0
cmp dword [esp + 0x74], 0x10
jb 0x4bf08b
mov ecx, dword [esp + 0x60]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x4bf70b
mov ebp, dword [esi + 4]
movzx ecx, byte [edi]
mov eax, dword [ebp]
movzx eax, byte [ecx + eax + 4]
add eax, 0xffffffef
xor bl, bl
cmp eax, 0x2a
ja case.0x4bf0b5.26
movzx eax, byte [eax + 0x4bf788]
jmp dword [eax*4 + 0x4bf734]
mov bl, 1
jmp case.0x4bf0b5.22
mov ecx, esi
call fcn.004bd7c0
jmp 0x4bf70b
push 8
inc edi
push 9
mov ecx, esi
mov dword [esi + 0x64], edi
call fcn.004ab910
jmp 0x4bf709
push 8
inc edi
push 0xa
mov ecx, esi
mov dword [esi + 0x64], edi
call fcn.004ab910
jmp 0x4bf709
push 8
inc edi
push 0xb
mov ecx, esi
mov dword [esi + 0x64], edi
call fcn.004ab910
jmp 0x4bf709
push 8
inc edi
push 0xc
mov ecx, esi
mov dword [esi + 0x64], edi
call fcn.004ab910
jmp 0x4bf709
push 8
inc edi
push 7
mov ecx, esi
mov dword [esi + 0x64], edi
call fcn.004ab910
jmp 0x4bf709
push 8
inc edi
push 8
mov ecx, esi
mov dword [esi + 0x64], edi
call fcn.004ab910
jmp 0x4bf709
push 8
inc edi
push 0x14
mov ecx, esi
mov dword [esi + 0x64], edi
call fcn.004ab910
jmp 0x4bf709
mov ecx, esi
call fcn.004b32d0
jmp 0x4bf70b
mov ecx, esi
call fcn.004abb10
jmp 0x4bf70b
push 8
inc edi
push 0x13
mov ecx, esi
mov dword [esi + 0x64], edi
call fcn.004ab910
jmp 0x4bf709
push 8
inc edi
push 0x15
mov ecx, esi
mov dword [esi + 0x64], edi
call fcn.004ab910
jmp 0x4bf709
mov bl, 1
lea eax, [edi + 1]
mov dword [esi + 0x64], eax
cmp eax, edx
jne 0x4bf1ee
push str.Incomplete_property_escape_found.
lea ecx, [esp + 0x128]
call fcn.00405490
mov edx, dword [esi + 0x64]
sub edx, dword [esi + 0x5c]
lea ecx, [esp + 0x124]
push ecx
push edx
push 5
mov ecx, esi
mov dword [esp + 0x158], 2
call fcn.004b2250
lea ecx, [esp + 0x124]
call fcn.004054e0
xor al, al
jmp 0x4bf70b
movzx edx, byte [eax]
mov ecx, dword [ebp]
cmp byte [edx + ecx + 4], 0xf
jne 0x4bf276
jmp 0x4bf200
mov ecx, dword [esi + 0x64]
movzx edi, byte [ecx]
mov edx, dword [ebp]
cmp byte [edi + edx + 4], 0x10
je 0x4bf219
inc ecx
mov dword [esi + 0x64], ecx
cmp ecx, dword [esi + 0x60]
jne 0x4bf200
mov edx, dword [esi + 0x64]
cmp edx, dword [esp + 0x18]
jne 0x4bf263
push str.Closing__missing_from_property_escape_sequence.
lea ecx, [esp + 0x80]
call fcn.00405490
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x5c]
lea edx, [esp + 0x7c]
push edx
push eax
push 5
mov ecx, esi
mov dword [esp + 0x158], 3
call fcn.004b2250
lea ecx, [esp + 0x7c]
call fcn.004054e0
xor al, al
jmp 0x4bf70b
lea ecx, [edx + 1]
inc eax
push edx
mov dword [esi + 0x64], ecx
mov ecx, dword [ebp]
push eax
call fcn.004b2540
jmp 0x4bf283
lea edx, [eax + 1]
push edx
push eax
call fcn.004b2540
inc dword [esi + 0x64]
mov edi, eax
test edi, edi
je 0x4bf2cf
lea ecx, [esp + 0x20]
call fcn.004b4c70
mov dword [esp + 0x14c], 4
test bl, bl
je 0x4bf2a6
mov byte [esp + 0x40], 1
or dword [esp + 0x44], edi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov byte [esp + 0x50], 0
call fcn.004bc290
test eax, eax
jne 0x4bf6df
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x5c]
push eax
jmp 0x4bf6c6
push str.Escape_sequence_was_neither_a_valid_property_nor_a_valid_character_class_name.
lea ecx, [esp + 0x10c]
call fcn.00405490
mov edx, dword [esi + 0x64]
sub edx, dword [esi + 0x5c]
lea ecx, [esp + 0x108]
push ecx
push edx
push 4
mov ecx, esi
mov dword [esp + 0x158], 5
call fcn.004b2250
lea ecx, [esp + 0x108]
call fcn.004054e0
xor al, al
jmp 0x4bf70b
mov eax, dword [esi]
test dword [eax + 0x18], 0x203
jne case.0x4bf0b5.22
push 0x10
push 0
mov ecx, esi
call fcn.004ab910
mov dword [eax + 8], 0xfffffffb
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
shr edx, 0x14
and dl, 1
mov byte [eax + 0xc], dl
mov eax, dword [esi]
mov ecx, dword [eax + 0x13c]
mov edx, dword [eax + 0x140]
sub edx, ecx
add edx, 3
and edx, 0xfffffffc
add edx, ecx
mov dword [eax + 0x140], edx
inc dword [esi + 0x64]
jmp 0x4bf709
mov eax, dword [esi]
test dword [eax + 0x18], 0x203
jne case.0x4bf0b5.22
mov ebx, dword [esi + 0x5c]
mov eax, str.____r_n___n_v_f
mov dword [esi + 0x64], eax
mov dword [esi + 0x5c], eax
lea edx, [eax + 1]
jmp 0x4bf390
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bf390
sub eax, edx
lea ecx, [eax + str.____r_n___n_v_f]
mov dword [esi + 0x60], ecx
mov ecx, esi
call fcn.004a7e70
mov edx, dword [esp + 0x18]
inc edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], edx
mov dword [esi + 0x5c], ebx
jmp 0x4bf70b
mov eax, dword [esi]
test dword [eax + 0x18], 0x203
jne case.0x4bf0b5.22
lea eax, [edi + 1]
mov byte [esp + 0x16], 0
mov dword [esi + 0x64], eax
cmp eax, edx
jne 0x4bf422
mov eax, dword [str.Incomplete_g_escape_found.]
push eax
lea ecx, [esp + 0xd4]
call fcn.00405490
mov edx, dword [esi + 0x64]
sub edx, dword [esi + 0x5c]
lea ecx, [esp + 0xd0]
push ecx
push edx
push 5
mov ecx, esi
mov dword [esp + 0x158], 6
call fcn.004b2250
lea ecx, [esp + 0xd0]
call fcn.004054e0
xor al, al
jmp 0x4bf70b
movzx edi, byte [eax]
mov ecx, dword [ebp]
mov cl, byte [edi + ecx + 4]
xor bl, bl
cmp cl, 0xf
je 0x4bf43d
cmp cl, 0x14
je 0x4bf43d
cmp cl, 0x19
jne 0x4bf4a8
inc eax
mov dword [esi + 0x64], eax
cmp eax, edx
jne 0x4bf48d
mov eax, dword [str.Incomplete_g_escape_found.]
push eax
lea ecx, [esp + 0x9c]
call fcn.00405490
mov edx, dword [esi + 0x64]
sub edx, dword [esi + 0x5c]
lea ecx, [esp + 0x98]
push ecx
push edx
push 5
mov ecx, esi
mov dword [esp + 0x158], 7
call fcn.004b2250
lea ecx, [esp + 0x98]
call fcn.004054e0
xor al, al
jmp 0x4bf70b
mov byte [esp + 0x16], 1
cmp cl, 0xf
je 0x4bf4a6
cmp cl, 0x14
setne bl
lea ebx, [ebx*4 + 0x15]
jmp 0x4bf4a8
mov bl, 0x10
mov eax, dword [esi + 0x64]
cmp byte [eax], 0x2d
sete cl
mov byte [esp + 0x17], cl
test cl, cl
je 0x4bf509
inc eax
mov dword [esi + 0x64], eax
cmp eax, edx
jne 0x4bf509
mov eax, dword [str.Incomplete_g_escape_found.]
push eax
lea ecx, [esp + 0xb8]
call fcn.00405490
mov edx, dword [esi + 0x64]
sub edx, dword [esi + 0x5c]
lea ecx, [esp + 0xb4]
push ecx
push edx
push 5
mov ecx, esi
mov dword [esp + 0x158], 8
call fcn.004b2250
lea ecx, [esp + 0xb4]
call fcn.004054e0
xor al, al
jmp 0x4bf70b
mov eax, dword [esi + 0x64]
push ebp
push 0xa
push edx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
call fcn.004ac040
mov edi, eax
add esp, 0x10
test edi, edi
jns 0x4bf55f
test bl, bl
je 0x4bf55f
mov eax, dword [esi + 0x64]
mov edx, eax
cmp eax, dword [esp + 0x18]
je 0x4bf54e
mov eax, dword [esi + 0x64]
movzx edi, byte [eax]
mov ecx, dword [ebp]
cmp byte [edi + ecx + 4], bl
je 0x4bf54e
inc eax
mov dword [esi + 0x64], eax
cmp eax, dword [esi + 0x60]
jne 0x4bf536
mov ebp, dword [esi + 0x64]
push ebp
push edx
call fcn.004ab8b0
add esp, 8
mov edi, eax
jmp 0x4bf563
mov ebp, dword [esp + 0x1c]
cmp byte [esp + 0x17], 0
je 0x4bf572
mov ecx, dword [esi + 0x68]
sub ecx, edi
lea edi, [ecx + 1]
test edi, edi
jle 0x4bf585
lea ecx, [edi - 1]
mov edx, 1
shl edx, cl
test dword [esi + 0x18], edx
jne 0x4bf5bc
cmp edi, 0x2710
jle 0x4bf64f
mov ecx, dword [esi]
push edi
call fcn.004ae8e0
test eax, eax
jle 0x4bf64f
mov ecx, dword [esi]
push edi
call fcn.004ae8e0
lea ecx, [eax - 1]
mov eax, 1
shl eax, cl
test dword [esi + 0x18], eax
je 0x4bf64f
push 0x10
push 0xd
mov ecx, esi
mov dword [esi + 0x64], ebp
call fcn.004ab910
mov dword [eax + 8], edi
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
shr edx, 0x14
and dl, 1
cmp byte [esp + 0x16], 0
mov byte [eax + 0xc], dl
mov dword [esi + 0x64], ebp
je 0x4bf709
cmp ebp, dword [esi + 0x60]
je 0x4bf606
mov eax, dword [esi + 4]
movzx ecx, byte [ebp]
mov eax, dword [eax]
cmp byte [ecx + eax + 4], bl
jne 0x4bf606
inc ebp
mov dword [esi + 0x64], ebp
jmp 0x4bf709
mov edx, dword [str.Incomplete_g_escape_found.]
push edx
lea ecx, [esp + 0xf0]
call fcn.00405490
mov ecx, dword [esi + 0x64]
sub ecx, dword [esi + 0x5c]
lea eax, [esp + 0xec]
push eax
push ecx
push 5
mov ecx, esi
mov dword [esp + 0x158], 9
call fcn.004b2250
lea ecx, [esp + 0xec]
call fcn.004054e0
xor al, al
jmp 0x4bf70b
mov edx, dword [esi + 0x64]
sub edx, dword [esi + 0x5c]
mov ecx, esi
push edx
push 6
call fcn.004b22a0
xor al, al
jmp 0x4bf70b
mov eax, dword [esi]
test dword [eax + 0x18], 0x203
jne case.0x4bf0b5.26
mov ecx, dword [ebp]
lea eax, [edi + 1]
push eax
push edi
call fcn.004b2540
mov edi, eax
test edi, edi
je 0x4bf6ea
lea ecx, [esp + 0x20]
call fcn.004b4c70
mov ebp, 1
mov dword [esp + 0x14c], ebp
test bl, bl
je 0x4bf6a6
mov byte [esp + 0x40], 1
or dword [esp + 0x44], edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov byte [esp + 0x50], 0
call fcn.004bc290
test eax, eax
jne 0x4bf6dc
mov edx, dword [esi + 0x64]
sub edx, dword [esi + 0x5c]
push edx
push 4
mov ecx, esi
call fcn.004b22a0
lea ecx, [esp + 0x20]
call fcn.004b4ba0
xor al, al
jmp 0x4bf70b
add dword [esi + 0x64], ebp
lea ecx, [esp + 0x20]
call fcn.004b4ba0
jmp 0x4bf709
mov ecx, esi
call fcn.004bbb60
movzx eax, al
push eax
jmp 0x4bf702
mov ecx, esi
call fcn.004bbb60
movzx ecx, al
push ecx
mov ecx, esi
call fcn.004abb50
mov al, 1
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.004a665a
add esp, 0x13c
ret