Function at 0x649070
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x707828
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x6490b0
mov eax, dword [edi]
push 0x762da4
lea esi, [ebx + 0x30]
push eax
push esi
mov dword [ebp - 0x38], esi
call fcn.006959bc
add esp, 0xc
cmp dword [esi], 0
jne 0x649188
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x649109
cmp dword [edi + 0x14], 8
jb 0x6490dd
mov edi, dword [edi]
mov esi, dword [eax]
push edi
push str.Data_file_could_not_be_opened_at_path__s
push str.Validator
mov esi, dword [esi + 0x34]
mov ecx, esi
push str.createSignatureFile
push 0x32
push eax
call dword [0x747368]
call esi
add esp, 0x18
xor al, al
jmp 0x649274
mov esi, dword [0x853a78]
test esi, esi
je 0x64914b
cmp dword [edi + 0x14], 8
jb 0x64911b
mov edi, dword [edi]
push edi
push str.Data_file_could_not_be_opened_at_path__s
push str.createSignatureFile
push 0x75b10c
push str.Validator
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
xor al, al
jmp 0x649274
mov eax, dword [0x853a7c]
test eax, eax
je 0x64918f
cmp dword [edi + 0x14], 8
jb 0x64915c
mov edi, dword [edi]
mov esi, dword [eax]
push edi
push str.Data_file_could_not_be_opened_at_path__s
push str.Validator
mov esi, dword [esi + 0x34]
mov ecx, esi
push str.createSignatureFile
push 0x32
push eax
call dword [0x747368]
call esi
add esp, 0x18
xor al, al
jmp 0x649274
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x649196
xor al, al
jmp 0x649274
push eax
mov byte [ebp - 0x2d], 1
mov dword [ebx + 4], eax
call fcn.0067beb9
add esp, 4
mov dword [ebp - 0x14], 0
mov edi, eax
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov eax, dword [esi]
test eax, eax
je 0x649230
push eax
push dword [ebx + 4]
push 1
push edi
call fcn.00696dc7
mov ecx, eax
add esp, 0x10
test ecx, ecx
je 0x649230
mov eax, dword [ebx]
lea edx, [ebp - 0x2c]
push edx
push ecx
mov dword [ebx + 8], ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
push edi
call dword [0x747368]
mov ecx, ebx
call esi
neg al
lea ecx, [ebx + 0x10]
sbb al, al
and byte [ebp - 0x2d], al
lea eax, [ebp - 0x14]
push eax
call fcn.0064a0e0
mov ecx, eax
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x649228
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0042fe00
inc dword [ebp - 0x14]
lea esi, [ebx + 0x30]
jmp 0x6491c6
cmp byte [ebp - 0x2d], 0
je 0x649251
mov eax, dword [ebx]
push dword [ebp - 0x34]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x747368]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x38]
mov bl, al
jmp 0x649254
mov bl, byte [ebp - 0x2d]
push edi
call fcn.0067bcc4
push dword [esi]
call fcn.00695a9c
add esp, 8
test eax, eax
jne 0x64926a
mov dword [esi], eax
lea ecx, [ebp - 0x2c]
call fcn.0042fd70
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 0xc