Function at 0x452860
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572fef
mov eax, dword fs:[0]
push eax
sub esp, 0x940
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x87c], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
lea eax, [ebp - 0x878]
mov dword [ebp - 0x888], edx
push eax
call fcn.00453750
mov dword [ebp - 4], 1
call fcn.004062e0
mov ecx, eax
test ecx, ecx
je 0x452ea8
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x88c], esi
mov byte [ebp - 4], 3
call fcn.004062e0
mov ecx, eax
test ecx, ecx
je 0x452eb2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x890], edi
cmp dword [ebp - 0x864], 8
lea ecx, [ebp - 0x814]
lea eax, [ebp - 0x878]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x878]
push ecx
push eax
mov dword [ebp - 0x880], eax
mov dword [ebp - 0x884], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x898], eax
test eax, eax
je 0x452e20
push eax
call fcn.004fa299
add esp, 4
mov dword [ebp - 0x894], eax
push eax
push dword [ebp - 0x898]
push 0
push dword [ebp - 0x880]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x452a4a
mov edi, dword [ebp - 0x894]
lea ecx, [edi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 4
lea esi, [edi + eax*2]
sub esi, edi
add esi, 3
and esi, 0xfffffffc
add esi, edi
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [ebp - 0x810]
push edx
push 0x57fb18
push eax
call edi
lea ecx, [ebp - 0x810]
add esp, 0x18
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4529c0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x88c]
call fcn.00406810
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [ebp - 0x810]
push edx
push 0x57fb18
push eax
call edi
lea ecx, [ebp - 0x810]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452a12
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x890]
call fcn.00406810
mov esi, dword [ebp - 0x88c]
mov edi, dword [ebp - 0x890]
mov dword [ebp - 0x884], 1
push dword [ebp - 0x894]
call fcn.004fa2a2
add esp, 4
cmp dword [ebp - 0x884], 0
je 0x452e20
mov ecx, dword [ebp - 0x888]
push str.version
call fcn.0046dfb0
mov ecx, eax
call fcn.0046ea60
mov edx, eax
mov dword [ebp - 0x838], 0
mov ecx, edx
mov dword [ebp - 0x834], 0xf
mov byte [ebp - 0x848], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x880], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452aa4
sub ecx, dword [ebp - 0x880]
push ecx
push edx
lea ecx, [ebp - 0x848]
call fcn.00406f00
push 3
lea eax, [ebp - 0x948]
mov byte [ebp - 4], 5
push esi
lea ecx, [ebp - 0x94c]
mov dword [ebp - 0x94c], eax
call fcn.0041a320
mov edx, dword [ebp - 0x94c]
mov ecx, edx
mov byte [ebp - 4], 6
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0xf
lea eax, [ecx + 1]
mov byte [ebp - 0x830], 0
mov dword [ebp - 0x880], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452b10
sub ecx, dword [ebp - 0x880]
push ecx
push edx
lea ecx, [ebp - 0x830]
call fcn.00406f00
mov eax, dword [ebp - 0x94c]
lea ecx, [ebp - 0x948]
mov byte [ebp - 4], 8
cmp eax, ecx
je 0x452b47
push eax
call fcn.00542a31
add esp, 4
mov ecx, dword [ebp - 0x87c]
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.00452ee0
cmp eax, 1
jne 0x452c2a
mov ecx, dword [ebp - 0x888]
push str.soft_id
call fcn.0046dfb0
lea ecx, [ebp - 0x860]
push ecx
mov ecx, eax
call fcn.0046ecd0
mov eax, dword [ebp - 0x87c]
mov byte [ebp - 4], 9
mov ecx, dword [eax + 0x2c]
cmp dword [eax + 0x30], ecx
je 0x452bb1
lea eax, [ebp - 0x860]
push eax
call fcn.00406c40
mov eax, dword [ebp - 0x87c]
add dword [eax + 0x2c], 0x18
jmp 0x452bc1
lea edx, [ebp - 0x860]
push edx
push ecx
lea ecx, [eax + 0x28]
call fcn.004504a0
lea eax, [ebp - 0x860]
push eax
lea ecx, [ebp - 0x8c8]
call fcn.00406c40
lea eax, [ebp - 0x830]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x8b0]
call fcn.00406c40
push dword [ebp - 0x814]
mov ecx, dword [ebp - 0x87c]
lea eax, [ebp - 0x8c8]
push eax
lea eax, [ebp - 0x818]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ecx + 0x34]
call fcn.00450dd0
lea ecx, [ebp - 0x8c8]
call fcn.004422d0
lea ecx, [ebp - 0x860]
call fcn.00406da0
jmp 0x452d76
cmp eax, 0xffffffff
jne 0x452d76
mov eax, dword [ebp - 0x87c]
cmp byte [eax + 0xc4], 0
jne 0x452d76
add eax, 0xd0
lea ecx, [ebp - 0x8c8]
mov dword [ebp - 0x87c], eax
lea eax, [ebp - 0x830]
push eax
call fcn.00406c40
lea eax, [ebp - 0x848]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x8b0]
call fcn.00406c40
mov ecx, dword [ebp - 0x888]
push str.soft_id
mov byte [ebp - 4], 0xd
call fcn.0046dfb0
lea ecx, [ebp - 0x860]
push ecx
mov ecx, eax
call fcn.0046ecd0
movups xmm0, xmmword [eax]
lea ecx, [ebp - 0x8f8]
movups xmmword [ebp - 0x910], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x8c8]
push eax
movq qword [ebp - 0x900], xmm0
call fcn.00451560
mov ecx, dword [ebp - 0x87c]
add ecx, 4
mov byte [ebp - 4], 0xf
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x884], eax
mov edx, dword [eax + 4]
lea eax, [ebp - 0x910]
push eax
mov eax, dword [ebp - 0x884]
push edx
push eax
mov dword [ebp - 0x880], edx
call fcn.004503c0
mov edx, eax
mov ecx, 0x3333332
mov eax, dword [ebp - 0x87c]
mov eax, dword [eax + 8]
sub ecx, eax
cmp ecx, 1
jb 0x452ebc
mov ecx, dword [ebp - 0x87c]
inc eax
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x884]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x880]
mov dword [eax], edx
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x818]
push eax
call fcn.004506c0
lea ecx, [ebp - 0x910]
call fcn.00451a10
lea ecx, [ebp - 0x860]
call fcn.00406da0
lea ecx, [ebp - 0x8c8]
call fcn.004422d0
mov edx, dword [ebp - 0x81c]
cmp edx, 0x10
jb 0x452db0
mov ecx, dword [ebp - 0x830]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x452da6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452ec6
push edx
push ecx
call fcn.004f9e2c
add esp, 8
mov edx, dword [ebp - 0x834]
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0xf
mov byte [ebp - 0x830], 0
cmp edx, 0x10
jb 0x452e05
mov ecx, dword [ebp - 0x848]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x452dfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452ecb
push edx
push ecx
call fcn.004f9e2c
add esp, 8
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0xf
mov byte [ebp - 0x848], 0
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452e3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x452e4f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x864]
cmp edx, 8
jb 0x452e8b
mov ecx, dword [ebp - 0x878]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452e81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452ed0
push edx
push ecx
call fcn.004f9e2c
add esp, 8
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.004fa0d4
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004061e0
push 0x80004005
call fcn.004061e0
push str.list_T__too_long
call fcn.00460730
call fcn.00542930
call fcn.00542930
call fcn.00542930
int3