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

Disassembly:
mov ecx, dword [0x7c4f4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b6053
sub esp, 0x48
mov eax, dword [esp + 0x4c]
movzx ecx, word [eax]
test cx, 0x80
je 0x5b59f5
mov ecx, dword [esp + 0x54]
cmp ecx, 2
jl 0x5b59f5
mov edx, dword [esp + 0x50]
cmp byte [edx], 0x5c
jne 0x5b59f5
movzx ebx, byte [edx + 1]
cmp bl, 0x70
je 0x5b5a38
cmp bl, 0x50
je 0x5b5a31
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x48
ret
mov ebx, 0xffffffff
jmp 0x5b5a3d
mov ebx, 1
mov dword [esp + 0x28], ebx
lea eax, [ecx - 2]
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ebp
call sym.regexp_syntax.nextRune
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b5ffa
cmp dword [esp + 8], 0x7b
je 0x5b5aa8
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov edx, ecx
sub ecx, ebx
cmp edx, ecx
jb 0x5b604d
cmp ecx, 2
jb 0x5b6043
lea eax, [ecx - 2]
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 2
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x50]
add eax, esi
jmp 0x5b5b4d
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x7d
call sym.strings.IndexRune
mov ecx, dword [esp + 0xc]
test ecx, ecx
jl 0x5b5f22
lea ebx, [ecx + 1]
mov edx, dword [esp + 0x54]
cmp edx, ebx
jb 0x5b603c
sub edx, ecx
dec edx
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, ebx
mov esi, dword [esp + 0x50]
add edx, esi
cmp ecx, 3
jb 0x5b6032
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x40], edx
lea eax, [ecx - 3]
mov dword [esp + 0x30], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 3
add eax, esi
mov dword [esp + 0x44], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.regexp_syntax.checkUTF8
mov eax, dword [esp + 8]
test eax, eax
jne 0x5b5eea
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x40]
test edx, edx
je 0x5b5b79
cmp byte [eax], 0x5e
jne 0x5b5b73
dec edx
mov edi, edx
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
mov esi, dword [esp + 0x28]
xchg esi, ebx
neg ebx
xchg esi, ebx
add eax, edi
jmp 0x5b5b7d
mov esi, dword [esp + 0x28]
jmp 0x5b5b7d
mov esi, dword [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ecx
cmp edx, 3
jne 0x5b5bac
cmp word [eax], 0x6e41
jne 0x5b5bac
cmp byte [eax + 2], 0x79
jne 0x5b5bac
mov eax, dword [0x77f3d0]
mov edx, eax
jmp 0x5b5cbb
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
mov ecx, dword [0x785cc8]
lea ebx, [0x5f5ca0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x5b5c2b
mov dword [esp + 0x3c], eax
mov eax, dword [0x785cd0]
lea ecx, [0x5f5ca0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x3c]
jmp 0x5b5cbb
mov eax, dword [0x785ccc]
lea ecx, [0x5f5ca0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x5b5c73
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
xor eax, eax
xor edx, edx
jmp 0x5b5cbb
mov dword [esp + 0x3c], eax
mov eax, dword [0x785cd4]
lea ecx, [0x5f5ca0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5b5e6a
mov ecx, dword [esp + 0x4c]
movzx edi, word [ecx]
test di, 1
je 0x5b5cd5
test edx, edx
jne 0x5b5d3b
test esi, esi
jle 0x5b5d0a
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call sym.regexp_syntax.appendTable
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x5b5e3a
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call sym.regexp_syntax.appendNegatedTable
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x5b5e3a
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x20]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call sym.regexp_syntax.appendTable
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
call sym.regexp_syntax.appendTable
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], ecx
mov eax, dword [0x7c5080]
test eax, eax
je 0x5b5dae
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov eax, dword [ebx + 0x20]
mov dword [edi + 4], eax
mov dword [ebx + 0x20], edx
lea eax, [ebx + 0x20]
mov dword [esp], eax
call sym.regexp_syntax.cleanClass
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
test ebx, ebx
jle 0x5b5e06
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call sym.regexp_syntax.appendClass
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x5b5e3a
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call sym.regexp_syntax.appendNegatedClass
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x48
ret
lea eax, [0x5ff180]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x61fb91]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7c5080]
test ecx, ecx
jne 0x5b5ea2
mov ecx, dword [esp + 0x50]
jmp 0x5b5ead
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x6685d4]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x48
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x48
ret
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call sym.regexp_syntax.checkUTF8
mov eax, dword [esp + 8]
test eax, eax
jne 0x5b5fc2
lea eax, [0x5ff180]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x61fb91]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7c5080]
test ecx, ecx
jne 0x5b5f7a
mov ecx, dword [esp + 0x50]
jmp 0x5b5f85
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x6685d4]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x48
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x48
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x48
ret
mov eax, 3
call sym.runtime.panicSliceB
mov ecx, ebx
call sym.runtime.panicSliceAlen
mov eax, 2
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
nop
call sym.runtime.morestack_noctxt
jmp sym.regexp_syntax._parser_.parseUnicodeClass