Function at 0x180cc87f
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1822b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], ebx
call fcn.180cc792
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
jb 0x180cc8c5
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x114]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x180cc8f2
mov dword [esi + 0x10], ebx
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
call fcn.1800e90b
jmp 0x180ccca5
push edi
lea ecx, [ebp - 0x110]
call fcn.1800e440
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
jb 0x180cc90a
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x110]
push ebx
push edi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x180cc97e
and dword [esi + 0x10], eax
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x14], 0xf
mov byte [esi], al
call fcn.1800e90b
test ebx, ebx
je 0x180ccca5
mov eax, dword [ebp - 0x108]
sub eax, ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xfc], eax
cmp eax, 0x1000
jb 0x180cc977
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.18007456
mov eax, dword [ebp - 0xfc]
mov ebx, dword [ebp - 0xf8]
pop ecx
pop ecx
push eax
push ebx
jmp 0x180ccc9e
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x100]
push eax
push 0x181f3778
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x180cc9f4
and dword [esi + 0x10], eax
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x14], 0xf
mov byte [esi], al
call fcn.1800e90b
test ebx, ebx
je 0x180ccca5
mov eax, dword [ebp - 0x108]
sub eax, ebx
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xf8], eax
cmp eax, 0x1000
jb 0x180cc977
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.18007456
mov eax, dword [ebp - 0xf8]
mov ebx, dword [ebp - 0xfc]
jmp 0x180cc975
mov eax, dword [ebp - 0x100]
lea ecx, [ebp - 0xf4]
movzx edx, word [eax + 0x14]
call fcn.1808ebcd
mov ecx, dword [ebp - 0x100]
mov ebx, eax
movzx edx, word [ecx + 0x16]
lea ecx, [ebp - 0xdc]
call fcn.1808ebcd
mov ecx, dword [ebp - 0x100]
mov edi, eax
movzx edx, word [ecx + 0x10]
lea ecx, [ebp - 0xc4]
call fcn.1808ebcd
mov ecx, dword [ebp - 0x100]
mov esi, eax
movzx edx, word [ecx + 0x12]
lea ecx, [ebp - 0xac]
call fcn.1808ebcd
push 1
push 0x181f9970
mov ecx, eax
call fcn.18020c75
xor ecx, ecx
mov byte [ebp - 0xf8], cl
push dword [ebp - 0xf8]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x64]
push eax
call fcn.18012f5d
push esi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x104]
lea ecx, [ebp - 0x94]
call fcn.18079cb1
push 1
mov esi, 0x181f9970
lea ecx, [ebp - 0x94]
push esi
call fcn.18020c75
xor ecx, ecx
mov byte [ebp - 0xf8], cl
push dword [ebp - 0xf8]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x4c]
push eax
call fcn.18012f5d
push edi
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x104]
lea ecx, [ebp - 0x7c]
call fcn.18079cb1
push 1
push esi
lea ecx, [ebp - 0x7c]
call fcn.18020c75
xor ecx, ecx
mov byte [ebp - 0xf8], cl
push dword [ebp - 0xf8]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x34]
push eax
call fcn.18012f5d
mov esi, dword [ebp - 0xfc]
lea eax, [ebp - 0x34]
push ebx
push eax
push dword [ebp - 0x104]
mov ecx, esi
call fcn.18079cb1
mov eax, dword [ebp - 0x20]
mov edi, 0x1000
cmp eax, 0x10
jb 0x180ccb5d
mov ecx, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xfc], ecx
cmp eax, edi
jb 0x180ccb54
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.18007456
mov eax, dword [ebp - 0xf8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xfc]
push eax
push ecx
call fcn.18160b12
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 0x20], 0xf
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
call fcn.18012edc
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x180ccbba
mov ecx, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xfc], ecx
cmp eax, edi
jb 0x180ccbb1
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.18007456
mov eax, dword [ebp - 0xf8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xfc]
push eax
push ecx
call fcn.18160b12
pop ecx
pop ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], bl
call fcn.18012edc
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x180ccc18
mov ecx, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xfc], ecx
cmp eax, edi
jb 0x180ccc0f
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.18007456
mov eax, dword [ebp - 0xf8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xfc]
push eax
push ecx
call fcn.18160b12
pop ecx
pop ecx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], bl
call fcn.18012edc
lea ecx, [ebp - 0xc4]
call fcn.18012edc
lea ecx, [ebp - 0xdc]
call fcn.18012edc
lea ecx, [ebp - 0xf4]
call fcn.18012edc
lea ecx, [ebp - 0x1c]
call fcn.1800e90b
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x180ccca5
mov ecx, dword [ebp - 0x108]
sub ecx, eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], ecx
cmp ecx, edi
jb 0x180ccc9c
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.18007456
mov eax, dword [ebp - 0xfc]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xf8]
push ecx
push eax
call fcn.18160b12
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181605f4
leave
ret