Function at 0x140025b20
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 0x140025b81
xor eax, eax
jmp 0x140026050
cmp qword [rsp + 0x100], 0
je 0x140025b97
cmp qword [rsp + 0x108], 0
jne 0x140025ba0
mov eax, dword [rsp + 0x44]
jmp 0x140026050
mov r8d, 8
lea rdx, [0x1400d1ec0]
mov rcx, qword [rsp + 0xf8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x140025e49
mov rax, qword [0x1400d1de0]
cmp qword [rax + 0xb8], 0
jne 0x140025bdc
mov eax, dword [rsp + 0x44]
jmp 0x140026050
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [section..data]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x140025c04
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140026050
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 [0x1400d1de0]
call qword [rax + reloc.SHLWAPI.dll_IStream_Read]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x140025c43
mov eax, dword [rsp + 0x48]
jmp 0x140026050
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x78]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, qword [rsp + 0xa0]
call fcn.14005f820
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0xa0]
call qword [fcn.1400b0292]
mov qword [rsp + 0xa0], 0
xor eax, eax
test eax, eax
jne 0x140025c63
cmp dword [rsp + 0x48], 0
je 0x140025c93
mov eax, dword [rsp + 0x48]
jmp 0x140026050
mov r8, qword [rsp + 0x78]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, qword [rsp + 0xf0]
call fcn.140034730
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 0x140025d03
mov rcx, qword [rsp + 0x78]
call qword [fcn.1400b0292]
mov qword [rsp + 0x78], 0
xor eax, eax
test eax, eax
jne 0x140025cdf
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140026050
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 0x140025d69
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 0x140025db0
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 0x140025db0
mov dword [rsp + 0x44], 0
jmp 0x140025e06
cmp qword [rsp + 0x98], 0
je 0x140025dec
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 0x140025e06
cmp qword [rsp + 0x90], 0
jne 0x140025d2d
mov rcx, qword [rsp + 0x78]
call qword [fcn.1400b0292]
mov qword [rsp + 0x78], 0
xor eax, eax
test eax, eax
jne 0x140025e06
mov rcx, qword [rsp + 0x88]
call qword [fcn.1400b0292]
mov qword [rsp + 0x88], 0
xor eax, eax
test eax, eax
jne 0x140025e20
mov eax, dword [rsp + 0x44]
jmp 0x140026050
lea rdx, [0x1400d1e9c]
mov rcx, qword [rsp + 0xf8]
call fcn.1400569d0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140025e73
mov eax, dword [rsp + 0x44]
jmp 0x140026050
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 0x140025e8e
jmp 0x14002600e
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 0x140025eb7
jmp 0x14002600e
cmp dword [rsp + 0xa8], 0
jl 0x140025ece
cmp dword [rsp + 0xa8], 0x100000
jle 0x140025ed3
jmp 0x14002600e
movsxd rax, dword [rsp + 0xa8]
mov rcx, rax
call fcn.140038490
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x108], rax
jbe 0x140025f02
jmp 0x14002600e
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 0x140025f28
jmp 0x14002600e
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 0x140025f4f
jmp 0x14002600e
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x108], rax
jne 0x140025f8c
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x100]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140025f87
mov dword [rsp + 0x44], 0
jmp 0x14002600e
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.1400278e0
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0
je 0x140025fcc
jmp 0x14002600e
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0x108], rax
jne 0x140026004
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140026004
mov dword [rsp + 0x44], 0
xor eax, eax
test eax, eax
jne 0x140025e73
mov rcx, qword [rsp + 0x28]
call qword [fcn.1400b0292]
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x14002600e
mov rcx, qword [rsp + 0x38]
call qword [fcn.1400b0292]
mov qword [rsp + 0x38], 0
xor eax, eax
test eax, eax
jne 0x140026028
mov rcx, qword [rsp + 0x20]
call sub.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.1400aeeb0
mov rax, rdi
add rsp, 0xe0
pop rdi
ret