Function at 0x449f10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0x5a
push edi
test esi, esi
jne 0x449f3d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x44a32c
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x44a32c
push 8
push str.sha256__
push esi
call fcn.0052fad0
add esp, 0xc
test eax, eax
jne 0x44a0e4
mov eax, dword [0x5b7b7c]
cmp dword [eax + 0x5c], 0
je 0x44a32c
push 0x20
call dword [0x5b7b68]
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x449ffb
push 0x20
push eax
mov eax, dword [0x5b7b7c]
push edi
push ebx
mov eax, dword [eax + 0x5c]
call eax
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0x20
push edi
call fcn.004569f0
push edi
mov ebx, eax
call dword [0x5b7b6c]
add esp, 0x24
test ebx, ebx
je 0x449fc7
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x449fd0
sub ecx, edx
lea edi, [ecx + 1]
push edi
call dword [0x5b7b68]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x44a007
push dword [ebp - 8]
call dword [0x5b7b6c]
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
push ebx
call fcn.00524840
mov esi, ebx
add esp, 0xc
mov ebx, dword [ebp - 0x14]
nop word [eax + eax]
push str._sha256__
push esi
call fcn.005244a0
mov edi, eax
add esp, 8
test edi, edi
je 0x44a037
mov byte [edi], 0
add esi, 8
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44a040
sub ecx, edx
cmp ebx, ecx
jne 0x44a09a
mov ecx, dword [ebp - 8]
mov edx, ebx
sub edx, 4
jb 0x44a068
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x44a06d
add ecx, 4
add esi, 4
sub edx, 4
jae 0x44a057
cmp edx, 0xfffffffc
je 0x44a0bb
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x44a09a
cmp edx, 0xfffffffd
je 0x44a0bb
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x44a09a
cmp edx, 0xfffffffe
je 0x44a0bb
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x44a09a
cmp edx, 0xffffffff
je 0x44a0bb
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x44a0bb
test edi, edi
je 0x44a0c2
push str.sha256__
push edi
mov byte [edi], 0x3b
call fcn.005244a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44a020
jmp 0x44a0c2
mov dword [ebp - 0xc], 0
push dword [ebp - 8]
call dword [0x5b7b6c]
add esp, 4
push dword [ebp - 0x18]
call dword [0x5b7b6c]
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x587608
push esi
call fcn.0052e79e
mov esi, eax
add esp, 8
mov dword [ebp - 0x14], esi
test esi, esi
je 0x44a32c
push 2
push 0
push esi
call fcn.0052a49a
add esp, 0xc
test eax, eax
jne 0x44a1cc
push esi
call fcn.0053573e
add esp, 4
mov esi, eax
push 0
push 0
push dword [ebp - 0x14]
call fcn.0052a49a
add esp, 0xc
test eax, eax
jne 0x44a1cc
cmp esi, 0x100000
ja 0x44a1cc
cmp edi, esi
ja 0x44a1cc
lea eax, [esi + 1]
push eax
call dword [0x5b7b68]
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x44a1cc
push dword [ebp - 0x14]
push 1
push esi
push eax
call fcn.0052a094
add esp, 0x10
cmp eax, 1
jne 0x44a1cc
cmp edi, esi
jne 0x44a1fa
mov ecx, dword [ebp - 8]
sub edi, 4
jb 0x44a193
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x44a198
add ebx, 4
add ecx, 4
sub edi, 4
jae 0x44a182
cmp edi, 0xfffffffc
je 0x44a1c5
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x44a1cc
cmp edi, 0xfffffffd
je 0x44a1c5
mov al, byte [ebx + 1]
cmp al, byte [ecx + 1]
jne 0x44a1cc
cmp edi, 0xfffffffe
je 0x44a1c5
mov al, byte [ebx + 2]
cmp al, byte [ecx + 2]
jne 0x44a1cc
cmp edi, 0xffffffff
je 0x44a1c5
mov al, byte [ebx + 3]
cmp al, byte [ecx + 3]
jne 0x44a1cc
mov dword [ebp - 0xc], 0
mov esi, dword [ebp - 4]
push dword [ebp - 8]
call dword [0x5b7b6c]
add esp, 4
push esi
call dword [0x5b7b6c]
add esp, 4
push dword [ebp - 0x14]
call fcn.005294e0
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
push str._____BEGIN_PUBLIC_KEY_____
push eax
mov dword [ebp - 0x18], 0
mov byte [esi + eax], 0
call fcn.005244a0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x44a1cc
mov eax, dword [ebp - 8]
mov esi, ecx
sub esi, eax
je 0x44a22b
cmp byte [ecx - 1], 0xa
jne 0x44a1cc
add esi, 0x1a
add eax, esi
push str._n_____END_PUBLIC_KEY_____
push eax
call fcn.005244a0
add esp, 8
test eax, eax
je 0x44a1cc
sub eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
sub eax, esi
inc eax
push eax
call dword [0x5b7b68]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x44a1cc
mov edx, dword [ebp - 0x1c]
cmp esi, edx
jae 0x44a292
mov eax, dword [ebp - 8]
xor ebx, ebx
mov edi, ecx
mov cl, byte [esi + eax]
cmp cl, 0xa
je 0x44a281
cmp cl, 0xd
je 0x44a281
mov byte [edi + ebx], cl
inc ebx
inc esi
cmp esi, edx
jb 0x44a270
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 4]
mov byte [ecx + eax], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00456870
add esp, 4
mov esi, eax
push dword [ebp - 0x10]
call dword [0x5b7b6c]
add esp, 4
test esi, esi
mov esi, dword [ebp - 4]
jne 0x44a1cf
cmp edi, dword [ebp - 0x1c]
jne 0x44a1cf
mov ecx, esi
sub edi, 4
jb 0x44a2e2
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x44a2e7
add ebx, 4
add ecx, 4
sub edi, 4
jae 0x44a2d1
cmp edi, 0xfffffffc
je 0x44a320
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x44a314
cmp edi, 0xfffffffd
je 0x44a320
mov al, byte [ebx + 1]
cmp al, byte [ecx + 1]
jne 0x44a314
cmp edi, 0xfffffffe
je 0x44a320
mov al, byte [ebx + 2]
cmp al, byte [ecx + 2]
jne 0x44a314
cmp edi, 0xffffffff
je 0x44a320
mov al, byte [ebx + 3]
cmp al, byte [ecx + 3]
je 0x44a320
mov dword [ebp - 0xc], 0x5a
jmp 0x44a1cf
mov dword [ebp - 0xc], 0
jmp 0x44a1cf
pop edi
pop esi
mov eax, 0x5a
pop ebx
mov esp, ebp
pop ebp
ret