Function at 0x6b49e300
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x10], 0
test ebx, ebx
je 0x6b49e39b
mov ebp, dword [esp + 0x3c]
test ebp, ebp
mov esi, 0x5a
je 0x6b49e39d
cmp dword [esp + 0x40], 0
je 0x6b49e39d
push 8
push str.sha256__
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
je 0x6b49e3a7
push 0x6b73b364
push ebx
call fcn.6b44a550
add esp, 8
test eax, eax
je 0x6b49e39d
mov edi, eax
push 2
push 0
push eax
call sub.msvcrt.dll_fseek
add esp, 0xc
mov esi, 0x5a
test eax, eax
je 0x6b49e4ce
xor ecx, ecx
mov ebx, dword [0x6b83acf4]
push ecx
call dword [ebx]
add esp, 4
push dword [esp + 0x10]
call dword [ebx]
add esp, 4
mov dword [esp + 0x10], 0
push edi
call sub.msvcrt.dll_fclose
add esp, 4
jmp 0x6b49e39d
xor esi, esi
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x6b72439c]
cmp dword [eax + 0x5c], 0
je 0x6b49e568
mov eax, dword [0x6b83acf8]
push 0x20
call dword [eax]
add esp, 4
mov esi, 0x1b
test eax, eax
je 0x6b49e39d
mov edi, eax
mov eax, dword [0x6b72439c]
push 0x20
push edi
push dword [esp + 0x48]
push ebp
call dword [eax + 0x5c]
add esp, 0x10
mov esi, eax
test eax, eax
jne 0x6b49e39d
mov ebp, dword [esp + 0x34]
lea eax, [esp + 0x14]
lea ecx, [esp + 4]
push eax
push ecx
push 0x20
push edi
push ebp
call fcn.6b442ca0
add esp, 0x14
mov esi, eax
mov eax, dword [0x6b83acf4]
push edi
mov edi, eax
call dword [eax]
add esp, 4
test esi, esi
jne 0x6b49e39d
push dword [esp + 4]
push str._public_key_hash:_sha256___s
push ebp
call fcn.6b4767f0
add esp, 0xc
push ebx
call sub.msvcrt.dll_strlen
add esp, 4
mov esi, eax
inc esi
push esi
mov eax, dword [0x6b83acf8]
call dword [eax]
add esp, 4
test eax, eax
je 0x6b49e572
mov ebp, eax
push esi
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp], ebp
mov ebx, ebp
push str._sha256__
push ebx
call sub.msvcrt.dll_strstr
add esp, 8
mov esi, eax
test eax, eax
je 0x6b49e46d
mov byte [esi], 0
mov edi, dword [esp + 0x14]
add ebx, 8
push ebx
call sub.msvcrt.dll_strlen
add esp, 4
cmp edi, eax
jne 0x6b49e4a1
mov ebp, dword [esp + 4]
push edi
push ebx
push ebp
call sub.msvcrt.dll_memcmp
add esp, 0xc
test esi, esi
je 0x6b49e660
test eax, eax
jne 0x6b49e4a5
jmp 0x6b49e660
test esi, esi
je 0x6b49e4c0
mov byte [esi], 0x3b
push str.sha256__
push esi
call sub.msvcrt.dll_strstr
add esp, 8
test eax, eax
je 0x6b49e4c0
mov ebx, eax
test esi, esi
jne 0x6b49e456
mov esi, 0x5a
mov ebp, dword [esp + 4]
jmp 0x6b49e66a
push edi
call sub.msvcrt.dll_ftell
add esp, 4
mov ebx, eax
push 0
push 0
push edi
call sub.msvcrt.dll_fseek
add esp, 0xc
cmp ebx, 0x100000
ja 0x6b49e371
test eax, eax
jne 0x6b49e371
push 0
push ebx
call fcn.6b48f290
add esp, 8
cmp eax, dword [esp + 0x40]
jb 0x6b49e371
mov ebx, eax
mov ecx, dword [0x6b83acf8]
inc eax
push eax
call dword [ecx]
add esp, 4
test eax, eax
je 0x6b49e371
push edi
push 1
push ebx
mov dword [esp + 0xc], eax
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp eax, 1
jne 0x6b49e6e6
mov eax, dword [esp + 0x40]
cmp ebx, eax
jne 0x6b49e58d
push eax
mov ebx, dword [esp + 4]
push ebx
push ebp
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
mov esi, 0x5a
cmove esi, eax
mov ecx, ebx
jmp 0x6b49e373
mov esi, 0x5a
jmp 0x6b49e39d
push dword [esp + 4]
call dword [edi]
add esp, 4
mov dword [esp + 4], 0
mov esi, 0x1b
jmp 0x6b49e39d
mov eax, dword [esp]
mov byte [eax + ebx], 0
push str._____BEGIN_PUBLIC_KEY_____
mov ebx, eax
push eax
call sub.msvcrt.dll_strstr
add esp, 8
test eax, eax
je 0x6b49e688
mov edx, eax
mov ecx, ebx
mov ebx, eax
sub ebx, ecx
je 0x6b49e5c1
cmp byte [ebx + ecx - 1], 0xa
jne 0x6b49e373
mov dword [esp + 0x1c], eax
lea eax, [ecx + ebx + 0x1a]
push str._n_____END_PUBLIC_KEY_____
push eax
call sub.msvcrt.dll_strstr
add esp, 8
test eax, eax
je 0x6b49e6e6
mov ecx, eax
mov eax, dword [esp]
add eax, ebx
neg eax
lea eax, [ecx + eax - 0x19]
push eax
mov eax, dword [0x6b83acf8]
mov dword [esp + 0xc], ecx
call dword [eax]
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x6b49e6e6
add ebx, 0x1a
mov eax, dword [esp + 8]
mov ecx, eax
sub ecx, dword [esp]
mov dword [esp + 0xc], 0
cmp ebx, ecx
jae 0x6b49e68f
sub eax, dword [esp + 0x1c]
add eax, 0xffffffe6
mov ecx, dword [esp]
add ecx, ebx
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 0x18]
jmp 0x6b49e641
inc ecx
mov eax, dword [esp + 8]
dec eax
je 0x6b49e68f
mov dword [esp + 8], eax
movzx edx, byte [ecx]
cmp dl, 0xa
je 0x6b49e639
cmp dl, 0xd
je 0x6b49e639
mov eax, dword [esp + 0xc]
mov byte [ebx + eax], dl
inc eax
mov dword [esp + 0xc], eax
jmp 0x6b49e639
test eax, eax
mov esi, 0x5a
cmove esi, eax
push ebp
mov edi, dword [0x6b83acf4]
call dword [edi]
add esp, 4
mov dword [esp + 4], 0
push dword [esp]
call dword [edi]
jmp 0x6b49e396
mov ecx, ebx
jmp 0x6b49e373
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov byte [ebx + eax], 0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
call fcn.6b442a30
add esp, 0xc
mov dword [esp + 8], eax
mov eax, dword [0x6b83acf4]
push ebx
call dword [eax]
add esp, 4
cmp dword [esp + 8], 0
jne 0x6b49e6e6
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x14], eax
jne 0x6b49e6e6
push eax
push dword [esp + 0x14]
push ebp
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
mov esi, 0x5a
cmove esi, eax
mov ecx, dword [esp]
jmp 0x6b49e373