Function at 0x612330
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c4388
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x7ca00c]
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 0x612370
mov eax, dword [edi]
push 0x7096f4
lea esi, [ebx + 0x30]
push eax
push esi
mov dword [ebp - 0x38], esi
call fcn.006574eb
add esp, 0xc
cmp dword [esi], 0
jne 0x612448
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x6123c9
cmp dword [edi + 0x14], 8
jb 0x61239d
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 [0x6ef350]
call esi
add esp, 0x18
xor al, al
jmp 0x612534
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x61240b
cmp dword [edi + 0x14], 8
jb 0x6123db
mov edi, dword [edi]
push edi
push str.Data_file_could_not_be_opened_at_path__s
push str.createSignatureFile
push 0x701e7c
push str.Validator
push 0x7721a4
push 0x32
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x1c
xor al, al
jmp 0x612534
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x61244f
cmp dword [edi + 0x14], 8
jb 0x61241c
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 [0x6ef350]
call esi
add esp, 0x18
xor al, al
jmp 0x612534
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x612456
xor al, al
jmp 0x612534
push eax
mov byte [ebp - 0x2d], 1
mov dword [ebx + 4], eax
call fcn.0063e329
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 0x6124f0
push eax
push dword [ebx + 4]
push 1
push edi
call fcn.006588f6
mov ecx, eax
add esp, 0x10
test ecx, ecx
je 0x6124f0
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 [0x6ef350]
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.006133b0
mov ecx, eax
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x6124e8
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00428800
inc dword [ebp - 0x14]
lea esi, [ebx + 0x30]
jmp 0x612486
cmp byte [ebp - 0x2d], 0
je 0x612511
mov eax, dword [ebx]
push dword [ebp - 0x34]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x6ef350]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x38]
mov bl, al
jmp 0x612514
mov bl, byte [ebp - 0x2d]
push edi
call fcn.0063e134
push dword [esi]
call fcn.006575cb
add esp, 8
test eax, eax
jne 0x61252a
mov dword [esi], eax
lea ecx, [ebp - 0x2c]
call fcn.00428770
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.0063de71
mov esp, ebp
pop ebp
ret 0xc