Function at 0x10019800
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
mov eax, dword [0x1012e100]
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 - 0x630]
push eax
lea eax, [ebp - 0x230]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x10019956
cmp edi, 0x7fffffff
ja 0x10019b17
cmp edi, 0x1000
jb 0x10019882
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x10019b1c
push eax
call fcn.100cd687
add esp, 4
test eax, eax
je 0x10019b21
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1001988d
push edi
call fcn.100cd687
add esp, 4
mov esi, eax
push edi
push 0
push esi
call fcn.100cea20
add esp, 0xc
lea eax, [ebp - 0x230]
push esi
push edi
push dword [ebp - 0x630]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1001992a
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x634]
push eax
push 0x10105100
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1001992a
mov eax, dword [ebp - 0x634]
mov ecx, dword [eax + 8]
mov ebx, ecx
mov edx, dword [eax + 0xc]
movzx eax, cx
mov dword [ebp - 0x62c], eax
mov eax, edx
shr eax, 0x10
mov dword [ebp - 0x63c], eax
shr ebx, 0x10
movzx eax, dx
mov dword [ebp - 0x638], eax
test esi, esi
je 0x1001995c
cmp edi, 0x1000
jb 0x1001991e
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x10019b21
mov esi, ecx
push edi
push esi
call fcn.100cd6b7
add esp, 8
jmp 0x1001995c
test esi, esi
je 0x10019956
cmp edi, 0x1000
jb 0x1001994c
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x10019b21
mov esi, ecx
push edi
push esi
call fcn.100cd6b7
add esp, 8
mov ebx, dword [ebp - 0x62c]
movzx eax, word [ebp - 0x638]
mov esi, dword [ebp - 0x62c]
push 0xffffffffffffffff
push eax
movzx eax, word [ebp - 0x63c]
push eax
movzx eax, si
push eax
movzx eax, bx
push eax
push str._d__d__d__d
push 0
call fcn.100070c0
add esp, 0x1c
cmp bx, 3
jne 0x10019b04
cmp si, 5
jne 0x10019b04
push dword [0x10ca97b0]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x8d06b70f
push dword [0x10ca939c]
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.100b3ba0
add esp, 0x10
test eax, eax
je 0x10019b04
push 0
push 0
push eax
add eax, 0xffffe800
mov word [ebp - 0x62c], 0xe6c1
push eax
lea eax, [ebp - 0x62c]
mov byte [ebp - 0x62a], 6
push 3
push eax
call fcn.100b3a70
mov ecx, eax
add esp, 0x18
test ecx, ecx
je 0x10019b04
lea eax, [ecx + 0x40]
mov word [ebp - 0x630], 0xf001
push eax
push ecx
lea eax, [ebp - 0x630]
push 2
push eax
call fcn.100b3ba0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10019b04
push 0x178
lea eax, [ebp - 0x620]
push 0
push eax
call fcn.100cea20
push 0x45c
xorps xmm0, xmm0
lea eax, [ebp - 0x484]
push 0
push eax
movups xmmword [ebp - 0x4a0], xmm0
movq qword [ebp - 0x490], xmm0
call fcn.100cea20
add esp, 0x18
mov dword [ebp - 0x624], 0
lea eax, [esi + 2]
mov dword [ebp - 0x4a8], 0x24
mov dword [ebp - 0x628], eax
lea esi, [ebp - 0x628]
mov ecx, 0x180
mov dword [ebp - 0x4a4], 0
push str.godot35
sub esp, 0x600
mov dword [ebp - 0x488], 0x100197b0
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10007300
add esp, 0x604
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cd9fa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100cd9fa
mov esp, ebp
pop ebp
ret
call fcn.1000e400
call fcn.100096c0
call fcn.100d94af
int3