Function at 0x65f480
Capabilities:
Reference absolute stream path on windows
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8d0454]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x4c]
cmp eax, dword [ecx + 8]
jbe 0x65fb43
sub esp, 0xcc
mov eax, 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
call sym.time.Now
lea edi, [esp + 0x88]
lea esi, [esp]
call fcn.0046895e
lea edi, [esp]
lea esi, [esp + 0x88]
call fcn.0046895e
lea eax, [0x6c333a]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x13
call sym.time.Time.Format
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea edx, [0x681d20]
mov dword [esp + 0x78], edx
lea ebx, [0x726080]
mov dword [esp + 0x7c], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x681d20]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x6c918a]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Sprintf
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x242
mov dword [esp + 0xc], 0x1b6
call sym.os.OpenFile
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x65f641
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
test eax, eax
je 0x65f5ee
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea eax, [0x6c78bc]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
add esp, 0xcc
ret
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [sym.main.zipAndSendFiles.func1]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x58]
mov dword [esp + 0xc8], ecx
mov byte [esp + 0x27], 1
nop
lea ecx, [0x682060]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
lea ecx, [0x69e1c0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 0xc], 0x1000
mov dword [eax + 0x10], 0x1000
mov ecx, dword [0x8d0720]
test ecx, ecx
jne 0x65f6ce
mov ecx, dword [esp + 0x4c]
jmp 0x65f6d9
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [eax + 8], ecx
lea ecx, [0x726b00]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x8d0720]
test ecx, ecx
jne 0x65f6f5
mov ecx, dword [esp + 0x3c]
jmp 0x65f700
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [esp + 0x38], eax
mov dword [eax + 0x1c], ecx
lea edi, [esp + 0x9c]
xor eax, eax
call fcn.00468476
lea ecx, [0x692980]
mov dword [esp], ecx
call sym.runtime.newobject
mov ecx, dword [esp + 4]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
lea edx, [0x726b14]
mov dword [ecx], edx
mov edx, dword [0x8d0720]
test edx, edx
jne 0x65f74d
mov eax, dword [esp + 0x38]
jmp 0x65f75e
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov dword [ecx + 4], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [sym.main.zipAndSendFiles.func2]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x50]
mov dword [esp + 0xc4], ecx
mov byte [esp + 0x27], 3
mov dword [esp], eax
lea ecx, [0x6c25a2]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x11
call sym.main.addFileToZip
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x65f855
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
test eax, eax
je 0x65f7e2
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea eax, [0x6c9f39]
mov dword [esp], eax
mov dword [esp + 4], 0x20
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0xc4]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xc8]
mov eax, dword [edx]
call eax
add esp, 0xcc
ret
lea eax, [0x6becb2]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.os.ReadDir
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x65f88e
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
xor edx, edx
jmp 0x65f92b
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
test eax, eax
je 0x65f8a9
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea eax, [0x6cca8e]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0xc4]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xc8]
mov eax, dword [edx]
call eax
add esp, 0xcc
ret
mov ebx, dword [esp + 0x34]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x65fa21
mov dword [esp + 0x34], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov dword [esp + 0x30], ebx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x48], ecx
mov ebp, dword [ebx + 0x18]
mov dword [esp], ecx
call ebp
mov ecx, dword [esp + 8]
lea eax, [ecx - 1]
mov edx, dword [esp + 4]
jmp 0x65fa73
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
add eax, edx
jmp 0x65f972
xor ebx, ebx
xor eax, eax
cmp ebx, 4
jne 0x65f91c
cmp dword [eax], 0x676e702e
jne 0x65f91c
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea edx, [0x6becb2]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea eax, [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x9c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.main.addFileToZip
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x65f91c
jmp 0x65faa3
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call sym.main.uploadFile
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0xc4]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xc8]
mov eax, dword [edx]
call eax
add esp, 0xcc
ret
dec eax
test eax, eax
jl 0x65f96e
cmp eax, ecx
jae 0x65fb31
movzx ebx, byte [edx + eax]
cmp bl, 0x5c
je 0x65f96e
cmp bl, 0x2f
je 0x65f96e
cmp bl, 0x2e
jne 0x65fa72
jmp 0x65f95f
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
test eax, eax
je 0x65fabe
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea eax, [0x6caf79]
mov dword [esp], eax
mov dword [esp + 4], 0x22
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0xc4]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xc8]
mov eax, dword [edx]
call eax
add esp, 0xcc
ret
call sym.runtime.panicIndex
nop
call sym.runtime.deferreturn
add esp, 0xcc
ret
call sym.runtime.morestack_noctxt
jmp sym.main.zipAndSendFiles