Function at 0x140074ca0
Capabilities:
Read file on windows

Disassembly:
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 0x140074d01
xor eax, eax
jmp 0x1400751df
cmp qword [rsp + 0x100], 0
je 0x140074d17
cmp qword [rsp + 0x108], 0
jne 0x140074d20
mov eax, dword [rsp + 0x44]
jmp 0x1400751df
mov r8d, 8
lea rdx, [0x14054de80]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140074fd3
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x78], 0
mov rax, qword [0x14054dda0]
cmp qword [rax + 0xb8], 0
jne 0x140074d6f
mov eax, dword [rsp + 0x44]
jmp 0x1400751df
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [section..data]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x140074d97
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400751df
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 [0x14054dda0]
call qword [rax + 0xb8]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x140074ded
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x78]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, qword [rsp + 0xa0]
call fcn.1400b1a20
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0xa0]
call qword [0x14054b008]
mov qword [rsp + 0xa0], 0
xor eax, eax
test eax, eax
jne 0x140074ded
cmp dword [rsp + 0x48], 0
je 0x140074e1d
mov eax, dword [rsp + 0x48]
jmp 0x1400751df
mov r8, qword [rsp + 0x78]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, qword [rsp + 0xf0]
call fcn.140084140
mov rcx, qword [rsp + 0xf8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
inc rax
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call qword [section..data]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x140074e8d
mov rcx, qword [rsp + 0x78]
call qword [0x14054b008]
mov qword [rsp + 0x78], 0
xor eax, eax
test eax, eax
jne 0x140074e69
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400751df
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x88]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
lea rdx, str._sha256__
mov rcx, qword [rsp + 0x90]
call sub.VCRUNTIME140.dll_strstr
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x140074ef3
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 sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp qword [rsp + 0x58], rax
jne 0x140074f3a
mov rax, qword [rsp + 0x90]
add rax, 8
mov r8, qword [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140074f3a
mov dword [rsp + 0x44], 0
jmp 0x140074f90
cmp qword [rsp + 0x98], 0
je 0x140074f76
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 sub.VCRUNTIME140.dll_strstr
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x98], 0
je 0x140074f90
cmp qword [rsp + 0x90], 0
jne 0x140074eb7
mov rcx, qword [rsp + 0x78]
call qword [0x14054b008]
mov qword [rsp + 0x78], 0
xor eax, eax
test eax, eax
jne 0x140074f90
mov rcx, qword [rsp + 0x88]
call qword [0x14054b008]
mov qword [rsp + 0x88], 0
xor eax, eax
test eax, eax
jne 0x140074faa
mov eax, dword [rsp + 0x44]
jmp 0x1400751df
lea rdx, [0x14054de5c]
mov rcx, qword [rsp + 0xf8]
call fcn.1400a8960
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140074ffd
mov eax, dword [rsp + 0x44]
jmp 0x1400751df
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
je 0x140075019
jmp 0x14007519c
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov dword [rsp + 0xa8], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
je 0x140075044
jmp 0x14007519c
cmp dword [rsp + 0xa8], 0
jl 0x14007505b
cmp dword [rsp + 0xa8], 0x100000
jle 0x140075060
jmp 0x14007519c
movsxd rax, dword [rsp + 0xa8]
mov rcx, rax
call fcn.140088a50
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x108], rax
jbe 0x14007508f
jmp 0x14007519c
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 0x1400750b5
jmp 0x14007519c
mov r9, qword [rsp + 0x20]
mov r8d, 1
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp eax, 1
je 0x1400750dd
jmp 0x14007519c
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x108], rax
jne 0x14007511a
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x100]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140075115
mov dword [rsp + 0x44], 0
jmp 0x14007519c
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.140076de0
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0
je 0x14007515a
jmp 0x14007519c
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0x108], rax
jne 0x140075192
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140075192
mov dword [rsp + 0x44], 0
xor eax, eax
test eax, eax
jne 0x140074ffd
mov rcx, qword [rsp + 0x28]
call qword [0x14054b008]
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x14007519c
mov rcx, qword [rsp + 0x38]
call qword [0x14054b008]
mov qword [rsp + 0x38], 0
xor eax, eax
test eax, eax
jne 0x1400751b6
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [rsp + 0x44]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_connect
call fcn.14036c99c
mov rax, rdi
add rsp, 0xe0
pop rdi
ret