Function at 0x42b5b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4523b0
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x46759c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x284], 0
push 0x104
lea eax, [ebp - 0x25c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x42b621
push 0x455b10
mov ecx, dword [ebp + 8]
call fcn.004070b0
mov ecx, dword [ebp - 0x284]
or ecx, 1
mov dword [ebp - 0x284], ecx
mov eax, dword [ebp + 8]
jmp 0x42b83f
mov dword [ebp - 0x54], 0
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x25c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x42b665
push 0x455b11
mov ecx, dword [ebp + 8]
call fcn.004070b0
mov ecx, dword [ebp - 0x284]
or ecx, 1
mov dword [ebp - 0x284], ecx
mov eax, dword [ebp + 8]
jmp 0x42b83f
mov edx, dword [ebp - 0x50]
push edx
call fcn.00430ac7
add esp, 4
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x25c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42b808
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x264], 0
lea edx, [ebp - 0x260]
push edx
lea eax, [ebp - 0x264]
push eax
push 0x455b14
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42b808
cmp dword [ebp - 0x260], 0
je 0x42b808
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x268], edx
mov eax, dword [ebp - 0x268]
cmp dword [eax], 0xfeef04bd
jne 0x42b808
mov ecx, dword [ebp - 0x268]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x268]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x268]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x27c]
push ecx
call fcn.00432442
add esp, 4
mov edx, dword [ebp - 0x270]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.0042a330
add esp, 8
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28c]
push edx
push 0x455b18
mov eax, dword [ebp - 0x274]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0042a330
add esp, 8
mov dword [ebp - 0x290], eax
mov edx, dword [ebp - 0x290]
mov dword [ebp - 0x294], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x294]
call fcn.0040cc40
mov ecx, eax
call fcn.0040cb60
push eax
mov ecx, dword [ebp + 8]
call fcn.00406fb0
mov eax, dword [ebp - 0x284]
or eax, 1
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00407160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00407160
mov eax, dword [ebp + 8]
jmp 0x42b83f
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x280], ecx
mov edx, dword [ebp - 0x280]
push edx
call fcn.00432442
add esp, 4
push 0x455b12
mov ecx, dword [ebp + 8]
call fcn.004070b0
mov eax, dword [ebp - 0x284]
or eax, 1
mov dword [ebp - 0x284], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004320d5
mov esp, ebp
pop ebp
ret