Function at 0x4840a0
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebp, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x34], 0
test ebp, ebp
je 0x484260
test ebx, ebx
je 0x4840cb
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jne 0x4840e0
mov eax, 0x5a
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, str.sha256__
mov ecx, 8
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x484270
mov edx, dword [0x5bcc3c]
mov eax, 0x5a
mov edx, dword [edx + 0x5c]
test edx, edx
je 0x4840d0
mov dword [esp], 0x20
call dword [0x5bcc30]
mov esi, eax
mov eax, 0x1b
test esi, esi
je 0x4840d0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], 0x20
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [0x5bcc3c]
call dword [eax + 0x5c]
test eax, eax
jne 0x4840d0
lea eax, [esp + 0x38]
mov dword [esp + 8], 0x20
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sym._Curl_base64_encode
mov ebx, eax
mov dword [esp], esi
call dword [0x5bcc2c]
test ebx, ebx
mov eax, ebx
jne 0x4840d0
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], str._t_public_key_hash:_sha256___s_n
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sym._Curl_infof
mov dword [esp], ebp
call sym._strlen
lea ebx, [eax + 1]
mov dword [esp], ebx
call dword [0x5bcc30]
test eax, eax
mov esi, eax
je 0x4843ef
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov ebx, esi
mov dword [esp], eax
call sym._memcpy
jmp 0x4841ed
mov byte [edi], 0x3b
mov dword [esp + 4], str.sha256__
mov dword [esp], edi
call sym._strstr
test eax, eax
mov ebx, eax
je 0x484434
mov dword [esp + 4], str._sha256__
mov dword [esp], ebx
call sym._strstr
test eax, eax
mov edi, eax
je 0x4842e0
add ebx, 8
mov byte [eax], 0
mov dword [esp], ebx
call sym._strlen
cmp dword [esp + 0x38], eax
jne 0x4841d0
mov ebp, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sym._memcmp
test eax, eax
jne 0x4841d0
xor ebx, ebx
mov dword [esp], ebp
call dword [0x5bcc2c]
mov dword [esp + 0x3c], 0
mov dword [esp], esi
call dword [0x5bcc2c]
mov eax, ebx
jmp 0x4840d0
add esp, 0x4c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x5da8e9
mov dword [esp], ebp
call sym._fopen
test eax, eax
mov esi, eax
je 0x4840cb
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._fseek
test eax, eax
je 0x484305
mov ebp, 0x5a
xor edi, edi
mov dword [esp], edi
call dword [0x5bcc2c]
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [0x5bcc2c]
mov dword [esp], esi
mov dword [esp + 0x34], 0
call sym._fclose
mov eax, ebp
jmp 0x4840d0
add ebx, 8
mov dword [esp], ebx
call sym._strlen
cmp eax, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
je 0x4843d0
mov ebp, edi
mov ebx, 0x5a
jmp 0x484235
mov dword [esp], esi
call sym._ftell
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edi, eax
mov dword [esp], esi
call sym._fseek
test eax, eax
jne 0x4842a6
cmp edi, 0x100000
ja 0x4842a6
mov dword [esp], edi
sar edi, 0x1f
mov dword [esp + 4], edi
call sym._curlx_sotouz
cmp dword [esp + 0x6c], eax
mov edx, eax
ja 0x4842a6
lea eax, [eax + 1]
mov dword [esp + 0x28], edx
mov dword [esp], eax
call dword [0x5bcc30]
test eax, eax
mov edi, eax
je 0x4842a6
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], esi
mov ebp, 0x5a
mov dword [esp + 8], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._fread
sub eax, 1
mov edx, dword [esp + 0x28]
jne 0x4842ad
cmp dword [esp + 0x6c], edx
jne 0x484406
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._memcmp
cmp eax, 1
sbb ebp, ebp
not ebp
and ebp, 0x5a
jmp 0x4842ad
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov ebp, edi
mov dword [esp], edi
call sym._memcmp
test eax, eax
jne 0x4842f9
jmp 0x484233
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call dword [0x5bcc2c]
mov eax, 0x1b
jmp 0x4840d0
mov byte [edi + edx], 0
mov dword [esp + 4], str._____BEGIN_PUBLIC_KEY_____
mov dword [esp], edi
call sym._strstr
test eax, eax
je 0x48442a
mov ebp, eax
sub ebp, edi
je 0x484442
cmp byte [eax - 1], 0xa
je 0x484442
mov ebp, 0x5a
jmp 0x4842ad
mov ebp, dword [esp + 0x3c]
mov ebx, 0x5a
jmp 0x484235
add ebp, 0x1a
mov dword [esp + 4], str._n_____END_PUBLIC_KEY_____
lea eax, [edi + ebp]
mov dword [esp], eax
call sym._strstr
test eax, eax
je 0x48442a
sub eax, edi
mov dword [esp + 0x28], eax
sub eax, ebp
add eax, 1
mov dword [esp], eax
call dword [0x5bcc30]
test eax, eax
mov edx, eax
je 0x48442a
xor eax, eax
jmp 0x484491
movzx ecx, byte [edi + ebp]
cmp cl, 0xa
je 0x48448e
cmp cl, 0xd
je 0x48448e
mov byte [edx + eax], cl
add eax, 1
add ebp, 1
cmp dword [esp + 0x28], ebp
ja 0x48447a
mov byte [edx + eax], 0
lea eax, [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 0x2c], edx
mov ebp, 0x5a
mov dword [esp + 8], eax
lea eax, [esp + 0x34]
mov dword [esp + 4], eax
call sym._Curl_base64_decode
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov dword [esp], edx
call dword [0x5bcc2c]
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4842ad
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x6c], eax
jne 0x4842ad
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
jmp 0x4843b0