Function at 0x445980
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x46037e
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b038]
xor eax, esp
push eax
lea eax, [esp + 0x860]
mov dword fs:[0], eax
mov eax, dword [esp + 0x874]
mov edi, dword [esp + 0x870]
push 0x206
mov ebx, ecx
xor ebp, ebp
lea edx, [esp + 0x146]
xor ecx, ecx
push ebp
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], eax
mov word [esp + 0x14c], cx
call fcn.0044ac90
add esp, 0xc
push ebp
push edi
mov ecx, ebx
mov byte [esp + 0x1e], 0
call fcn.004421d0
test al, al
je 0x445a23
lea edx, [esp + 0x140]
mov eax, edi
sub edx, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x445a12
jmp 0x445a5a
lea eax, [esp + 0x140]
push eax
push ebp
push 0x46cee8
mov ecx, ebx
call fcn.00442cd0
test eax, eax
je 0x445a5a
push ebp
lea ecx, [esp + 0x144]
push ecx
push edi
mov ecx, ebx
mov byte [esp + 0x22], 1
call fcn.004449d0
test eax, eax
je 0x445dd7
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x144]
push edx
mov dword [esp + 0x3c], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebp
jbe 0x445dd0
push esi
call fcn.0044ad7f
mov ebx, eax
add esp, 4
mov dword [esp + 0x3c], ebx
cmp ebx, ebp
je 0x445dcc
push ebx
push esi
push ebp
lea eax, [esp + 0x14c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x445dc3
lea ecx, [esp + 0x40]
push str.VarFileInfoTranslation
push ecx
mov dword [esp + 0x20], ebp
call fcn.0044f0cd
add esp, 8
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push ecx
push ebx
call sub.VERSION.dll_VerQueryValueA
cmp eax, ebp
je 0x445b1d
cmp dword [esp + 0x28], 4
jne 0x445b1d
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ecx, eax
push str.ProductVersion
shr ecx, 0x10
and ecx, 0xff
push ecx
mov edx, eax
movzx ecx, al
shr edx, 0x18
push edx
push ecx
shr eax, 8
and eax, 0xff
push eax
lea edx, [esp + 0x54]
push str.StringFileInfo_02X_02X_02X_02X_s
push edx
call fcn.0044f0cd
add esp, 0x1c
jmp 0x445b34
push str.ProductVersion
lea eax, [esp + 0x44]
push str.StringFileInfo040904E4_s
push eax
call fcn.0044f0cd
add esp, 0xc
lea ecx, [esp + 0x40]
push ecx
push str.fileEntry____s__n
call fcn.0043e2c0
add esp, 8
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push ecx
push ebx
call sub.VERSION.dll_VerQueryValueA
push 0x103
lea edx, [esp + 0x34d]
push ebp
push edx
mov byte [esp + 0x354], 0
call fcn.0044ac90
push 0x206
lea ecx, [esp + 0x45e]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x464], ax
call fcn.0044ac90
mov eax, dword [esp + 0x30]
add esp, 0x18
cmp eax, ebp
je 0x445be0
lea edx, [esp + 0x348]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x445ba7
lea edx, [esp + 0x348]
push edx
push str.szVersion____s__n
call fcn.0043e1d0
add esp, 8
push ebp
lea eax, [esp + 0x34c]
push eax
lea ecx, [esp + 0x454]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00442000
push edi
lea edx, [esp + 0x450]
push edx
push str.GetProductStringVersion____s____s__n
call fcn.0043e2c0
push 0x1c2d0
call fcn.0044ad7f
add esp, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x868], ebp
cmp eax, ebp
je 0x445c1e
mov ecx, eax
call fcn.0043d9e0
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x445c24
mov dword [esp + 0x1c], ebp
mov esi, ebp
push 0x4641c4
lea eax, [esp + 0x450]
push eax
mov ecx, esi
mov dword [esp + 0x870], 0xffffffff
call fcn.0043dc30
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x2c], edi
jle 0x445d8d
push 0x206
lea edx, [esp + 0x65a]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x660], cx
call fcn.0044ac90
add esp, 0xc
cmp edi, ebp
jle 0x445d56
mov al, byte [esi + 0x1c2cc]
mov byte [esp + 0x17], al
mov eax, dword [esi + 0x1c2c8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], esi
lea ebx, [esi + 0x32c8]
jmp 0x445ca4
mov eax, dword [esp + 0x30]
cmp byte [esp + 0x17], 0
je 0x445cb9
xor ecx, ecx
cmp ebp, eax
setge cl
dec ecx
and ecx, ebx
mov eax, ecx
jmp 0x445cc7
xor edx, edx
cmp ebp, eax
setge dl
dec edx
and edx, dword [esp + 0x20]
mov eax, edx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x445cd0
lea edi, [esp + 0x654]
sub eax, edx
add edi, 0xfffffffe
jmp 0x445cf0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x445cf0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x2c]
and ecx, 3
dec eax
rep movsb byte es:[edi], byte [esi]
cmp ebp, eax
je 0x445d33
lea edi, [esp + 0x654]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x445d20
mov eax, dword [0x461aa4]
mov dword [edi], eax
add dword [esp + 0x20], 0x104
inc ebp
add ebx, 0x800
cmp ebp, dword [esp + 0x2c]
jl 0x445ca0
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
xor ebp, ebp
xor eax, eax
jmp 0x445d60
movzx ecx, word [esp + eax + 0x654]
mov word [esp + eax + 0x44c], cx
add eax, 2
cmp cx, bp
jne 0x445d60
lea ecx, [esp + 0x44c]
push ecx
push str.Remove___from_version_string_and_change_it_to_.____s__n
call fcn.0043e2c0
add esp, 8
cmp esi, ebp
je 0x445da1
mov ecx, esi
call fcn.0043d490
push esi
call fcn.0044ad0a
add esp, 4
mov edx, dword [esp + 0x38]
cmp edx, ebp
je 0x445dc3
lea eax, [esp + 0x44c]
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x445db4
push ebx
call fcn.0044ad0a
add esp, 4
mov ebx, dword [esp + 0x24]
cmp byte [esp + 0x16], 0
je 0x445dfa
push ebp
lea edx, [esp + 0x144]
push edx
mov ecx, ebx
call fcn.004421d0
test al, al
je 0x445dfa
lea eax, [esp + 0x140]
push eax
mov ecx, ebx
call fcn.00442ba0
mov ecx, dword [esp + 0x860]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x848]
xor ecx, esp
call fcn.0044ac80
add esp, 0x858
ret 8