Function at 0x63b070
Capabilities:
Check if file exists
Get file size
Get file version info
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64bef2
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xb30
mov eax, dword [0x7030b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xa88], ecx
mov eax, dword [ebp - 0xa88]
cmp dword [eax + 0x70c], 0
je 0x63b0bc
jmp 0x63bc03
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x63b0cf
jmp 0x63bc03
mov edx, dword [ebp - 0xa88]
mov dword [edx + 0x734], 1
mov eax, dword [ebp - 0xa88]
mov dword [eax + 0x730], 0
lea ecx, [ebp - 0x9c8]
call fcn.0042d710
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x9c4]
call fcn.0041d520
xor edx, edx
mov word [ebp - 0xe4], dx
push 0xc6
push 0
lea eax, [ebp - 0xe2]
push eax
call fcn.004a08c0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x274], cx
push 0xc6
push 0
lea edx, [ebp - 0x272]
push edx
call fcn.004a08c0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x1ac], ax
push 0xc6
push 0
lea ecx, [ebp - 0x1aa]
push ecx
call fcn.004a08c0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x33c], dx
push 0xc6
push 0
lea eax, [ebp - 0x33a]
push eax
call fcn.004a08c0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x404], cx
push 0xc6
push 0
lea edx, [ebp - 0x402]
push edx
call fcn.004a08c0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x4cc], ax
push 0xc6
push 0
lea ecx, [ebp - 0x4ca]
push ecx
call fcn.004a08c0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x594], dx
push 0xc6
push 0
lea eax, [ebp - 0x592]
push eax
call fcn.004a08c0
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0xaa4], xmm0
mov dword [ebp - 0xab0], 0
mov dword [ebp - 0xa8c], 0
push 0x6e32d8
lea ecx, [ebp - 0x7fc]
call fcn.0041d600
mov byte [ebp - 4], 1
push 0x6e32dc
lea ecx, [ebp - 0x7e4]
call fcn.0041d600
mov byte [ebp - 4], 2
push 0x6e3310
lea ecx, [ebp - 0x7cc]
call fcn.0041d600
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa54]
call fcn.0045a032
mov ecx, dword [ebp - 0xa88]
cmp dword [ecx + 0x74c], 0
je 0x63b26f
mov edx, dword [ebp - 0xa88]
mov ecx, dword [edx + 0x74c]
call fcn.0063a600
push 0
push 0x80
push 4
push 0
push 1
push closesocket
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xa94], eax
cmp dword [ebp - 0xa94], 0xffffffff
je 0x63bb45
mov dword [ebp - 0xaa8], 0
lea ecx, [ebp - 0xb0c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0xaa8], eax
cmp dword [ebp - 0xaa8], 0
je 0x63b425
mov dword [ebp - 0xa9c], 0
mov dword [ebp - 0xb00], 0
mov dword [ebp - 0xab8], 0
mov eax, dword [ebp - 0xaa8]
add eax, 1
push eax
call fcn.0044223c
add esp, 4
mov dword [ebp - 0xb08], eax
mov ecx, dword [ebp - 0xb08]
mov dword [ebp - 0xab8], ecx
mov edx, dword [ebp - 0xab8]
push edx
mov eax, dword [ebp - 0xaa8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea edx, [ebp - 0xb00]
push edx
lea eax, [ebp - 0xa9c]
push eax
push 0x6e3314
mov ecx, dword [ebp - 0xab8]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xb28], eax
mov edx, dword [ebp - 0xa9c]
mov eax, dword [edx + 0x10]
shr eax, 0x10
and eax, 0xffff
mov ecx, 2
imul edx, ecx, 0
mov word [ebp + edx - 0x1c], ax
mov eax, dword [ebp - 0xa9c]
mov ecx, dword [eax + 0x10]
and ecx, 0xffff
mov edx, 2
shl edx, 0
mov word [ebp + edx - 0x1c], cx
mov eax, dword [ebp - 0xa9c]
mov ecx, dword [eax + 0x14]
shr ecx, 0x10
and ecx, 0xffff
mov edx, 2
shl edx, 1
mov word [ebp + edx - 0x1c], cx
mov eax, dword [ebp - 0xa9c]
mov ecx, dword [eax + 0x14]
and ecx, 0xffff
mov edx, 2
imul eax, edx, 3
mov word [ebp + eax - 0x1c], cx
mov ecx, 2
imul edx, ecx, 3
movzx eax, word [ebp + edx - 0x1c]
push eax
mov ecx, 2
shl ecx, 1
movzx edx, word [ebp + ecx - 0x1c]
push edx
mov eax, 2
shl eax, 0
movzx ecx, word [ebp + eax - 0x1c]
push ecx
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x1c]
push ecx
push 0x6e32ec
lea edx, [ebp - 0x79c]
push edx
call fcn.00420b30
add esp, 0x18
lea eax, [ebp - 0x79c]
push eax
lea ecx, [ebp - 0x994]
call fcn.0041d520
mov dword [ebp - 0xabc], 0
lea ecx, [ebp - 0xabc]
push ecx
mov edx, dword [ebp - 0xa94]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xab0], eax
cmp dword [ebp - 0xab0], 0xffffffff
je 0x63b479
mov esi, dword [ebp - 0xab0]
xor edi, edi
xor edx, edx
mov eax, dword [ebp - 0xabc]
mov cl, 0x20
call fcn.00442cf0
add eax, esi
adc edx, edi
mov dword [ebp - 0xaa4], eax
mov dword [ebp - 0xaa0], edx
mov dword [ebp - 0xa90], 0x100000
mov dword [ebp - 0xaac], 0
mov eax, dword [ebp - 0xa90]
xor ecx, ecx
push ecx
push eax
mov edx, dword [ebp - 0xaa0]
push edx
mov eax, dword [ebp - 0xaa4]
push eax
call fcn.005f8e40
mov dword [ebp - 0xac4], eax
mov dword [ebp - 0xac0], edx
mov ecx, dword [ebp - 0xac4]
or ecx, dword [ebp - 0xac0]
jne 0x63b4e9
mov edx, dword [ebp - 0xa90]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 0xaa0]
push ecx
mov edx, dword [ebp - 0xaa4]
push edx
call fcn.004c21a0
mov dword [ebp - 0xaac], eax
jmp 0x63b512
mov eax, dword [ebp - 0xa90]
xor ecx, ecx
push ecx
push eax
mov edx, dword [ebp - 0xaa0]
push edx
mov eax, dword [ebp - 0xaa4]
push eax
call fcn.004c21a0
add eax, 1
adc edx, 0
mov dword [ebp - 0xaac], eax
mov ecx, dword [ebp - 0xa88]
mov edx, dword [ecx + 0x734]
add edx, dword [ebp - 0xaac]
mov eax, dword [ebp - 0xa88]
mov dword [eax + 0x734], edx
lea ecx, [ebp - 0xb24]
push ecx
lea edx, [ebp - 0xb1c]
push edx
lea eax, [ebp - 0xb14]
push eax
mov ecx, dword [ebp - 0xa94]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x63b781
lea edx, [ebp - 0x80c]
push edx
lea eax, [ebp - 0xb14]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [ebp - 0xa84]
push ecx
lea edx, [ebp - 0x80c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0xb1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea edx, [ebp - 0xa74]
push edx
lea eax, [ebp - 0x81c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
lea ecx, [ebp - 0x82c]
push ecx
lea edx, [ebp - 0xb24]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0xa64]
push eax
lea ecx, [ebp - 0x82c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push 0x276c
lea edx, [ebp - 0xb34]
push edx
call fcn.006289d0
add esp, 8
mov dword [ebp - 0xafc], eax
mov eax, dword [ebp - 0xafc]
mov dword [ebp - 0xaf8], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xaf8]
call fcn.004197c0
push eax
lea ecx, [ebp - 0x7b4]
call fcn.0041d600
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb34]
call fcn.00419710
movzx ecx, word [ebp - 0xa78]
push ecx
movzx edx, word [ebp - 0xa7a]
push edx
movzx eax, word [ebp - 0xa7c]
push eax
movzx ecx, word [ebp - 0xa7e]
push ecx
movzx edx, word [ebp - 0xa82]
push edx
movzx eax, word [ebp - 0xa84]
push eax
lea ecx, [ebp - 0x7b4]
call fcn.0041d4a0
push eax
lea ecx, [ebp - 0x874]
push ecx
call fcn.0062e8b0
add esp, 0x20
mov dword [ebp - 0xaf4], eax
mov edx, dword [ebp - 0xaf4]
push edx
lea ecx, [ebp - 0x964]
call fcn.00421150
lea ecx, [ebp - 0x874]
call fcn.0041d5b0
movzx eax, word [ebp - 0xa68]
push eax
movzx ecx, word [ebp - 0xa6a]
push ecx
movzx edx, word [ebp - 0xa6c]
push edx
movzx eax, word [ebp - 0xa6e]
push eax
movzx ecx, word [ebp - 0xa72]
push ecx
movzx edx, word [ebp - 0xa74]
push edx
lea ecx, [ebp - 0x7b4]
call fcn.0041d4a0
push eax
lea eax, [ebp - 0x88c]
push eax
call fcn.0062e8b0
add esp, 0x20
mov dword [ebp - 0xaf0], eax
mov ecx, dword [ebp - 0xaf0]
push ecx
lea ecx, [ebp - 0x94c]
call fcn.00421150
lea ecx, [ebp - 0x88c]
call fcn.0041d5b0
movzx edx, word [ebp - 0xa58]
push edx
movzx eax, word [ebp - 0xa5a]
push eax
movzx ecx, word [ebp - 0xa5c]
push ecx
movzx edx, word [ebp - 0xa5e]
push edx
movzx eax, word [ebp - 0xa62]
push eax
movzx ecx, word [ebp - 0xa64]
push ecx
lea ecx, [ebp - 0x7b4]
call fcn.0041d4a0
push eax
lea edx, [ebp - 0x8a4]
push edx
call fcn.0062e8b0
add esp, 0x20
mov dword [ebp - 0xaec], eax
mov eax, dword [ebp - 0xaec]
push eax
lea ecx, [ebp - 0x934]
call fcn.00421150
lea ecx, [ebp - 0x8a4]
call fcn.0041d5b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7b4]
call fcn.0041d5b0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xa90]
add ecx, 1
push ecx
call fcn.0044223c
add esp, 4
mov dword [ebp - 0xae8], eax
mov edx, dword [ebp - 0xae8]
mov dword [ebp - 0xae4], edx
mov eax, dword [ebp - 0xae4]
mov dword [ebp - 0xa8c], eax
jmp 0x63b7c7
mov dword [ebp - 4], 3
jmp 0x63b7d7
cmp dword [ebp - 0xa8c], 0
jne 0x63b824
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7cc]
call fcn.0041d5b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7e4]
call fcn.0041d5b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7fc]
call fcn.0041d5b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c8]
call fcn.0042d9c0
jmp 0x63bc03
mov ecx, dword [ebp - 0xa90]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0xa8c]
push edx
call fcn.004a08c0
add esp, 0xc
mov dword [ebp - 0xa98], 0
mov dword [ebp - 0xab4], 0
jmp 0x63b864
mov eax, dword [ebp - 0xab4]
add eax, 1
mov dword [ebp - 0xab4], eax
mov ecx, dword [ebp - 0xab4]
cmp ecx, dword [ebp - 0xaac]
jge 0x63b91a
mov edx, dword [ebp - 0xa88]
cmp dword [edx + 0x70c], 0
je 0x63b88a
jmp 0x63b91a
push 0
lea eax, [ebp - 0xa98]
push eax
mov ecx, dword [ebp - 0xa90]
push ecx
mov edx, dword [ebp - 0xa8c]
push edx
mov eax, dword [ebp - 0xa94]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0xa98], 0
jne 0x63b8b9
jmp 0x63b91a
mov ecx, dword [ebp - 0xa88]
call fcn.0063b030
mov ecx, dword [ebp - 0xa88]
cmp dword [ecx + 0x74c], 0
je 0x63b8f2
mov edx, dword [ebp - 0xa98]
push edx
mov eax, dword [ebp - 0xa8c]
push eax
mov ecx, dword [ebp - 0xa88]
mov ecx, dword [ecx + 0x74c]
call fcn.0063a5d0
mov edx, dword [ebp - 0xa98]
push edx
mov eax, dword [ebp - 0xa8c]
push eax
lea ecx, [ebp - 0xa54]
call fcn.0045aa00
mov dword [ebp - 0xa98], 0
jmp 0x63b855
mov ecx, dword [ebp - 0xa88]
cmp dword [ecx + 0x74c], 0
je 0x63b93a
mov edx, dword [ebp - 0xa88]
mov ecx, dword [edx + 0x74c]
call fcn.0063a430
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0xa54]
call fcn.0045a24b
mov dword [ebp - 0xae0], eax
mov ecx, dword [ebp - 0xae0]
mov dword [ebp - 0xadc], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xadc]
push edx
lea eax, [ebp - 0x85c]
push eax
call fcn.0045062e
add esp, 8
mov dword [ebp - 0xad8], eax
mov ecx, dword [ebp - 0xad8]
push ecx
lea ecx, [ebp - 0x7fc]
call fcn.00421150
lea ecx, [ebp - 0x85c]
call fcn.0041d5b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x844]
call fcn.0041d7b0
lea edx, [ebp - 0x8d4]
push edx
mov eax, dword [ebp - 0xa88]
mov ecx, dword [eax + 0x74c]
call fcn.0063a510
mov dword [ebp - 0xad4], eax
mov ecx, dword [ebp - 0xad4]
push ecx
lea ecx, [ebp - 0x7e4]
call fcn.00421150
lea ecx, [ebp - 0x8d4]
call fcn.0041d5b0
lea edx, [ebp - 0x8bc]
push edx
mov eax, dword [ebp - 0xa88]
mov ecx, dword [eax + 0x74c]
call fcn.0063a450
mov dword [ebp - 0xb04], eax
mov ecx, dword [ebp - 0xb04]
push ecx
lea ecx, [ebp - 0x7cc]
call fcn.00421150
lea ecx, [ebp - 0x8bc]
call fcn.0041d5b0
cmp dword [ebp - 0xa8c], 0
je 0x63ba4e
mov edx, dword [ebp - 0xa8c]
mov dword [ebp - 0xad0], edx
mov eax, dword [ebp - 0xad0]
push eax
call fcn.004421f6
add esp, 4
mov dword [ebp - 0xa8c], 0
mov ecx, dword [ebp - 0xa94]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x7fc]
call fcn.0041d4a0
push eax
lea edx, [ebp - 0xe4]
push edx
call fcn.004a53e9
add esp, 8
lea eax, [ebp - 0xe4]
push eax
call fcn.004ab8ed
add esp, 4
lea ecx, [ebp - 0x7e4]
call fcn.0041d4a0
push eax
lea ecx, [ebp - 0x274]
push ecx
call fcn.004a53e9
add esp, 8
lea edx, [ebp - 0x274]
push edx
call fcn.004ab8ed
add esp, 4
lea ecx, [ebp - 0x7cc]
call fcn.0041d4a0
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.004a53e9
add esp, 8
lea ecx, [ebp - 0x1ac]
push ecx
call fcn.004ab8ed
add esp, 4
mov edx, dword [ebp - 0xaa0]
push edx
mov eax, dword [ebp - 0xaa4]
push eax
push str._llu
lea ecx, [ebp - 0x33c]
push ecx
call fcn.00420b30
add esp, 0x10
lea edx, [ebp - 0x33c]
push edx
lea ecx, [ebp - 0x97c]
call fcn.0041d520
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x91c]
call fcn.0041d520
lea ecx, [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x904]
call fcn.0041d520
lea edx, [ebp - 0x1ac]
push edx
lea ecx, [ebp - 0x8ec]
call fcn.0041d520
jmp 0x63bb9f
mov dword [ebp - 0x9c8], 1
push 0x276d
lea eax, [ebp - 0xb40]
push eax
call fcn.006289d0
add esp, 8
mov dword [ebp - 0xacc], eax
mov ecx, dword [ebp - 0xacc]
mov dword [ebp - 0xac8], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xac8]
call fcn.004197c0
push eax
lea ecx, [ebp - 0x9ac]
call fcn.0041d520
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb40]
call fcn.00419710
mov ecx, dword [ebp - 0xa88]
call fcn.0063b030
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x9c8]
push edx
mov ecx, dword [ebp - 0xa88]
call fcn.0063af80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7cc]
call fcn.0041d5b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7e4]
call fcn.0041d5b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7fc]
call fcn.0041d5b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c8]
call fcn.0042d9c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004421e5
mov esp, ebp
pop ebp
ret 4