Function at 0x180f2de8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x181d200c]
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.180f2cf4
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
jb 0x180f2e22
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 0x180f2e4c
lea ecx, [ebp - 0x30]
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
call fcn.1800fac6
jmp 0x180f3161
push edi
lea ecx, [ebp - 0x18]
call fcn.1800f592
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
jb 0x180f2e61
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 0x180f2ebe
lea ecx, [ebp - 0x30]
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
call fcn.1800fac6
test ebx, ebx
je 0x180f3161
mov eax, dword [ebp - 0x10]
sub eax, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x38], eax
cmp eax, 0x1000
jb 0x180f2eb7
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 8]
push eax
call fcn.18007b72
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 8]
pop ecx
pop ecx
push eax
push ebx
jmp 0x180f315a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x181a26b8
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x180f2f19
lea ecx, [ebp - 0x30]
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
call fcn.1800fac6
test ebx, ebx
je 0x180f3161
mov eax, dword [ebp - 0x10]
sub eax, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 8], eax
cmp eax, 0x1000
jb 0x180f2eb7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007b72
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x38]
jmp 0x180f2eb5
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x114]
movzx edx, word [eax + 0x14]
call fcn.18029b48
mov ecx, dword [ebp - 0x3c]
mov ebx, eax
movzx edx, word [ecx + 0x16]
lea ecx, [ebp - 0xfc]
call fcn.18029b48
mov ecx, dword [ebp - 0x3c]
mov edi, eax
movzx edx, word [ecx + 0x10]
lea ecx, [ebp - 0xe4]
call fcn.18029b48
mov ecx, dword [ebp - 0x3c]
mov esi, eax
movzx edx, word [ecx + 0x12]
lea ecx, [ebp - 0xcc]
call fcn.18029b48
push 1
push 0x181a91bc
mov ecx, eax
call fcn.18026075
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.18014942
push esi
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0xc]
lea ecx, [ebp - 0xb4]
call fcn.18033917
push 1
mov esi, 0x181a91bc
lea ecx, [ebp - 0xb4]
push esi
call fcn.18026075
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.18014942
push edi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0xc]
lea ecx, [ebp - 0x9c]
call fcn.18033917
push 1
push esi
lea ecx, [ebp - 0x9c]
call fcn.18026075
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.18014942
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x54]
push ebx
push eax
push dword [ebp - 0xc]
mov ecx, esi
call fcn.18033917
mov eax, dword [ebp - 0x40]
mov edi, 0x1000
cmp eax, 0x10
jb 0x180f304c
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], ecx
cmp eax, edi
jb 0x180f3043
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007b72
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.1811de06
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.180148bd
mov eax, dword [ebp - 0x58]
cmp eax, 0x10
jb 0x180f309a
mov ecx, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], ecx
cmp eax, edi
jb 0x180f3091
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007b72
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.1811de06
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.180148bd
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x180f30e9
mov ecx, dword [ebp - 0x84]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], ecx
cmp eax, edi
jb 0x180f30e0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007b72
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.1811de06
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.180148bd
lea ecx, [ebp - 0xe4]
call fcn.180148bd
lea ecx, [ebp - 0xfc]
call fcn.180148bd
lea ecx, [ebp - 0x114]
call fcn.180148bd
lea ecx, [ebp - 0x30]
call fcn.1800fac6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x180f3161
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], ecx
cmp ecx, edi
jb 0x180f3158
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007b72
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
push ecx
push eax
call fcn.1811de06
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811d8d8
leave
ret