Function at 0x40dcb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445e10
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4584b8]
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 0x451498
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403690
mov edi, dword [ebp - 0x14]
mov esi, dword [edi - 0xc]
test esi, esi
jns 0x40dd1b
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 0x40dd38
push esi
lea ecx, [ebp - 0x14]
call fcn.00401960
mov edi, dword [ebp - 0x14]
lea eax, [esi + 1]
push eax
push edi
call fcn.0042d2c0
add esp, 8
cmp esi, dword [edi - 8]
jg 0x40dd11
mov dword [edi - 0xc], esi
xor eax, eax
mov word [edi + esi*2], ax
or esi, 0xffffffff
cmp dword [edi - 0xc], eax
jl 0x40dd7c
push 0x45149c
push edi
call fcn.0042ce0b
add esp, 8
test eax, eax
je 0x40dd7c
sub eax, edi
sar eax, 1
cmp eax, esi
je 0x40dd7c
mov bl, 1
jmp 0x40e175
push 0x44f638
lea ecx, [ebp - 0x10]
call fcn.004035d0
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.00412240
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 0x40ddeb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebx - 0xc], 3
jle 0x40df1b
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.0041561d
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 0x40deab
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4514c8
push dword [ebp - 0x28]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40deab
push 0x10
call fcn.0041561d
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.0040efe0
push edi
call fcn.0042cc84
mov edi, dword [ebp - 0x14]
add esp, 0x1c
push dword [ebp - 0x28]
call fcn.0042cc84
add esp, 4
jmp 0x40df87
mov edx, dword [0x45b8c4]
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x40df0e
cmp dword [esi + 0xc], 0
jl 0x40df02
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x40df02
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 0x40deec
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.0042cc84
add esp, 4
jmp 0x40df87
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.004085a0
push dword [ebp - 0x28]
call fcn.0042cc84
add esp, 4
jmp 0x40df87
mov edx, dword [0x45b8c0]
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 0x40df87
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x14]
jl 0x40df7b
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x40df7b
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 0x40df70
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 0x40df87
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.004085a0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401240
add eax, 0x10
mov dword [ebp - 0x28], eax
push ecx
push 0x451498
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00403690
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
add eax, 0xd4
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 0x40e022
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x14]
jl 0x40e017
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40e014
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 0x40e003
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 + 0xd4], eax
jmp 0x40e022
mov eax, dword [ebp - 0x20]
push dword [esi - 0xc]
mov ecx, eax
push esi
call fcn.004085a0
test esi, esi
je 0x40e047
cmp dword [edi - 0xc], 0
jl 0x40e06c
push esi
push edi
call fcn.0042ce0b
add esp, 8
test eax, eax
je 0x40e047
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x40e111
cmp dword [edi - 0xc], 0
jl 0x40e06c
push 0x4514bc
push edi
call fcn.0042ce0b
add esp, 8
test eax, eax
je 0x40e06c
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x40e111
cmp byte [ebp + 0xc], 0
jne 0x40e111
lea ecx, [ebp + 0xc]
call fcn.00409910
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 7
push eax
mov edx, 0x4514c4
lea ecx, [ebp - 0x2c]
call fcn.00402b80
add esp, 4
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp + 0xc]
push dword [ebp + 8]
push dword [0x45b8bc]
push eax
call fcn.0040efe0
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 0x40e0d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
push 0x34
push dword [0x45b890]
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
mov byte [ebp - 4], 6
lea edx, [esi - 0x10]
sete al
or esi, 0xffffffff
mov byte [ebp + 0xf], al
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e118
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40e118
mov byte [ebp + 0xf], 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 0x40e135
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 0x40e152
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 0x40e172
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, byte [ebp + 0xf]
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 0x40e192
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 0x40e1b3
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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