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

Disassembly:
mov ecx, dword [0x6de134]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x509201
sub esp, 0x94
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
call sym.path_filepath.Dir
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
call sym.path_filepath.Base
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
lea edx, [ecx - 1]
jmp 0x508fb0
dec edx
test edx, edx
jl 0x508fe1
cmp edx, ecx
jae 0x5091f9
movzx ebx, byte [eax + edx]
cmp bl, 0x5c
je 0x508fe1
cmp bl, 0x2f
je 0x508fe1
cmp bl, 0x2e
jne 0x508faf
mov ebx, ecx
sub ebx, edx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and edx, ebx
lea ebx, [eax + edx]
jmp 0x508fe5
xor ebp, ebp
xor ebx, ebx
mov edx, ecx
sub ecx, ebp
cmp edx, ecx
jb 0x5091f4
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ecx
mov edx, dword [0x698d70]
mov eax, dword [edx]
call eax
lea edi, [esp + 0x50]
lea esi, [esp]
call fcn.0046bb7e
movzx eax, byte [esp + 0xa0]
test al, al
jne 0x50908e
lea edi, [esp + 0x3c]
lea esi, [esp + 0x50]
call fcn.0046bb7e
mov eax, dword [esp + 0x40]
nop
nop
test eax, 0x80000000
je 0x509079
mov ecx, dword [esp + 0x3c]
shl eax, 1
mov edx, ecx
shl ecx, 1
shr edx, 0x1f
or eax, edx
mov edx, eax
shl eax, 1
shr edx, 0x1f
shr ecx, 0x1f
or ecx, eax
add ecx, 0xd7b17f80
mov dword [esp + 0x44], ecx
adc edx, 0xd
mov dword [esp + 0x48], edx
and dword [esp + 0x3c], 0x3fffffff
mov dword [esp + 0x40], 0
mov dword [esp + 0x4c], 0
lea edi, [esp + 0x50]
lea esi, [esp + 0x3c]
call fcn.0046bb7e
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.0046bb7e
lea eax, [0x584f69]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x17
call sym.time.Time.Format
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.0046b69a
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x55b920]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x55b920]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x55b920]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea eax, [0x57fd9f]
mov dword [esp], eax
mov dword [esp + 4], 7
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call sym.fmt.Sprintf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov edx, dword [esp + 0x30]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], eax
lea eax, [esp + 0x6c]
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]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x94
ret
call sym.runtime.panicSliceAlen
mov eax, edx
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.gopkg.in_natefinch_lumberjack_2ev2.backupName