Function at 0x140029180
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, 0x30
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 0x1400291e1
xor eax, eax
jmp 0x140029709
cmp qword [rsp + 0x100], 0
je 0x1400291f7
cmp qword [rsp + 0x108], 0
jne 0x140029200
mov eax, dword [rsp + 0x44]
jmp 0x140029709
mov r8d, 8
lea rdx, [0x140103f30]
mov rcx, qword [rsp + 0xf8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x1400294c8
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x78], 0
mov rax, qword [0x140102a38]
cmp qword [rax + 0xb0], 0
jne 0x14002924e
mov eax, dword [rsp + 0x44]
jmp 0x140029709
lea r8, [0x140103f40]
mov edx, 0x3f1
mov ecx, 0x20
call fcn.140048e60
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x140029281
mov eax, 0x1b
jmp 0x140029709
mov r9d, 0x20
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
mov rax, qword [0x140102a38]
call qword [rax + 0xb0]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x1400292d7
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x78]
mov edx, 0x20
mov rcx, qword [rsp + 0xa0]
call fcn.140079bd0
mov dword [rsp + 0x48], eax
lea r8, [0x140103f90]
mov edx, 0x3fb
mov rcx, qword [rsp + 0xa0]
call fcn.140049210
mov qword [rsp + 0xa0], 0
xor eax, eax
test eax, eax
jne 0x1400292d7
cmp dword [rsp + 0x48], 0
je 0x140029312
mov eax, dword [rsp + 0x48]
jmp 0x140029709
mov r8, qword [rsp + 0x78]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, qword [rsp + 0xf0]
call fcn.14003d050
lea r8, [0x140104000]
mov edx, 0x403
mov rcx, qword [rsp + 0xf8]
call fcn.140049280
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x140029386
lea r8, [0x140104050]
mov edx, 0x405
mov rcx, qword [rsp + 0x78]
call fcn.140049210
mov qword [rsp + 0x78], 0
xor eax, eax
test eax, eax
jne 0x140029357
mov eax, 0x1b
jmp 0x140029709
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 0x1400293d2
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 0x140029419
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 0x140029419
mov dword [rsp + 0x44], 0
jmp 0x14002946f
cmp qword [rsp + 0x98], 0
je 0x140029455
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
mov byte [rcx + rax], 0x3b
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 0x14002946f
cmp qword [rsp + 0x90], 0
jne 0x140029396
lea r8, [0x1401040c0]
mov edx, 0x423
mov rcx, qword [rsp + 0x78]
call fcn.140049210
mov qword [rsp + 0x78], 0
xor eax, eax
test eax, eax
jne 0x14002946f
lea r8, [0x140104110]
mov edx, 0x424
mov rcx, qword [rsp + 0x88]
call fcn.140049210
mov qword [rsp + 0x88], 0
xor eax, eax
test eax, eax
jne 0x140029494
mov eax, dword [rsp + 0x44]
jmp 0x140029709
lea r9, [0x140104160]
mov r8d, 0x428
lea rdx, [0x1401041ac]
mov rcx, qword [rsp + 0xf8]
call fcn.140049940
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400294ff
mov eax, dword [rsp + 0x44]
jmp 0x140029709
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x20]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
je 0x14002951a
jmp 0x1400296a5
mov rcx, qword [rsp + 0x20]
call sub.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 sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
je 0x140029543
jmp 0x1400296a5
cmp dword [rsp + 0xa8], 0
jl 0x14002955a
cmp dword [rsp + 0xa8], 0x100000
jle 0x14002955f
jmp 0x1400296a5
movsxd rax, dword [rsp + 0xa8]
mov rcx, rax
call fcn.140044bc0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x108], rax
jbe 0x14002958e
jmp 0x1400296a5
mov rax, qword [rsp + 0xb0]
inc rax
lea r8, [0x1401041b0]
mov edx, 0x446
mov rcx, rax
call fcn.140048e60
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400295bf
jmp 0x1400296a5
mov r9, qword [rsp + 0x20]
mov r8d, 1
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x28]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
cmp eax, 1
je 0x1400295e6
jmp 0x1400296a5
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x108], rax
jne 0x140029623
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x100]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14002961e
mov dword [rsp + 0x44], 0
jmp 0x1400296a5
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.14002c070
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0
je 0x140029663
jmp 0x1400296a5
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0x108], rax
jne 0x14002969b
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14002969b
mov dword [rsp + 0x44], 0
xor eax, eax
test eax, eax
jne 0x1400294ff
lea r8, [0x140104200]
mov edx, 0x467
mov rcx, qword [rsp + 0x28]
call fcn.140049210
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x1400296a5
lea r8, [0x140104250]
mov edx, 0x468
mov rcx, qword [rsp + 0x38]
call fcn.140049210
mov qword [rsp + 0x38], 0
xor eax, eax
test eax, eax
jne 0x1400296ca
lea r8, [0x1401042a0]
mov edx, 0x469
mov rcx, qword [rsp + 0x20]
call fcn.140049a40
mov eax, dword [rsp + 0x44]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_connect
call fcn.1400d050c
mov rax, rdi
add rsp, 0xe0
pop rdi
ret