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

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c9d1a
sub esp, 0x74
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x78]
xor eax, eax
xor ecx, ecx
jmp 0x4c9922
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x5c], edi
lea ecx, [edi + ebp]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call sym.runtime.memmove
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x68], eax
mov ebp, dword [esp + 0x78]
mov eax, dword [ebp]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
add eax, ecx
mov ecx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov edx, ecx
mov ebx, dword [esp + 0x80]
mov ecx, 1
cmp ebx, eax
jb 0x4c9d12
mov byte [esp + 0x23], cl
mov dword [esp + 0x38], eax
mov esi, dword [ebp]
mov dword [esp + 0x58], esi
sub ebx, eax
mov dword [esp + 0x28], ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x40], eax
add ebx, edx
mov edi, dword [esi]
mov dword [esp + 0x60], edi
lea edx, [eax - 1]
mov dword [esp + 0x34], edx
jmp 0x4c9b02
mov eax, 0xffffffff
cmp eax, 0xffffffff
je 0x4c9b60
mov dword [esp + 0x24], eax
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x64]
mov dword [esp], edx
add ecx, eax
mov dword [esp + 4], ecx
call sym.strings._Builder_.Grow
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x80]
cmp ebx, edx
jb 0x4c9ca0
cmp ecx, edx
ja 0x4c9c97
mov edx, eax
neg eax
sar eax, 0x1f
and eax, ecx
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x7c]
add eax, esi
nop
test ebp, ebp
je 0x4c99cf
lea edi, [esp + 0x64]
cmp ebp, edi
je 0x4c99d7
jmp 0x4c9c7f
lea ebp, [esp + 0x64]
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
lea esi, [edx + edi]
mov ebx, dword [esp + 0x68]
cmp ebp, esi
jae 0x4c9a28
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], edi
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x5c], ebx
lea ecx, [ebx + edi]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.memmove
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
nop
test eax, eax
je 0x4c9a7f
lea ebp, [esp + 0x64]
cmp eax, ebp
je 0x4c9a87
jmp 0x4c9c67
lea eax, [esp + 0x64]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
lea esi, [edx + ebp]
mov edi, dword [esp + 0x68]
cmp eax, esi
jae 0x4c98bc
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x50], ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x40]
jmp 0x4c98bc
add edx, edi
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x34]
mov ebx, ecx
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x58]
movzx ecx, byte [esp + 0x23]
mov esi, dword [esp + 0x28]
cmp edx, esi
jge 0x4c9961
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
jmp 0x4c9cbe
test ebp, ebp
jl 0x4c9cdd
cmp edx, esi
jae 0x4c9cf7
movzx edi, byte [ebx + edx]
mov ecx, ebx
mov ebx, dword [esp + 0x58]
mov eax, dword [ebx + 0x40c]
mov edi, dword [ebx + edi*4 + 8]
cmp ebp, eax
jae 0x4c9cee
mov eax, dword [ebx + 0x408]
mov ebp, dword [eax + ebp*4]
cmp ebp, edi
jl 0x4c9ae5
mov edi, ebp
jmp 0x4c9ae5
test cl, cl
jne 0x4c9b81
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x88], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x64]
nop
nop
test eax, eax
je 0x4c9b98
lea ecx, [esp + 0x64]
cmp eax, ecx
je 0x4c9ba0
jmp 0x4c9c4f
lea eax, [esp + 0x64]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
lea edx, [esi + ecx]
mov ebp, dword [esp + 0x68]
cmp eax, edx
jae 0x4c9bf1
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ecx
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x5c], ebp
add ecx, ebp
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call sym.runtime.memmove
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x68], ecx
mov edx, ecx
neg ecx
cmp eax, ecx
ja 0x4c9c41
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
add esp, 0x74
ret
test edx, edx
je 0x4c9c4a
call sym.runtime.panicunsafestringlen
call sym.runtime.panicunsafestringnilptr
lea eax, [0x686720]
mov dword [esp], eax
lea eax, [0x738850]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x686720]
mov dword [esp], eax
lea eax, [0x738850]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x686720]
mov dword [esp], eax
lea eax, [0x738850]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov eax, ecx
mov ecx, edx
call sym.runtime.panicSliceB
mov ecx, edx
mov edx, ebx
call sym.runtime.panicSliceAlen
dec edx
lea ecx, [ebp - 1]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x30], ecx
movzx ecx, byte [esp + 0x23]
mov ebp, dword [esp + 0x30]
test ebp, ebp
jl 0x4c9ce2
cmp edx, esi
jae 0x4c9d09
movzx ecx, byte [ebx + edx]
cmp ebp, eax
jae 0x4c9d00
add edi, ebp
cmp byte [edi], cl
je 0x4c9ca9
jmp 0x4c9b23
movzx ecx, byte [esp + 0x23]
lea eax, [edx + 1]
mov ebp, dword [esp + 0x78]
jmp 0x4c9966
mov ecx, eax
mov eax, ebp
call sym.runtime.panicIndex
mov eax, edx
mov ecx, esi
call sym.runtime.panicIndex
mov ecx, eax
mov eax, ebp
call sym.runtime.panicIndex
mov eax, edx
mov ecx, esi
call sym.runtime.panicIndex
mov ecx, ebx
call sym.runtime.panicSliceB
nop
call sym.runtime.morestack_noctxt
jmp sym.strings._singleStringReplacer_.Replace