Function at 0x4ef770
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6acb15
mov eax, dword fs:[0]
push eax
sub esp, 0x750
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x75c], ecx
mov dword [ebp - 4], 1
mov byte [ebp - 0x41c], 0
push 0x3ff
push 0
lea eax, [ebp - 0x41b]
push eax
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.0040e940
movzx ecx, al
test ecx, ecx
je 0x4ef7fe
push 0x400
lea edx, [ebp - 0x41c]
push edx
call fcn.0049f360
add esp, 8
push str._binAC35Mod_sign_info.bin
lea eax, [ebp - 0x41c]
push eax
call fcn.00666bb0
add esp, 8
jmp 0x4ef818
push 0
lea ecx, [ebp + 0xc]
call fcn.004018a0
push eax
lea ecx, [ebp - 0x41c]
push ecx
call fcn.00666ba0
add esp, 8
mov dword [ebp - 0x14], 0
lea ecx, [ebp + 8]
call fcn.0040e940
movzx edx, al
test edx, edx
je 0x4ef892
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x75c]
call fcn.004ef330
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4ef855
lea ecx, [ebp + 8]
call fcn.0040e940
movzx ecx, al
test ecx, ecx
je 0x4ef892
push str.GetVersion_fail_n
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x740], 0x5006
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004014d0
mov eax, dword [ebp - 0x740]
jmp 0x4efbb6
push 0x741d00
lea edx, [ebp - 0x41c]
push edx
call fcn.00669fd1
add esp, 8
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ef8f2
push str.Open_sign_file_fail_n
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x744], 0x204
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004014d0
mov eax, dword [ebp - 0x744]
jmp 0x4efbb6
push 2
push 0
mov eax, dword [ebp - 0x420]
push eax
call fcn.00669e99
add esp, 0xc
mov ecx, dword [ebp - 0x420]
push ecx
call fcn.00669daa
add esp, 4
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xd190
jge 0x4ef965
mov edx, dword [ebp - 0x420]
push edx
call fcn.00669ba2
add esp, 4
mov dword [ebp - 0x748], 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004014d0
mov eax, dword [ebp - 0x748]
jmp 0x4efbb6
push 0
push 0
mov eax, dword [ebp - 0x420]
push eax
call fcn.00669e99
add esp, 0xc
push 0xd190
call fcn.00576bfc
add esp, 4
mov dword [ebp - 0x74c], eax
mov ecx, dword [ebp - 0x74c]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x4ef9c4
mov edx, dword [ebp - 0x420]
push edx
call fcn.00669ba2
add esp, 4
mov dword [ebp - 0x750], str.Memory_allocation_failure_
push 0x7ab744
lea eax, [ebp - 0x750]
push eax
call fcn.00669071
mov ecx, dword [ebp - 0x420]
push ecx
push 0xd190
push 1
mov edx, dword [ebp - 0x10]
push edx
call fcn.00669b18
add esp, 0x10
mov eax, dword [ebp - 0x420]
push eax
call fcn.00669ba2
add esp, 4
mov dword [ebp - 0x18], 0
jmp 0x4ef9ff
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x80
jge 0x4efa29
mov edx, dword [ebp - 0x18]
shl edx, 5
add edx, dword [ebp - 0x10]
push edx
lea eax, [ebp + 8]
push eax
call fcn.00413840
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4efa27
jmp 0x4efa29
jmp 0x4ef9f6
cmp dword [ebp - 0x18], 0x80
jl 0x4efa4f
mov edx, dword [ebp + 8]
push edx
push str.cant_find_version_signfile_version_s_n
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x14], 0x5007
jmp 0x4efb74
mov dword [ebp - 0x738], 0
mov byte [ebp - 0x734], 0
push 0x30f
push 0
lea eax, [ebp - 0x733]
push eax
call fcn.006665c0
add esp, 0xc
push 0x180
mov ecx, dword [ebp - 0x10]
add ecx, 0x1000
push ecx
lea edx, [ebp - 0x734]
push edx
call fcn.00668860
add esp, 0xc
mov eax, dword [ebp - 0x738]
add eax, 0x180
mov dword [ebp - 0x738], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1180
push ecx
call fcn.00666cf0
add esp, 4
mov dword [ebp - 0x73c], eax
cmp dword [ebp - 0x73c], 0xf
jle 0x4efad0
mov dword [ebp - 0x73c], 0xf
mov edx, dword [ebp - 0x73c]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x1180
push eax
mov ecx, dword [ebp - 0x738]
lea edx, [ebp + ecx - 0x734]
push edx
call fcn.00668860
add esp, 0xc
mov eax, dword [ebp - 0x738]
add eax, dword [ebp - 0x73c]
mov dword [ebp - 0x738], eax
push 0x180
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x180
mov edx, dword [ebp - 0x10]
lea eax, [edx + ecx + 0x1190]
push eax
mov ecx, dword [ebp - 0x738]
lea edx, [ebp + ecx - 0x734]
push edx
call fcn.00668860
add esp, 0xc
mov eax, dword [ebp - 0x738]
add eax, 0x180
mov dword [ebp - 0x738], eax
mov ecx, dword [ebp - 0x738]
push ecx
lea edx, [ebp - 0x734]
push edx
mov ecx, dword [ebp - 0x75c]
call fcn.004efbe0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5009
jne 0x4efb74
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x754], eax
mov ecx, dword [ebp - 0x754]
push ecx
call fcn.00576bf1
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x758], edx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004014d0
mov eax, dword [ebp - 0x758]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.006665ac
mov esp, ebp
pop ebp
ret 8