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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c1910
sub esp, 0x5c
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
call dbg.crypto/hmac.New
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov edx, dword [ecx + 0x1c]
mov dword [esp], eax
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
test eax, eax
je 0x5c1909
lea ecx, [0x5f67a0]
mov dword [esp], ecx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
lea ecx, [0x5fc720]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x7c]
lea ebp, [ebx + edx - 1]
mov eax, ebp
mov edi, edx
cmp edi, 0xffffffff
je 0x5c1902
cdq
idiv edi
mov dword [esp + 0x20], eax
imul edi, eax
mov dword [esp + 8], edi
call dbg.runtime.makeslice
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x4c], edx
lea ebx, [0x5fc720]
mov dword [esp], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call dbg.runtime.makeslice
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, 1
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x20]
cmp ebx, edx
jg 0x5c18da
mov edx, dword [esp + 0x44]
mov ecx, dword [edx + 0x18]
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp + 0xc], ebp
mov esi, dword [esp + 0x48]
mov dword [esp], esi
call ecx
mov eax, dword [esp + 0x34]
mov ecx, eax
sar eax, 0x18
mov edx, dword [esp + 0x58]
mov byte [edx], al
mov eax, ecx
sar ecx, 0x10
mov byte [edx + 1], cl
mov ecx, eax
sar eax, 8
mov byte [edx + 2], al
mov byte [edx + 3], cl
test byte [edx], al
mov eax, dword [esp + 0x44]
mov ebx, dword [eax + 0x24]
mov dword [esp + 4], edx
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
mov ebp, dword [esp + 0x48]
mov dword [esp], ebp
call ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x28]
mov ebp, ecx
sub ecx, ebx
cmp ecx, ebp
ja 0x5c18d3
mov esi, ebp
sub ebp, ecx
mov dword [esp + 0x40], ebp
mov edi, eax
sub eax, ecx
dec eax
sar eax, 0x1f
xor eax, 0xffffffff
and ecx, eax
lea eax, [ecx + edx]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x38]
cmp ecx, ebp
jle 0x5c18cc
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call dbg.runtime.memmove
mov eax, 2
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0x78]
cmp eax, ebp
jg 0x5c18ac
mov esi, dword [esp + 0x44]
mov edi, dword [esi + 0x18]
mov ebp, dword [esp + 0x48]
mov dword [esp], ebp
call edi
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp], ebp
call ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x54]
xor esi, esi
cmp esi, ecx
jge 0x5c1891
cmp esi, ebx
jae 0x5c18a5
movzx edi, byte [ebp + esi]
xchg edi, eax
mov byte [esp + 0x1f], al
xchg edi, eax
cmp esi, ecx
jae 0x5c18a5
movzx edi, byte [eax + esi]
xchg edi, eax
mov byte [esp + 0x1e], al
xchg edi, eax
movzx edi, byte [esp + 0x1f]
movzx edx, byte [esp + 0x1e]
xor edi, edx
xchg edi, eax
mov byte [ebp + esi], al
xchg edi, eax
inc esi
mov edx, dword [esp + 0x3c]
cmp esi, ecx
jl 0x5c1859
mov esi, dword [esp + 0x24]
inc esi
mov edx, ecx
mov ebx, dword [esp + 0x3c]
mov ecx, eax
mov eax, esi
jmp 0x5c17bf
call dbg.runtime.panicindex
ud2
mov eax, dword [esp + 0x34]
inc eax
mov ebx, eax
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
jmp 0x5c167a
mov ebp, ecx
jmp 0x5c179a
call dbg.runtime.panicslice
ud2
mov eax, dword [esp + 0x7c]
cmp eax, ebp
ja 0x5c18fb
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebp
add esp, 0x5c
ret
call dbg.runtime.panicslice
ud2
neg eax
jmp 0x5c161b
call dbg.runtime.panicdivide
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.botlib.Key