Function at 0x180ef578
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x181c700c]
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.180ef484
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
jb 0x180ef5b2
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 0x180ef5dc
lea ecx, [ebp - 0x30]
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
call fcn.1800fd77
jmp 0x180ef8f1
push edi
lea ecx, [ebp - 0x18]
call fcn.1800f879
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
jb 0x180ef5f1
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 0x180ef64e
lea ecx, [ebp - 0x30]
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
call fcn.1800fd77
test ebx, ebx
je 0x180ef8f1
mov eax, dword [ebp - 0x10]
sub eax, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x38], eax
cmp eax, 0x1000
jb 0x180ef647
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 8]
push eax
call fcn.18007c32
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 8]
pop ecx
pop ecx
push eax
push ebx
jmp 0x180ef8ea
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x18198394
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x180ef6a9
lea ecx, [ebp - 0x30]
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
call fcn.1800fd77
test ebx, ebx
je 0x180ef8f1
mov eax, dword [ebp - 0x10]
sub eax, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 8], eax
cmp eax, 0x1000
jb 0x180ef647
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007c32
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x38]
jmp 0x180ef645
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x114]
movzx edx, word [eax + 0x14]
call fcn.18029888
mov ecx, dword [ebp - 0x3c]
mov ebx, eax
movzx edx, word [ecx + 0x16]
lea ecx, [ebp - 0xfc]
call fcn.18029888
mov ecx, dword [ebp - 0x3c]
mov edi, eax
movzx edx, word [ecx + 0x10]
lea ecx, [ebp - 0xe4]
call fcn.18029888
mov ecx, dword [ebp - 0x3c]
mov esi, eax
movzx edx, word [ecx + 0x12]
lea ecx, [ebp - 0xcc]
call fcn.18029888
push 1
push 0x1819ee54
mov ecx, eax
call fcn.18025e95
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.18014b92
push esi
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0xc]
lea ecx, [ebp - 0xb4]
call fcn.18033577
push 1
mov esi, 0x1819ee54
lea ecx, [ebp - 0xb4]
push esi
call fcn.18025e95
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.18014b92
push edi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0xc]
lea ecx, [ebp - 0x9c]
call fcn.18033577
push 1
push esi
lea ecx, [ebp - 0x9c]
call fcn.18025e95
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.18014b92
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x54]
push ebx
push eax
push dword [ebp - 0xc]
mov ecx, esi
call fcn.18033577
mov eax, dword [ebp - 0x40]
mov edi, 0x1000
cmp eax, 0x10
jb 0x180ef7dc
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], ecx
cmp eax, edi
jb 0x180ef7d3
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007c32
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.18118e16
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.18014b0d
mov eax, dword [ebp - 0x58]
cmp eax, 0x10
jb 0x180ef82a
mov ecx, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], ecx
cmp eax, edi
jb 0x180ef821
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007c32
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.18118e16
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.18014b0d
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x180ef879
mov ecx, dword [ebp - 0x84]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], ecx
cmp eax, edi
jb 0x180ef870
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007c32
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.18118e16
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.18014b0d
lea ecx, [ebp - 0xe4]
call fcn.18014b0d
lea ecx, [ebp - 0xfc]
call fcn.18014b0d
lea ecx, [ebp - 0x114]
call fcn.18014b0d
lea ecx, [ebp - 0x30]
call fcn.1800fd77
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x180ef8f1
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], ecx
cmp ecx, edi
jb 0x180ef8e8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.18007c32
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
push ecx
push eax
call fcn.18118e16
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181188e8
leave
ret