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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b4ce5
sub esp, 0x5c
mov eax, dword [esp + 0x60]
movzx ecx, word [eax]
test cx, 0x80
jne 0x5b4582
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x5c
ret
mov ecx, dword [esp + 0x68]
cmp ecx, 2
jl 0x5b4537
mov edx, dword [esp + 0x64]
movzx ebx, byte [edx]
cmp bl, 0x5c
jne 0x5b4537
movzx ebx, byte [edx + 1]
cmp bl, 0x70
je 0x5b45a5
cmp bl, 0x50
jne 0x5b4537
cmp bl, 0x50
jne 0x5b4cbf
mov ebx, 0xffffffff
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 dbg.regexp/syntax.nextRune
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
test edx, edx
jne 0x5b4c7c
cmp ecx, 0x7b
je 0x5b4a57
mov eax, dword [esp + 0x68]
mov ecx, eax
sub eax, ebx
cmp eax, ecx
ja 0x5b4cde
cmp eax, 2
jb 0x5b4cd7
lea ecx, [eax - 2]
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 2
mov esi, dword [esp + 0x64]
add ecx, esi
test edx, edx
je 0x5b4a4e
movzx edi, byte [ecx]
xchg edi, eax
cmp al, 0x5e
xchg edi, eax
jne 0x5b4a45
mov edi, dword [esp + 0x28]
xchg edi, ebx
neg ebx
xchg edi, ebx
dec edx
mov dword [esp + 0x34], edx
neg edx
sar edx, 0x1f
and edx, 1
add ecx, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
cmp edx, 3
jne 0x5b4932
movzx esi, word [ecx]
cmp si, 0x6e41
jne 0x5b4932
movzx esi, byte [ecx + 2]
xchg esi, eax
cmp al, 0x79
xchg esi, eax
jne 0x5b4932
mov ecx, dword [0x78314c]
mov edx, ecx
test ecx, ecx
je 0x5b486a
mov eax, dword [esp + 0x60]
movzx esi, word [eax]
test si, 1
jne 0x5b474b
test edi, edi
jle 0x5b471d
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call dbg.regexp/syntax.appendTable
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call dbg.regexp/syntax.appendNegatedTable
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x5b46de
test edx, edx
je 0x5b46ae
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x28]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call dbg.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 + 0x50]
mov dword [esp + 0xc], eax
call dbg.regexp/syntax.appendTable
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], edx
lea ecx, [ebx + 0x20]
mov edx, dword [0x79b700]
test edx, edx
jne 0x5b4851
mov dword [ebx + 0x20], eax
mov dword [esp], ecx
call dbg.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 0x5b4818
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call dbg.regexp/syntax.appendClass
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x5b46de
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call dbg.regexp/syntax.appendNegatedClass
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x5b46de
mov dword [esp + 0x58], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x58]
jmp 0x5b47c3
lea eax, [0x616cc0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov dword [eax + 4], 0x1d
mov ecx, dword [0x79b700]
test ecx, ecx
jne 0x5b4917
lea ecx, [0x64e5ef]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x79b700]
lea edx, [eax + 8]
test ecx, ecx
jne 0x5b4901
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x7581b0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x5c
ret
mov dword [esp], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x54]
jmp 0x5b48b8
mov dword [esp], eax
lea ecx, [0x64e5ef]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x54]
jmp 0x5b489d
mov dword [esp + 0x30], edx
mov dword [esp + 0x4c], ecx
lea eax, [0x606ba0]
mov dword [esp], eax
mov ebx, dword [0x788788]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call dbg.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x5b49af
mov dword [esp + 0x40], eax
lea eax, [0x606ba0]
mov dword [esp], eax
mov eax, dword [0x78878c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call dbg.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
jmp 0x5b4694
lea eax, [0x606ba0]
mov dword [esp], eax
mov ecx, dword [0x788798]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
call dbg.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x5b49fa
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
xor ecx, ecx
mov edx, ecx
jmp 0x5b4694
mov dword [esp + 0x44], eax
lea eax, [0x606ba0]
mov dword [esp], eax
mov eax, dword [0x788790]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call dbg.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
jmp 0x5b4694
mov edi, dword [esp + 0x28]
jmp 0x5b4656
mov edi, dword [esp + 0x28]
jmp 0x5b4656
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x7d
call dbg.strings.IndexRune
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x5b4b4d
lea ecx, [eax + 1]
mov edx, dword [esp + 0x68]
cmp ecx, edx
ja 0x5b4cd0
mov ebx, edx
sub edx, ecx
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, ecx
mov esi, dword [esp + 0x64]
add edx, esi
cmp eax, 3
jb 0x5b4cc9
cmp eax, ebx
ja 0x5b4cc9
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
add eax, 0xfffffffd
mov dword [esp + 0x34], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 3
add eax, esi
mov dword [esp + 0x48], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.regexp/syntax.checkUTF8
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x5b4b0a
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
jmp 0x5b4623
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x5c
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
call dbg.regexp/syntax.checkUTF8
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x5b4c39
lea eax, [0x616cc0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov dword [eax + 4], 0x1d
mov ecx, dword [0x79b700]
test ecx, ecx
jne 0x5b4c1e
lea ecx, [0x64e5ef]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x79b700]
lea edx, [eax + 8]
test ecx, ecx
jne 0x5b4c08
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x7581b0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x5c
ret
mov dword [esp], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x54]
jmp 0x5b4bbf
mov dword [esp], eax
lea ecx, [0x64e5ef]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x54]
jmp 0x5b4ba4
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x5c
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
add esp, 0x5c
ret
mov ebx, 1
jmp 0x5b45b3
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.regexp/syntax.(*parser).parseUnicodeClass