Function at 0x43e890
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x629c96
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jne 0x43e913
push 0x644374
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x268]
or edx, 1
mov dword [ebp - 0x268], edx
mov eax, dword [ebp + 8]
jmp 0x43eb06
xor ecx, ecx
mov eax, dword [ebp - 0x248]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005b2e02
add esp, 4
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x248]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43e9ac
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x260], ecx
mov edx, dword [ebp - 0x260]
push edx
call fcn.005b4622
add esp, 4
push 0x644378
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x268]
or eax, 1
mov dword [ebp - 0x268], eax
mov eax, dword [ebp + 8]
jmp 0x43eb06
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x250]
push edx
push str.VarFileInfoTranslation
mov eax, dword [ebp - 0x258]
push eax
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x254]
push edx
push 0x6443b0
mov eax, dword [ebp - 0x258]
push eax
call sub.VERSION.dll_VerQueryValueW
xor ecx, ecx
mov word [ebp - 0x244], cx
push 0x206
push 0
lea edx, [ebp - 0x242]
push edx
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24c], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x250]
movzx edx, word [ecx + 2]
push edx
mov eax, dword [ebp - 0x250]
movzx ecx, word [eax]
push ecx
push 0x6443b4
lea edx, [ebp - 0x244]
push edx
call fcn.004430b0
add esp, 0x14
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x258]
push eax
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0x24c], 0
jne 0x43eac6
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x264], ecx
mov edx, dword [ebp - 0x264]
push edx
call fcn.005b467e
add esp, 4
push 0x6443ec
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x268]
or eax, 1
mov dword [ebp - 0x268], eax
mov eax, dword [ebp + 8]
jmp 0x43eb06
mov ecx, dword [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040e4b0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e4f0
mov eax, dword [ebp - 0x268]
or eax, 1
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040e530
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret