Function at 0x52fb10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x7aa024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
test ebx, ebx
je 0x52fc45
mov esi, 0x5a
cmp dword [ebp + 0x10], 0
je 0x52fdec
cmp dword [ebp + 0x14], 0
je 0x52fdec
push 8
push str.sha256__
push ebx
call fcn.0066b2c0
add esp, 0xc
test eax, eax
je 0x52fc4c
push 0x746179
push ebx
call fcn.004fb210
add esp, 8
test eax, eax
je 0x52fdec
mov edi, eax
mov dword [ebp - 0x18], 0xffffffff
push 2
push 0
push eax
call fcn.00668a00
add esp, 0xc
mov esi, 0x5a
xor ebx, ebx
test eax, eax
jne 0x52fdb5
push edi
call fcn.00668d15
add esp, 4
mov ebx, eax
xor eax, eax
push eax
push eax
push edi
call fcn.00668a00
add esp, 0xc
cmp ebx, 0x100000
ja 0x52fdb3
test eax, eax
jne 0x52fdb3
push 0
push ebx
call fcn.00530510
add esp, 8
cmp eax, dword [ebp + 0x14]
jb 0x52fdb3
mov ecx, dword [fcn.005f2b30]
mov dword [ebp - 0x20], eax
lea ebx, [eax + 1]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
test eax, eax
je 0x52fdb3
mov ebx, eax
push edi
push 1
push dword [ebp - 0x20]
push eax
call fcn.006687f0
add esp, 0x10
cmp eax, 1
jne 0x52fdb5
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
jne 0x52fe1c
push eax
push ebx
push dword [ebp + 0x10]
call fcn.0064f16d
add esp, 0xc
test eax, eax
mov esi, 0x5a
cmove esi, eax
jmp 0x52fdb5
xor esi, esi
jmp 0x52fdec
xor eax, eax
dec eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x7abcfc]
cmp dword [eax + 0x5c], 0
je 0x52fdac
mov ecx, dword [fcn.005f2b30]
call dword [section..00cfg]
push 0x20
call ecx
add esp, 4
mov esi, 0x1b
test eax, eax
je 0x52fdec
mov edi, eax
mov eax, dword [0x7abcfc]
mov ecx, dword [eax + 0x5c]
call dword [section..00cfg]
push 0x20
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call ecx
add esp, 0x10
mov esi, eax
test eax, eax
jne 0x52fdec
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0x20
push edi
push dword [ebp + 8]
call fcn.004f4560
add esp, 0x14
mov esi, eax
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
test esi, esi
jne 0x52fdec
push dword [ebp - 0x1c]
push str._public_key_hash:_sha256___s
push dword [ebp + 8]
call fcn.00514fc0
add esp, 0xc
push ebx
call fcn.0066b230
add esp, 4
mov esi, eax
inc esi
mov ecx, dword [fcn.005f2b30]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
test eax, eax
je 0x52fe00
mov edi, eax
push esi
push ebx
push eax
call fcn.00650080
add esp, 0xc
mov dword [ebp - 0x20], edi
mov ebx, edi
push str._sha256__
push ebx
call fcn.006509d0
add esp, 8
mov esi, eax
test eax, eax
je 0x52fd55
mov byte [esi], 0
mov edi, dword [ebp - 0x18]
add ebx, 8
push ebx
call fcn.0066b230
add esp, 4
cmp edi, eax
je 0x52fd68
jmp 0x52fd88
mov edi, dword [ebp - 0x18]
add ebx, 8
push ebx
call fcn.0066b230
add esp, 4
cmp edi, eax
jne 0x52fd9f
mov eax, dword [ebp - 0x1c]
push edi
mov edi, eax
push ebx
push eax
call fcn.0064f16d
add esp, 0xc
test eax, eax
je 0x52ff27
test esi, esi
je 0x52ff27
mov byte [esi], 0x3b
push str.sha256__
push esi
call fcn.006509d0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x52fd29
mov esi, 0x5a
mov edi, dword [ebp - 0x1c]
jmp 0x52ff31
mov esi, 0x5a
jmp 0x52fdec
xor ebx, ebx
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
mov ecx, dword [fcn.005f2b80]
mov ebx, dword [ebp - 0x14]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
mov dword [ebp - 0x14], 0
push edi
call fcn.00667fc9
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064d372
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [fcn.005f2b80]
mov esi, dword [ebp - 0x1c]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov esi, 0x1b
jmp 0x52fdec
mov byte [ebx + ecx], 0
push str._____BEGIN_PUBLIC_KEY_____
push ebx
call fcn.006509d0
add esp, 8
test eax, eax
je 0x52fdb5
mov ecx, eax
sub ecx, ebx
je 0x52fe43
cmp byte [ecx + ebx - 1], 0xa
jne 0x52fdb5
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], ecx
lea eax, [ebx + ecx]
add eax, 0x1a
push str._n_____END_PUBLIC_KEY_____
push eax
call fcn.006509d0
add esp, 8
test eax, eax
je 0x52fdb5
mov dword [ebp - 0x20], eax
sub eax, ebx
mov ecx, dword [fcn.005f2b30]
mov dword [ebp - 0x34], eax
sub eax, dword [ebp - 0x24]
add eax, 0xffffffe7
mov dword [ebp - 0x2c], eax
call dword [section..00cfg]
push dword [ebp - 0x2c]
call ecx
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
je 0x52fdb5
mov ecx, dword [ebp - 0x24]
add ecx, 0x1a
xor eax, eax
cmp ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
jae 0x52fed9
add edx, 0x1a
xor eax, eax
movzx ecx, byte [edx]
cmp ecx, 0xa
je 0x52fed3
cmp ecx, 0xd
je 0x52fed3
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x2c]
mov byte [eax + ecx], dl
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
inc eax
inc edx
cmp dword [ebp - 0x20], edx
jne 0x52feaa
mov edx, dword [ebp - 0x28]
mov byte [edx + eax], 0
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push edx
call fcn.004f4310
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push dword [ebp - 0x28]
call ecx
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x52fdb5
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0x18], eax
jne 0x52fdb5
push eax
push dword [ebp - 0x14]
jmp 0x52fc2b
test eax, eax
mov esi, 0x5a
cmove esi, eax
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov dword [ebp - 0x1c], 0
mov ecx, dword [fcn.005f2b80]
call dword [section..00cfg]
push dword [ebp - 0x20]
call ecx
jmp 0x52fde9