Function at 0x40eee0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4470c0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x45a4b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401240
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
push 0x452ab4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004038a0
mov edi, dword [ebp - 0x14]
mov esi, dword [edi - 0xc]
test esi, esi
jns 0x40ef4b
push 0x80070057
call fcn.004019f0
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x40ef68
push esi
lea ecx, [ebp - 0x14]
call fcn.00401960
mov edi, dword [ebp - 0x14]
lea eax, [esi + 1]
push eax
push edi
call fcn.0042e320
add esp, 8
cmp esi, dword [edi - 8]
jg 0x40ef41
mov dword [edi - 0xc], esi
xor eax, eax
mov word [edi + esi*2], ax
or esi, 0xffffffff
cmp dword [edi - 0xc], eax
jl 0x40efad
push 0x452ab8
push edi
call fcn.0042de6b
add esp, 8
test eax, eax
je 0x40efad
sub eax, edi
sar eax, 1
cmp eax, esi
je 0x40efad
lea ebx, [esi + 2]
jmp 0x40f3ab
push 0x450620
lea ecx, [ebp - 0x10]
call fcn.004037e0
mov eax, dword [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 2
mov esi, esp
mov ebx, dword [ebx + 0x10]
mov ecx, dword [eax + 8]
sub ecx, 0x10
call fcn.00401240
add eax, 0x10
lea ecx, [ebp - 0x40]
mov edx, ebx
mov dword [esi], eax
call fcn.00413670
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [eax + 0xc]
sub ecx, 0x10
call fcn.00401240
lea ebx, [eax + 0x10]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 5
or esi, 0xffffffff
mov edx, dword [ebp - 0x34]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f01c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebx - 0xc], 3
jle 0x40f14c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push ebx
mov dword [ebp - 0x2c], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
push esi
call fcn.0041667e
add esp, 4
mov dword [ebp - 0x28], eax
push eax
push esi
push dword [ebp - 0x20]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40f0dc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x452ae4
push dword [ebp - 0x28]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40f0dc
push 0x10
call fcn.0041667e
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, dword [ebp - 0x24]
movzx esi, word [ecx + 0xa]
mov dword [eax], esi
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
movzx ecx, word [ecx + 0xe]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0xc]
push eax
push ecx
push edx
push esi
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x10]
push str._d._d._d._d
push eax
call fcn.0040fc50
push edi
call fcn.0042dce4
mov edi, dword [ebp - 0x14]
add esp, 0x1c
push dword [ebp - 0x28]
call fcn.0042dce4
add esp, 4
jmp 0x40f1b8
mov edx, dword [0x45d8c4]
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x40f13f
cmp dword [esi + 0xc], 0
jl 0x40f133
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x40f133
call fcn.00401240
mov dword [ebp - 0x24], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f11d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x10], eax
call fcn.0042dce4
add esp, 4
jmp 0x40f1b8
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.004087b0
push dword [ebp - 0x28]
call fcn.0042dce4
add esp, 4
jmp 0x40f1b8
mov edx, dword [0x45d8c0]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x2c], ecx
lea eax, [edx - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x24], ecx
cmp eax, ecx
je 0x40f1b8
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x14]
jl 0x40f1ac
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x40f1ac
mov ecx, dword [ebp - 0x2c]
call fcn.00401240
mov dword [ebp - 0x2c], eax
mov ecx, esi
mov eax, dword [ebp - 0x28]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f1a1
mov esi, dword [ebp - 0x24]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [ebp - 0x10], eax
jmp 0x40f1b8
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.004087b0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401240
add eax, 0x10
mov dword [ebp - 0x28], eax
push ecx
push 0x452ab4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004038a0
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
add eax, 0xd0
mov dword [ebp - 0x20], eax
mov ecx, dword [eax]
lea edx, [esi - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], ecx
cmp edx, ecx
je 0x40f253
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x14]
jl 0x40f248
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40f245
mov ecx, edx
call fcn.00401240
mov dword [ebp - 0x20], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x2c]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f234
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [ecx + 0xd0], eax
jmp 0x40f253
mov eax, dword [ebp - 0x20]
push dword [esi - 0xc]
mov ecx, eax
push esi
call fcn.004087b0
test esi, esi
je 0x40f278
cmp dword [edi - 0xc], 0
jl 0x40f29d
push esi
push edi
call fcn.0042de6b
add esp, 8
test eax, eax
je 0x40f278
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x40f344
cmp dword [edi - 0xc], 0
jl 0x40f29d
push 0x452ad8
push edi
call fcn.0042de6b
add esp, 8
test eax, eax
je 0x40f29d
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x40f344
cmp dword [ebp + 0xc], 0
jne 0x40f344
lea ecx, [ebp + 0xc]
call fcn.00409b30
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 7
push eax
mov edx, 0x452ae0
lea ecx, [ebp - 0x2c]
call fcn.00402d90
add esp, 4
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp + 0xc]
push dword [ebp + 8]
push dword [0x45d8bc]
push eax
call fcn.0040fc50
mov byte [ebp - 4], 7
add esp, 0x10
mov edx, dword [ebp - 0x2c]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f303
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
push 0x34
push dword [0x45d890]
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor edx, edx
mov byte [ebp - 4], 6
cmp eax, 6
sete dl
mov dword [ebp + 0xc], edx
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f34e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40f34e
mov dword [ebp + 0xc], 1
or esi, 0xffffffff
mov byte [ebp - 4], 5
mov ecx, esi
mov edx, dword [ebp - 0x18]
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f36b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
mov ecx, esi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f388
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, esi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f3a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 0xc]
add edi, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f3c8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x40f3e9
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8