Function at 0x10007120
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100329c6
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x10061040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 7
push 0
cmova eax, dword [ebp + 8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x10007561
mov dword [ebp - 0x94], 0
xorps xmm0, xmm0
movq qword [ebp - 0x9c], xmm0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
cmp edi, 0x7fffffff
ja 0x100075f0
cmp edi, 0x1000
jb 0x100071f6
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x100075f5
push eax
call fcn.100170ef
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100075fa
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x100071ff
push edi
call fcn.100170ef
add esp, 4
push edi
lea esi, [eax + edi]
mov dword [ebp - 0x9c], eax
push 0
push eax
mov dword [ebp - 0x94], esi
call fcn.100194f0
add esp, 0xc
mov dword [ebp - 0x98], esi
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push dword [ebp - 0x9c]
cmp dword [ebp + 0x1c], 7
push edi
cmova eax, dword [ebp + 8]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10007540
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0
push eax
push 0x10059868
push dword [ebp - 0x9c]
call esi
test eax, eax
je 0x1000751f
test dword [ebp - 0xa0], 0xfffffffc
jbe 0x100074ca
mov ecx, dword [ebp - 0xa8]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push 0x100598a0
lea eax, [ebp - 0x90]
push 0x40
push eax
call fcn.10005210
mov edi, eax
add esp, 0x14
test edi, edi
js 0x1000742e
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xac], 0
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x9c]
call esi
test eax, eax
je 0x10007390
push dword [ebp - 0xac]
mov esi, dword [ebp - 0xb0]
mov ecx, esi
call fcn.1000a880
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
je 0x10007353
mov edx, dword [ebp - 0x94]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000732b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100075fa
push edx
push ecx
call fcn.1001754d
add esp, 8
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x100075d3
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100075c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100075fa
jmp 0x100075c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x100598f4
lea ecx, [ebp - 0xcc]
mov esi, eax
call fcn.1000a880
mov byte [ebp - 4], 2
push 0
push esi
sub esp, 0xc
lea eax, [ebp - 0xb4]
mov ecx, esp
lea edx, [ebp - 0xcc]
push ecx
push eax
push edx
call fcn.1000a340
mov esi, dword [ebp - 0xb0]
xor edx, edx
mov ecx, esi
call fcn.10005820
add esp, 0x14
mov byte [ebp - 4], 1
lea eax, [ebp - 0xcc]
push fcn.1000a820
push 1
push 0x18
push eax
call fcn.1001711f
mov edx, dword [ebp - 0x9c]
test edx, edx
je 0x10007353
mov ecx, dword [ebp - 0x94]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x10007427
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100075fa
push ecx
push edx
jmp 0x1000732d
push 0x10059920
lea ecx, [ebp - 0xcc]
call fcn.1000a880
mov eax, edi
mov byte [ebp - 4], 3
cdq
lea esi, [ebp - 0xb4]
push edx
push eax
sub esp, 0xc
lea eax, [ebp - 0xcc]
mov ecx, esp
push ecx
push esi
push eax
call fcn.1000a340
mov esi, dword [ebp - 0xb0]
xor edx, edx
mov ecx, esi
call fcn.10005820
add esp, 0x14
mov byte [ebp - 4], 1
lea eax, [ebp - 0xcc]
push fcn.1000a820
push 1
push 0x18
push eax
call fcn.1001711f
mov edx, dword [ebp - 0x9c]
test edx, edx
je 0x10007353
mov ecx, dword [ebp - 0x94]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x10007427
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100075fa
push ecx
push edx
jmp 0x1000732d
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
je 0x10007508
mov edx, dword [ebp - 0x94]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100074fe
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100075fa
push edx
push ecx
call fcn.1001754d
add esp, 8
mov esi, dword [ebp - 0xb0]
mov ecx, esi
push 0x10058bcc
call fcn.1000a880
jmp 0x10007353
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x100598f4
lea ecx, [ebp - 0xcc]
mov esi, eax
call fcn.1000a880
mov byte [ebp - 4], 4
jmp 0x100073ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10059950
lea ecx, [ebp - 0xcc]
mov esi, eax
call fcn.1000a880
mov byte [ebp - 4], 5
jmp 0x100073ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10059984
lea ecx, [ebp - 0xcc]
mov esi, eax
call fcn.1000a880
push 0
push esi
sub esp, 0xc
mov byte [ebp - 4], 6
mov ecx, esp
lea eax, [ebp - 0xb4]
lea edx, [ebp - 0xcc]
push ecx
push eax
push edx
call fcn.1000a340
mov esi, dword [ebp - 0xb0]
xor edx, edx
mov ecx, esi
call fcn.10005820
add esp, 0x14
mov byte [ebp - 4], 0
lea eax, [ebp - 0xcc]
push fcn.1000a820
push 1
push 0x18
push eax
call fcn.1001711f
jmp 0x10007353
push ecx
push edx
call fcn.1001754d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100170dc
mov esp, ebp
pop ebp
ret
call fcn.1000a710
call fcn.10002020
call fcn.1001ef91
int3