Function at 0x419d70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2278
call fcn.004ad6f0
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x258]
push ecx
call fcn.00405230
push 0x104
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
jne 0x419dc4
xor eax, eax
jmp 0x41a05e
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x258]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x419de4
xor eax, eax
jmp 0x41a05e
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x2264], eax
mov ecx, dword [ebp - 0x2264]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
lea ecx, [ebp - 0x258]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x419e3f
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x2268], edx
mov eax, dword [ebp - 0x2268]
push eax
call fcn.0048c532
add esp, 4
mov dword [ebp - 0xc], 0
xor eax, eax
jmp 0x41a05e
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x225c]
push edx
push 0x4ef388
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x419e82
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x226c], ecx
mov edx, dword [ebp - 0x226c]
push edx
call fcn.0048c532
add esp, 4
mov dword [ebp - 0xc], 0
xor eax, eax
jmp 0x41a05e
mov dword [ebp - 0x48], 0x4ef3bc
mov dword [ebp - 0x44], 0x4ef3d0
mov dword [ebp - 0x40], 0x4ef3ec
mov dword [ebp - 0x3c], 0x4ef404
mov dword [ebp - 0x38], 0x4ef41c
mov dword [ebp - 0x34], 0x4ef43c
mov dword [ebp - 0x30], 0x4ef45c
mov dword [ebp - 0x2c], 0x4ef47c
mov dword [ebp - 0x28], 0x4ef49c
mov dword [ebp - 0x24], 0x4ef4b8
mov dword [ebp - 0x20], 0x4ef4d0
mov dword [ebp - 0x1c], 0x4ef4f4
mov dword [ebp - 8], 0x4ef510
mov ax, word [0x4ef514]
mov word [ebp - 0x2258], ax
push 0x1ffe
push 0
lea ecx, [ebp - 0x2256]
push ecx
call fcn.004ad2c0
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2260], 0
jmp 0x419f29
mov edx, dword [ebp - 0x2260]
add edx, 1
mov dword [ebp - 0x2260], edx
cmp dword [ebp - 0x2260], 0xc
jae 0x41a03a
mov eax, dword [ebp - 0x2260]
mov ecx, dword [ebp + eax*4 - 0x48]
push ecx
mov edx, dword [ebp - 0x225c]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x225c]
movzx edx, word [ecx]
push edx
push 0x4ef518
push 0x1000
lea eax, [ebp - 0x2258]
push eax
call fcn.00401cd0
add esp, 0x18
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x2258]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0x18], 0
jne 0x419fe7
mov edx, dword [ebp - 8]
push edx
call fcn.004ade29
add esp, 4
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x2270], eax
mov eax, dword [ebp - 0x2260]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2270]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 8]
push eax
push 2
mov ecx, dword [ebp - 0x2260]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.00405230
jmp 0x41a035
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x2274], eax
mov eax, dword [ebp - 0x2260]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2274]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2260]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.00405230
jmp 0x419f1a
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x2278], edx
mov eax, dword [ebp - 0x2278]
push eax
call fcn.0048c532
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, 1
mov ecx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret