Function at 0x44caa0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4696ee
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x48807c]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48807c]
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.00453450
add esp, 0xc
push ebp
push edi
mov ecx, ebx
mov byte [esp + 0x1e], 0
call fcn.004496a0
test al, al
je 0x44cb43
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 0x44cb32
jmp 0x44cb7b
lea eax, [esp + 0x140]
push eax
push ebp
push 0x477bc0
mov ecx, ebx
call fcn.0044a1a0
test eax, eax
je 0x44cb7b
push ebp
push ebp
lea ecx, [esp + 0x148]
push ecx
push edi
mov ecx, ebx
mov byte [esp + 0x26], 1
call fcn.0044bf30
test eax, eax
je 0x44cef7
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 0x44cef0
push esi
call fcn.004534f0
mov ebx, eax
add esp, 4
mov dword [esp + 0x3c], ebx
cmp ebx, ebp
je 0x44ceec
push ebx
push esi
push ebp
lea eax, [esp + 0x14c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44cee3
lea ecx, [esp + 0x40]
push str.VarFileInfoTranslation
push ecx
mov dword [esp + 0x20], ebp
call fcn.00457afd
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 0x44cc3e
cmp dword [esp + 0x28], 4
jne 0x44cc3e
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ecx, eax
push str.FileVersion
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.00457afd
add esp, 0x1c
jmp 0x44cc55
push str.FileVersion
lea eax, [esp + 0x44]
push str.StringFileInfo040904E4_s
push eax
call fcn.00457afd
add esp, 0xc
lea ecx, [esp + 0x40]
push ecx
push str.fileEntry____s__n
call fcn.004454c0
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.00453450
push 0x206
lea ecx, [esp + 0x45e]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x464], ax
call fcn.00453450
mov eax, dword [esp + 0x30]
add esp, 0x18
cmp eax, ebp
je 0x44cd01
lea edx, [esp + 0x348]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44ccc8
lea edx, [esp + 0x348]
push edx
push str.szVersion____s__n
call fcn.004453d0
add esp, 8
push ebp
lea eax, [esp + 0x34c]
push eax
lea ecx, [esp + 0x454]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004494d0
push edi
lea edx, [esp + 0x450]
push edx
push str.GetFileStringVersion____s____s__n
call fcn.004454c0
push 0x1c2d0
call fcn.004534f0
add esp, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x868], ebp
cmp eax, ebp
je 0x44cd3f
mov ecx, eax
call fcn.00444be0
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x44cd45
mov dword [esp + 0x1c], ebp
mov esi, ebp
push 0x46dad4
lea eax, [esp + 0x450]
push eax
mov ecx, esi
mov dword [esp + 0x870], 0xffffffff
call fcn.00444e30
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x2c], edi
jle 0x44cead
push 0x206
lea edx, [esp + 0x65a]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x660], cx
call fcn.00453450
add esp, 0xc
cmp edi, ebp
jle 0x44ce76
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 0x44cdc4
mov eax, dword [esp + 0x30]
cmp byte [esp + 0x17], 0
je 0x44cdd9
xor ecx, ecx
cmp ebp, eax
setge cl
dec ecx
and ecx, ebx
mov eax, ecx
jmp 0x44cde7
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 0x44cdf0
lea edi, [esp + 0x654]
sub eax, edx
add edi, 0xfffffffe
jmp 0x44ce10
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x44ce10
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 0x44ce53
lea edi, [esp + 0x654]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44ce40
mov eax, dword [0x46abac]
mov dword [edi], eax
add dword [esp + 0x20], 0x104
inc ebp
add ebx, 0x800
cmp ebp, dword [esp + 0x2c]
jl 0x44cdc0
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
xor ebp, ebp
xor eax, eax
jmp 0x44ce80
movzx ecx, word [esp + eax + 0x654]
mov word [esp + eax + 0x44c], cx
add eax, 2
cmp cx, bp
jne 0x44ce80
lea ecx, [esp + 0x44c]
push ecx
push str.Remove___from_version_string_and_change_it_to_.____s__n
call fcn.004454c0
add esp, 8
cmp esi, ebp
je 0x44cec1
mov ecx, esi
call fcn.0043df40
push esi
call fcn.004534ca
add esp, 4
mov edx, dword [esp + 0x38]
cmp edx, ebp
je 0x44cee3
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 0x44ced4
push ebx
call fcn.004534ca
add esp, 4
mov ebx, dword [esp + 0x24]
cmp byte [esp + 0x16], 0
je 0x44cf1a
push ebp
lea edx, [esp + 0x144]
push edx
mov ecx, ebx
call fcn.004496a0
test al, al
je 0x44cf1a
lea eax, [esp + 0x140]
push eax
mov ecx, ebx
call fcn.0044a070
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.00453432
add esp, 0x858
ret 8