Function at 0x140078081
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400a1a00
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x20]
mov ecx, Ordinal_50
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x44], 0x5a
cmp qword [rsp + 0xf8], 0
jne 0x1400a1a61
xor eax, eax
jmp 0x1400a1f13
cmp qword [rsp + 0x100], 0
je 0x1400a1a77
cmp qword [rsp + 0x108], 0
jne 0x1400a1a80
mov eax, dword [rsp + 0x44]
jmp 0x1400a1f13
mov r8d, 8
lea rdx, [0x140191278]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.ucrtbased.dll_strncmp]
test eax, eax
jne 0x1400a1d07
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x78], 0
mov rax, qword [0x140191170]
cmp qword [rax + 0xb8], 0
jne 0x1400a1acf
mov eax, dword [rsp + 0x44]
jmp 0x1400a1f13
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [section..data]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x1400a1af7
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400a1f13
mov r9d, reloc.WLDAP32.dll_Ordinal_32
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
mov rax, qword [0x140191170]
call qword [rax + 0xb8]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x1400a1b4d
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x78]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, qword [rsp + 0xa0]
call fcn.14007737f
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0xa0]
call qword [0x140190008]
mov qword [rsp + 0xa0], 0
xor eax, eax
test eax, eax
jne 0x1400a1b4d
cmp dword [rsp + 0x48], 0
je 0x1400a1b7d
mov eax, dword [rsp + 0x48]
jmp 0x1400a1f13
mov r8, qword [rsp + 0x78]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, qword [rsp + 0xf0]
call fcn.1400783a1
mov rcx, qword [rsp + 0xf8]
call qword [0x140190018]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x1400a1bdb
mov rcx, qword [rsp + 0x78]
call qword [0x140190008]
mov qword [rsp + 0x78], 0
xor eax, eax
test eax, eax
jne 0x1400a1bb7
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400a1f13
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
lea rdx, str._sha256__
mov rcx, qword [rsp + 0x90]
call fcn.1400785a9
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x1400a1c27
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x90]
add rax, 8
mov rcx, rax
call fcn.140077988
cmp qword [rsp + 0x58], rax
jne 0x1400a1c6e
mov rax, qword [rsp + 0x90]
add rax, 8
mov r8, qword [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140077825
test eax, eax
jne 0x1400a1c6e
mov dword [rsp + 0x44], 0
jmp 0x1400a1cc4
cmp qword [rsp + 0x98], 0
je 0x1400a1caa
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
mov byte [rcx + rax], Ordinal_60
lea rdx, str.sha256__
mov rcx, qword [rsp + 0x98]
call fcn.1400785a9
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x98], 0
je 0x1400a1cc4
cmp qword [rsp + 0x90], 0
jne 0x1400a1beb
mov rcx, qword [rsp + 0x78]
call qword [0x140190008]
mov qword [rsp + 0x78], 0
xor eax, eax
test eax, eax
jne 0x1400a1cc4
mov rcx, qword [rsp + 0x88]
call qword [0x140190008]
mov qword [rsp + 0x88], 0
xor eax, eax
test eax, eax
jne 0x1400a1cde
mov eax, dword [rsp + 0x44]
jmp 0x1400a1f13
lea rdx, [0x1401912c4]
mov rcx, qword [rsp + 0xf8]
call fcn.140077f14
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400a1d31
mov eax, dword [rsp + 0x44]
jmp 0x1400a1f13
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ucrtbased.dll_fseek]
test eax, eax
je 0x1400a1d4d
jmp 0x1400a1ed0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ucrtbased.dll_ftell]
mov dword [rsp + 0xa8], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ucrtbased.dll_fseek]
test eax, eax
je 0x1400a1d78
jmp 0x1400a1ed0
cmp dword [rsp + 0xa8], 0
jl 0x1400a1d8f
cmp dword [rsp + 0xa8], 0x100000
jle 0x1400a1d94
jmp 0x1400a1ed0
movsxd rax, dword [rsp + 0xa8]
mov rcx, rax
call fcn.140077d66
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x108], rax
jbe 0x1400a1dc3
jmp 0x1400a1ed0
mov rax, qword [rsp + 0xb0]
inc rax
mov rcx, rax
call qword [section..data]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400a1de9
jmp 0x1400a1ed0
mov r9, qword [rsp + 0x20]
mov r8d, 1
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ucrtbased.dll_fread]
cmp eax, 1
je 0x1400a1e11
jmp 0x1400a1ed0
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x108], rax
jne 0x1400a1e4e
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x100]
call fcn.140077825
test eax, eax
jne 0x1400a1e49
mov dword [rsp + 0x44], 0
jmp 0x1400a1ed0
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov byte [rax], 0
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call fcn.1400a41c0
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0
je 0x1400a1e8e
jmp 0x1400a1ed0
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0x108], rax
jne 0x1400a1ec6
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
call fcn.140077825
test eax, eax
jne 0x1400a1ec6
mov dword [rsp + 0x44], 0
xor eax, eax
test eax, eax
jne 0x1400a1d31
mov rcx, qword [rsp + 0x28]
call qword [0x140190008]
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x1400a1ed0
mov rcx, qword [rsp + 0x38]
call qword [0x140190008]
mov qword [rsp + 0x38], 0
xor eax, eax
test eax, eax
jne 0x1400a1eea
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ucrtbased.dll_fclose]
mov eax, dword [rsp + 0x44]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_connect
call fcn.1400781c6
mov rax, rdi
add rsp, 0xe0
pop rdi
ret