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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a59ad
sub esp, 0x60
mov eax, dword [esp + 0x68]
cmp eax, 1
jg 0x4a58ea
test eax, eax
je 0x4a58d6
cmp eax, 1
je 0x4a58c1
lea ecx, [eax - 1]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x74]
mov ebx, ecx
imul ecx, edx
mov ebp, dword [esp + 0x64]
xor esi, esi
cmp esi, eax
jge 0x4a5701
jae 0x4a58ba
lea edi, [esi + 1]
mov dword [esp + 0x38], edi
shl esi, 3
mov edi, dword [ebp + esi + 4]
add ecx, edi
mov edi, dword [esp + 0x38]
mov esi, edi
cmp esi, eax
jl 0x4a56e1
lea esi, [0x5fc720]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call dbg.runtime.makeslice
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x68]
test ebx, ebx
jbe 0x4a58b3
mov ebx, dword [esp + 0x64]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx]
cmp eax, ebp
jle 0x4a58ac
mov dword [esp + 0x3c], ebp
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call dbg.runtime.memmove
mov eax, dword [esp + 0x6c]
add eax, 0xfffffffe
sar eax, 0x1f
xor eax, 0xffffffff
and eax, 8
mov ecx, dword [esp + 0x64]
lea eax, [ecx + eax]
xor ecx, ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x50]
cmp ecx, ebx
jge 0x4a5874
mov ebp, dword [eax + 4]
mov dword [esp + 0x34], ebp
mov esi, dword [eax]
mov dword [esp + 0x54], esi
mov edi, dword [esp + 0x40]
cmp edx, edi
ja 0x4a586d
sub edi, edx
mov ebx, dword [esp + 0x44]
sub ebx, edx
dec ebx
sar ebx, 0x1f
xor ebx, 0xffffffff
and ebx, edx
mov ecx, dword [esp + 0x58]
add ebx, ecx
mov eax, dword [esp + 0x74]
cmp edi, eax
jle 0x4a5862
mov edi, eax
mov dword [esp + 0x48], eax
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call dbg.runtime.memmove
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
add eax, ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x40]
cmp eax, ecx
ja 0x4a585b
mov edx, ecx
sub ecx, eax
mov ebx, dword [esp + 0x44]
mov ebp, ebx
sub ebx, eax
dec ebx
sar ebx, 0x1f
xor ebx, 0xffffffff
and ebx, eax
mov esi, dword [esp + 0x58]
add ebx, esi
mov edi, dword [esp + 0x34]
cmp ecx, edi
jle 0x4a5857
mov dword [esp + 0x48], edi
mov dword [esp], ebx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call dbg.runtime.memmove
mov eax, dword [esp + 0x5c]
add eax, 8
mov ecx, dword [esp + 0x4c]
inc ecx
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
add edx, ebx
jmp 0x4a577d
mov edi, ecx
jmp 0x4a5824
call dbg.runtime.panicslice
ud2
mov eax, edi
mov edi, dword [esp + 0x74]
jmp 0x4a57d3
call dbg.runtime.panicslice
ud2
mov dword [esp], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
call dbg.runtime.slicebytetostring
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x60
ret
mov ebp, eax
jmp 0x4a574c
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x60
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x60
ret
cmp eax, 2
je 0x4a595e
cmp eax, 3
je 0x4a58f9
jmp 0x4a56c7
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov ebx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call dbg.runtime.concatstring5
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x60
ret
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
call dbg.runtime.concatstring3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x60
ret
call dbg.runtime.morestack_noctxt
jmp dbg.strings.Join