Function at 0x14009a242
Capabilities:
Read file on windows

Disassembly:
jmp 0x14010b8a0
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 0x14010b901
xor eax, eax
jmp 0x14010bdd6
cmp qword [rsp + 0x100], 0
je 0x14010b917
cmp qword [rsp + 0x108], 0
jne 0x14010b920
mov eax, dword [rsp + 0x44]
jmp 0x14010bdd6
mov r8d, 8
lea rdx, [0x14020ae70]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.ucrtbased.dll_strncmp]
test eax, eax
jne 0x14010bbca
mov rax, qword [0x14020ada8]
cmp qword [rax + 0xb8], 0
jne 0x14010b95d
mov eax, dword [rsp + 0x44]
jmp 0x14010bdd6
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [fcn.140099ae0]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x14010b985
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14010bdd6
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 [0x14020ada8]
call qword [rax + 0xb8]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x14010b9c4
mov eax, dword [rsp + 0x48]
jmp 0x14010bdd6
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x78]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, qword [rsp + 0xa0]
call fcn.14009878a
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0xa0]
call qword [0x14020a040]
mov qword [rsp + 0xa0], 0
xor eax, eax
test eax, eax
jne 0x14010b9e4
cmp dword [rsp + 0x48], 0
je 0x14010ba14
mov eax, dword [rsp + 0x48]
jmp 0x14010bdd6
mov r8, qword [rsp + 0x78]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, qword [rsp + 0xf0]
call fcn.14009a8f0
mov rcx, qword [rsp + 0xf8]
call fcn.140099469
inc rax
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call qword [fcn.140099ae0]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x14010ba84
mov rcx, qword [rsp + 0x78]
call qword [0x14020a040]
mov qword [rsp + 0x78], 0
xor eax, eax
test eax, eax
jne 0x14010ba60
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14010bdd6
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x88]
call fcn.14009961c
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
lea rdx, str._sha256__
mov rcx, qword [rsp + 0x90]
call fcn.14009ad87
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x14010baea
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.140099469
cmp qword [rsp + 0x58], rax
jne 0x14010bb31
mov rax, qword [rsp + 0x90]
add rax, 8
mov r8, qword [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.14009913a
test eax, eax
jne 0x14010bb31
mov dword [rsp + 0x44], 0
jmp 0x14010bb87
cmp qword [rsp + 0x98], 0
je 0x14010bb6d
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.14009ad87
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x98], 0
je 0x14010bb87
cmp qword [rsp + 0x90], 0
jne 0x14010baae
mov rcx, qword [rsp + 0x78]
call qword [0x14020a040]
mov qword [rsp + 0x78], 0
xor eax, eax
test eax, eax
jne 0x14010bb87
mov rcx, qword [rsp + 0x88]
call qword [0x14020a040]
mov qword [rsp + 0x88], 0
xor eax, eax
test eax, eax
jne 0x14010bba1
mov eax, dword [rsp + 0x44]
jmp 0x14010bdd6
lea rdx, [0x14020ae4c]
mov rcx, qword [rsp + 0xf8]
call fcn.140099f95
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14010bbf4
mov eax, dword [rsp + 0x44]
jmp 0x14010bdd6
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ucrtbased.dll_fseek]
test eax, eax
je 0x14010bc10
jmp 0x14010bd93
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 0x14010bc3b
jmp 0x14010bd93
cmp dword [rsp + 0xa8], 0
jl 0x14010bc52
cmp dword [rsp + 0xa8], 0x100000
jle 0x14010bc57
jmp 0x14010bd93
movsxd rax, dword [rsp + 0xa8]
mov rcx, rax
call fcn.140099c75
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x108], rax
jbe 0x14010bc86
jmp 0x14010bd93
mov rax, qword [rsp + 0xb0]
inc rax
mov rcx, rax
call qword [fcn.140099ae0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14010bcac
jmp 0x14010bd93
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 0x14010bcd4
jmp 0x14010bd93
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x108], rax
jne 0x14010bd11
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x100]
call fcn.14009913a
test eax, eax
jne 0x14010bd0c
mov dword [rsp + 0x44], 0
jmp 0x14010bd93
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.14010c720
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0
je 0x14010bd51
jmp 0x14010bd93
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0x108], rax
jne 0x14010bd89
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
call fcn.14009913a
test eax, eax
jne 0x14010bd89
mov dword [rsp + 0x44], 0
xor eax, eax
test eax, eax
jne 0x14010bbf4
mov rcx, qword [rsp + 0x28]
call qword [0x14020a040]
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x14010bd93
mov rcx, qword [rsp + 0x38]
call qword [0x14020a040]
mov qword [rsp + 0x38], 0
xor eax, eax
test eax, eax
jne 0x14010bdad
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.14009a508
mov rax, rdi
add rsp, 0xe0
pop rdi
ret