Function at 0x42aeb0
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], 0
test ebp, ebp
je 0x42af81
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x2c], 0
sete al
test ebx, ebx
sete cl
mov esi, 0x5a
or cl, al
jne 0x42af83
push 8
push str.sha256__
push ebp
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
je 0x42af8d
push str.vtls_vtls.c
push 0x43c
push 0xa1dddf
push ebp
call fcn.00404e30
add esp, 0x10
test eax, eax
je 0x42af83
mov edi, eax
push 2
push 0
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
add esp, 0xc
mov esi, 0x5a
test eax, eax
je 0x42aff9
xor ebp, ebp
push str.vtls_vtls.c
push 0x47b
push ebp
call fcn.00404af0
add esp, 0xc
push str.vtls_vtls.c
push 0x47c
push dword [esp + 0x14]
call fcn.00404af0
add esp, 0xc
mov dword [esp + 0xc], 0
push str.vtls_vtls.c
push 0x47d
push edi
call fcn.00404eb0
add esp, 0xc
jmp 0x42af83
xor esi, esi
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [0x8b3ed4]
cmp dword [eax + 0x58], 0
je 0x42b086
push str.vtls_vtls.c
push 0x405
push 0x20
call fcn.00404730
add esp, 0xc
mov esi, 0x1b
test eax, eax
je 0x42af83
mov edi, eax
mov eax, dword [0x8b3ed4]
push 0x20
push edi
push ebx
push dword [esp + 0x38]
call dword [eax + 0x58]
add esp, 0x10
test eax, eax
je 0x42b090
mov esi, eax
push str.vtls_vtls.c
push 0x40f
push edi
call fcn.00404af0
jmp 0x42af7c
push edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
add esp, 4
mov ebp, eax
push 0
push 0
push edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
add esp, 0xc
cmp ebp, 0x100000
ja 0x42af39
test eax, eax
jne 0x42af39
push 0
push ebp
call fcn.00424de0
add esp, 8
cmp eax, ebx
jb 0x42af39
mov dword [esp + 8], eax
inc eax
push str.vtls_vtls.c
push 0x45a
push eax
call fcn.00404730
add esp, 0xc
test eax, eax
je 0x42af39
mov ebp, eax
push edi
push 1
push dword [esp + 0x10]
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
add esp, 0x10
cmp eax, 1
jne 0x42af3b
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x42b1e9
push ebx
push ebp
jmp 0x42b218
mov esi, 0x5a
jmp 0x42af83
lea eax, [esp + 4]
mov ecx, esp
push eax
push ecx
push 0x20
push edi
call fcn.00434a30
add esp, 0x10
mov esi, eax
push str.vtls_vtls.c
push 0x40f
push edi
call fcn.00404af0
add esp, 0xc
test esi, esi
jne 0x42af83
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42b0f2
test byte [eax + 0x6eb], 0x20
je 0x42b0f2
mov ecx, dword [eax + 0xd20]
test ecx, ecx
je 0x42b0e1
cmp dword [ecx + 4], 0
jle 0x42b0f2
push dword [esp]
push str._public_key_hash:_sha256___s
push eax
call fcn.00442520
add esp, 0xc
push str.vtls_vtls.c
push 0x417
push ebp
call fcn.00404940
add esp, 0xc
test eax, eax
je 0x42b1c9
mov dword [esp + 8], eax
mov ebx, eax
jmp 0x42b12c
mov byte [esi], 0x3b
push str.sha256__
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_strstr
add esp, 8
mov ebx, eax
test eax, eax
je 0x42b18f
push str._sha256__
push ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_strstr
add esp, 8
mov esi, eax
test eax, eax
je 0x42b159
mov byte [esi], 0
mov edi, dword [esp + 4]
add ebx, 8
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp edi, eax
jne 0x42b115
jmp 0x42b16d
mov edi, dword [esp + 4]
add ebx, 8
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp edi, eax
jne 0x42b18f
mov ebp, dword [esp]
push edi
push ebx
push ebp
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test esi, esi
je 0x42b183
test eax, eax
jne 0x42b115
test eax, eax
mov esi, 0x5a
cmove esi, eax
jmp 0x42b197
mov esi, 0x5a
mov ebp, dword [esp]
push str.vtls_vtls.c
push 0x437
push ebp
call fcn.00404af0
add esp, 0xc
mov dword [esp], 0
push str.vtls_vtls.c
push 0x438
push dword [esp + 0x10]
call fcn.00404af0
jmp 0x42af7c
push str.vtls_vtls.c
push 0x419
push dword [esp + 8]
call fcn.00404af0
add esp, 0xc
mov esi, 0x1b
jmp 0x42af83
mov byte [ebp + eax], 0
lea eax, [esp + 4]
lea edx, [esp + 0xc]
mov ecx, ebp
push eax
call fcn.0042b240
add esp, 4
test eax, eax
jne 0x42af3b
cmp dword [esp + 4], ebx
jne 0x42af3b
push ebx
push dword [esp + 0x10]
push dword [esp + 0x34]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
mov esi, 0x5a
cmove esi, eax
jmp 0x42af3b