Function at 0x180f9018
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x181d700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.180f8f24
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
jb 0x180f9052
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x180f907c
lea ecx, [ebp - 0x30]
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
call fcn.1800fcd6
jmp 0x180f9391
push edi
lea ecx, [ebp - 0x18]
call fcn.1800f7a2
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
jb 0x180f9091
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x18]
push ebx
push edi
xor edi, edi
push edi
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x180f90ee
lea ecx, [ebp - 0x30]
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
call fcn.1800fcd6
test ebx, ebx
je 0x180f9391
mov eax, dword [ebp - 0x10]
sub eax, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x38], eax
cmp eax, 0x1000
jb 0x180f90e7
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 8]
push eax
call fcn.18007b92
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 8]
pop ecx
pop ecx
push eax
push ebx
jmp 0x180f938a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x181a4900
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x180f9149
lea ecx, [ebp - 0x30]
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
call fcn.1800fcd6
test ebx, ebx
je 0x180f9391
mov eax, dword [ebp - 0x10]
sub eax, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 8], eax
cmp eax, 0x1000
jb 0x180f90e7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007b92
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x38]
jmp 0x180f90e5
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x114]
movzx edx, word [eax + 0x14]
call fcn.1802987b
mov ecx, dword [ebp - 0x3c]
mov ebx, eax
movzx edx, word [ecx + 0x16]
lea ecx, [ebp - 0xfc]
call fcn.1802987b
mov ecx, dword [ebp - 0x3c]
mov edi, eax
movzx edx, word [ecx + 0x10]
lea ecx, [ebp - 0xe4]
call fcn.1802987b
mov ecx, dword [ebp - 0x3c]
mov esi, eax
movzx edx, word [ecx + 0x12]
lea ecx, [ebp - 0xcc]
call fcn.1802987b
push 1
push 0x181abd1c
mov ecx, eax
call fcn.180265d5
xor ecx, ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x84]
push eax
call fcn.18014be1
push esi
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0xc]
lea ecx, [ebp - 0xb4]
call fcn.1802eb86
push 1
mov esi, 0x181abd1c
lea ecx, [ebp - 0xb4]
push esi
call fcn.180265d5
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x6c]
push eax
call fcn.18014be1
push edi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0xc]
lea ecx, [ebp - 0x9c]
call fcn.1802eb86
push 1
push esi
lea ecx, [ebp - 0x9c]
call fcn.180265d5
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x54]
push eax
call fcn.18014be1
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x54]
push ebx
push eax
push dword [ebp - 0xc]
mov ecx, esi
call fcn.1802eb86
mov eax, dword [ebp - 0x40]
mov edi, 0x1000
cmp eax, 0x10
jb 0x180f927c
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], ecx
cmp eax, edi
jb 0x180f9273
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007b92
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.18122a66
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 0x40], 0xf
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
call fcn.18014b5c
mov eax, dword [ebp - 0x58]
cmp eax, 0x10
jb 0x180f92ca
mov ecx, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], ecx
cmp eax, edi
jb 0x180f92c1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007b92
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.18122a66
pop ecx
pop ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], bl
call fcn.18014b5c
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x180f9319
mov ecx, dword [ebp - 0x84]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], ecx
cmp eax, edi
jb 0x180f9310
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007b92
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.18122a66
pop ecx
pop ecx
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], bl
call fcn.18014b5c
lea ecx, [ebp - 0xe4]
call fcn.18014b5c
lea ecx, [ebp - 0xfc]
call fcn.18014b5c
lea ecx, [ebp - 0x114]
call fcn.18014b5c
lea ecx, [ebp - 0x30]
call fcn.1800fcd6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x180f9391
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], ecx
cmp ecx, edi
jb 0x180f9388
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007b92
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
push ecx
push eax
call fcn.18122a66
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122538
leave
ret