Function at 0x10017490
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa48
mov eax, dword [0x1013a098]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x230]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x230]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x1001753c
lea eax, [ebp - 0xa2d]
push eax
push edi
lea ecx, [ebp - 0xa44]
call fcn.100173f0
mov esi, dword [ebp - 0xa44]
lea eax, [ebp - 0x230]
push esi
push edi
push dword [ebp - 0xa2c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x100176ea
test esi, esi
je 0x1001753c
mov ecx, dword [ebp - 0xa3c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10017532
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001777f
push ecx
push esi
call fcn.100d26ef
add esp, 8
mov ebx, dword [ebp - 0xa2c]
mov edi, dword [ebp - 0xa2c]
movzx eax, word [ebp - 0xa30]
push 0xffffffffffffffff
push eax
movzx eax, word [ebp - 0xa38]
push eax
movzx eax, bx
push eax
movzx eax, di
push eax
push str._d__d__d__d
push 0
call fcn.10006980
add esp, 0x1c
cmp di, 3
jne 0x1001776c
cmp bx, 5
jne 0x1001776c
push dword [0x10cb8458]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x8d06b70f
push dword [0x10cb8044]
mov dword [ebp - 0x24], 0xffd1f890
push 0x23
push eax
mov dword [ebp - 0x20], 0xfa8166ff
mov dword [ebp - 0x1c], 0x908d71f7
mov dword [ebp - 0x18], 0x5400
mov dword [ebp - 0x14], 0x66c1960f
mov dword [ebp - 0x10], 0x2bfffa81
mov dword [ebp - 0xc], 0x8c2960f
mov word [ebp - 8], 0xfca
mov byte [ebp - 6], 0x84
call fcn.100a3e00
add esp, 0x10
test eax, eax
je 0x1001776c
push 0
push 0
push eax
add eax, 0xffffe800
mov word [ebp - 0xa2c], 0xe6c1
push eax
lea eax, [ebp - 0xa2c]
mov byte [ebp - 0xa2a], 6
push 3
push eax
call fcn.100a3cd0
mov ecx, eax
add esp, 0x18
test ecx, ecx
je 0x1001776c
lea eax, [ecx + 0x40]
mov word [ebp - 0xa30], 0xf001
push eax
push ecx
lea eax, [ebp - 0xa30]
push 2
push eax
call fcn.100a3e00
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001776c
push 0x178
lea eax, [ebp - 0xa20]
push 0
push eax
call fcn.100d5410
push 0x85c
xorps xmm0, xmm0
lea eax, [ebp - 0x884]
push 0
push eax
movups xmmword [ebp - 0x8a0], xmm0
movq qword [ebp - 0x890], xmm0
call fcn.100d5410
add esp, 0x18
mov dword [ebp - 0xa24], 0
lea eax, [esi + 2]
mov dword [ebp - 0x8a8], 0x24
mov dword [ebp - 0xa28], eax
lea esi, [ebp - 0xa28]
mov ecx, 0x280
mov dword [ebp - 0x8a4], 0
push str.godot35
sub esp, 0xa00
mov dword [ebp - 0x888], 0x100173a0
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10006be0
add esp, 0xa04
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d2719
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xa48]
push eax
lea eax, [ebp - 0xa34]
push eax
push 0x101086e4
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10017508
mov eax, dword [ebp - 0xa34]
mov ecx, dword [eax + 8]
mov edi, ecx
mov edx, dword [eax + 0xc]
mov eax, edx
shr eax, 0x10
mov dword [ebp - 0xa38], eax
shr edi, 0x10
movzx eax, dx
movzx ebx, cx
mov dword [ebp - 0xa30], eax
test esi, esi
je 0x10017548
mov ecx, dword [ebp - 0xa3c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x1001775d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001777f
push ecx
push esi
call fcn.100d26ef
add esp, 8
jmp 0x10017548
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d2719
mov esp, ebp
pop ebp
ret
call fcn.100dd9c9
int3