Function at 0x180f2228
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x181d100c]
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.180f2134
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
jb 0x180f2262
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 0x180f228c
lea ecx, [ebp - 0x30]
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
call fcn.1800fac6
jmp 0x180f25a1
push edi
lea ecx, [ebp - 0x18]
call fcn.1800f592
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
jb 0x180f22a1
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 0x180f22fe
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 0x180f25a1
mov eax, dword [ebp - 0x10]
sub eax, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x38], eax
cmp eax, 0x1000
jb 0x180f22f7
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 0x180f259a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x181a16b8
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x180f2359
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 0x180f25a1
mov eax, dword [ebp - 0x10]
sub eax, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 8], eax
cmp eax, 0x1000
jb 0x180f22f7
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 0x180f22f5
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 0x181a8188
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, 0x181a8188
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 0x180f248c
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], ecx
cmp eax, edi
jb 0x180f2483
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.1811cb36
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 0x180f24da
mov ecx, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], ecx
cmp eax, edi
jb 0x180f24d1
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.1811cb36
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 0x180f2529
mov ecx, dword [ebp - 0x84]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], ecx
cmp eax, edi
jb 0x180f2520
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.1811cb36
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 0x180f25a1
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], ecx
cmp ecx, edi
jb 0x180f2598
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.1811cb36
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811c608
leave
ret